Upload a file attachment
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
The file to upload (max 50MB)
Response
Presigned URL to access the uploaded file (valid for 7 days)
Bearer authentication of the form Bearer <token>, where token is your auth token.
The file to upload (max 50MB)
Presigned URL to access the uploaded file (valid for 7 days)
Upload a file attachment to a conversation. The file will be stored and a presigned URL will be generated that is valid for 7 days. The maximum file size is 50MB.
The presigned URL can be used to create a file message by calling the
/v2/conversations/{conversation_id}/messages/ endpoint with content.type set to file.
Note: Attachments can only be uploaded when the conversation is in a handoff state.
Allowed file types: TXT, LOG, CSV, EML, PNG, SVG, JPEG, JPG, GIF, HEIF, HEIC, AVIF, WAV, M4A, MP3, MP4, M4V, MOV, MPEG, MPG, ZIP, PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, Keynote, Pages, Numbers