Create a contact request attachment
Create a new attachment for a contact request. Send the file either as a base64 data URI in file or as the URL returned by POST /api/core/private/v1alpha/files/ with private=true in fileUrl; one of the two is required and file wins when both are sent. A public staging URL is refused. The staged file must be one of the supported attachment types and at most 25 MB. originalFilename is the name shown to users.
Authentication
AuthorizationToken
Your API key, sent as Authorization: Token <your API key>
Path parameters
contactId
ID of the contact request
Request
This endpoint expects an object.
originalFilename
file
fileUrl
Response
Successful operation
id
contactRequestId
file
originalFilename
uploadedByUserId
uploadedByRole
canDelete
created
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error