Skip to main content

Upload a file for a conversation

POST 

/inbox/conversations/:id/media

Send the file bytes as the body (not multipart), with the name in X-File-Name. The type is detected from the content: image (JPEG, PNG), sticker (WebP), video (MP4, 3GP), audio, PDF, Office documents and text. Limits: image 5 MB, video and audio 16 MB, document 100 MB, sticker 500 KB. Use the returned id as assetId in a kind: media reply.

Request

Responses

Message recorded.