conversations

Create attachment

Create a direct-upload target for a message attachment.

Use this endpoint before uploading an image attachment for a message.

Behavior:

  • Validates conversation membership and message ownership.
  • Returns upload metadata for the attachment image.
post/conversations/{id}/messages/{messageId}/attachments

Path parameters

idstring required

Conversation ID

Conversation ID

messageIdstring required

Message ID

Message ID

Response

Upload URL

idstring required

Image identifier

uploadURLstring uri required

URL to upload the image

Changes

No recorded changes to this endpoint across all 49 revisions of this API.