v1

latestSwagger 2.02026-07-176738149.3 KB
attachments
messages

(for draft only) upload a file to server and add attachment reference to the draft.

post/v2/messages/{message_id}/attachments

Path parameters

message_idstring required

Response

File uploaded sucessfully. Backend sends back attachment's temp_id.

temp_idstring

attachment's temporary id. temp_id exists as long as message has 'draft' status.