/2019-01-01/message/{id}/document

Adds an attachment to a message. Returns an S3 Upload URL that will be valid for 5 minutes. This link can be used to upload the content of the file. If a base64 body is provided this link will already contain the content of the file.

Required API Permissions: MESSAGE_READ, MESSAGE_WRITE

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required
Body Params
data
object
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/vnd.api+json