Joinotify

Upload a file for a conversation

POSThttps://api.joinotify.com/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.

Path Params

1 required

stringrequired

Headers

1 optional

stringoptional

File name, URI-encoded.

Body Paramsapplication/octet-stream

1 required

filerequired

Responses