Attachments

Upload attachments to a conversation draft

Upload attachments to a conversation draft.

post/attachments/conversation/{conversationId}/attachment

Request

  • Base URL
    https://api.thrivedesk.com/v1
  • Auth
    HTTP bearer

Path parameters

conversationIdstring required

Conversation identifier. Named in camelCase, unlike the snake_case path parameters elsewhere.

Request body multipart/form-data

attachments[]string[] required

One or more files.

draft_idstring

Draft message to attach to. Pass the literal string "null" to create a draft on the fly.

is_inlineboolean

Mark the files as inline images.

Response

Success.

messagestring required
draft_idstring required

The draft the files were attached to (created on the fly when draft_id is "null").

Example response

{
  "message": "Attachment uploaded"
}

Changes

No recorded changes to this operation across all 1 revision of this API.