Skip to main content
POST
Upload an attachment

Authorizations

X-API-Key
string
header
default:YOUR_API_KEY
required

Body

multipart/form-data
file
file
required

Max 10 MB.

Response

200 - application/json

Uploaded; data.file contains key, fileName, contentType, sizeBytes and publicUrl. Send attachments using the multipart with-attachments endpoint.

success
boolean
required
Example:

true

message
string
required
Example:

"Done"

data
any
required

Payload; shape depends on the endpoint.