Send a message with attachment.

Send a message with an attachment. A message can only be sent on behalf of a user if they have the necessary permissions to send
messages in: conversations assigned to them, conversations assigned to others, and unassigned conversations.

Required scope: write_messages.

See our Help Center for a list of supported attachment file types. Please be aware that attachments sent via the API are limited to 30 MB in size and the rate limit is 10 rpm.

Body Params

Create message with attachment body params

multipart request body

file | null

The attachment content.

data
object
required
Responses

Callback
Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json