Messages

get

Returns all messages on an issue (customer-facing replies and internal notes). Messages are grouped by thread; use GET /issues/{id}/threads for the list of threads

Rate limit: 20 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID of the issue to fetch messages for.

Responses
chevron-right
200Success
application/json
get
/issues/{id}/messages
get

Returns all threads on an issue (customer-facing e.g. email/Slack, and internal threads for notes). Each thread groups messages; use GET /issues/{id}/messages to list messages (each has a thread_id)

Rate limit: 20 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID of the issue to fetch threads for.

Responses
chevron-right
200Success
application/json
get
/issues/{id}/threads
post

Creates a thread (container) on an issue. Add notes with POST /issues/{id}/note using the returned id (not thread_id)

Rate limit: 20 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID of the issue to create a thread for.

Body
namestringOptional

The name of the thread.

Responses
chevron-right
200Success
application/json
post
/issues/{id}/threads
post

Creates a customer-facing reply on an issue (visible to the requester)

Rate limit: 10 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID of the issue.

Body
attachment_urlsstring[]Optional

An array of attachment URLs to attach to this issue.

body_htmlstringRequired

The body of the message in HTML.

contact_idstringOptional

Optional contact ID to post the message as. Only one of user_id or contact_id can be provided.

message_idstringRequired

The ID of the message to reply to.

user_idstringOptional

Optional user ID to post the message as. Only one of user_id or contact_id can be provided.

Responses
chevron-right
200Success
application/json
post
/issues/{id}/reply
post

Creates an internal note (message) in a thread. Provide the id field from GET /issues/{id}/threads (as thread_id param) or message_id to reply to an existing note. Not visible to the requester

Rate limit: 10 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID of the issue.

Body
attachment_urlsstring[]Optional

An array of attachment URLs to attach to this issue.

body_htmlstringRequired

The body of the message in HTML.

message_idstringOptional

The ID of the message to reply to. This message must be an internal note. You can find this from the GET /issues/{id}/messages endpoint. Either this or thread_id must be provided.

thread_idstringOptional

The ID of the thread to post the note to. Use the id field (not thread_id) from GET /issues/{id}/threads. Either this or message_id must be provided.

user_idstringOptional

Optional user ID to post the message as. If not provided, the API token user will be used.

Responses
chevron-right
200Success
application/json
post
/issues/{id}/note
post

Permanently redacts (hides) a message's content

Rate limit: 20 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID of the issue that the message belongs to.

message_idstringRequired

The ID of the message to redact.

Responses
chevron-right
200Success
application/json
post
/issues/{id}/messages/{message_id}/redact
delete

Permanently deletes a message from an issue and its external system (Slack, Discord, Teams, Telegram). Email and chat widget messages cannot be deleted

Rate limit: 10 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID of the issue that the message belongs to.

message_idstringRequired

The ID of the message to delete.

Responses
chevron-right
200Success
application/json
delete
/issues/{id}/messages/{message_id}

Last updated

Was this helpful?