Upload attachments to a conversation draft.
Upload attachments to a conversation draft.
bearerToken Personal access tokens created from the ThriveDesk UI. Create one under Integrations -> API Keys.
In: header
Conversation identifier. Named in camelCase, unlike the snake_case path parameters elsewhere.
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/attachments/conversation/string/attachment" \ -F attachments[]="[ \"string\" ]"{ "message": "string", "draft_id": "string", "data": [ { "attachment_id": "string", "name": "string", "size": 0, "type": "string", "inline": true } ]}Download an attachment (binary stream) GET
Download an attachment (binary stream).
List business-hours profiles GET
List business-hours profiles. Personal access token only. The API supports a second, partner-issued token class that is not part of the public surface. This endpoint does not accept that class.
One or more files.
Draft message to attach to. Pass the literal string "null" to create a draft on the fly.
Mark the files as inline images.