Reply to a ticket

You can reply to a ticket with a message from an admin or on behalf of a contact, or with a note for admins.

SecurityHTTP: bearerAuth
Request
path Parameters
id
required
string (Ticket ID)

The id of the ticket to target.

Example: 123
header Parameters
Intercom-Version
string (intercom_version)
Default: 2.10

Intercom API version.
By default, it's equal to the version set in the app package.

Enum: "1.0" "1.1" "1.2" "1.3" "1.4" "2.0" "2.1" "2.2" "2.3" "2.4" "2.5" "2.6" "2.7" "2.8" "2.9" "2.10" "Unstable"
Example: 2.10
Request Body schema: application/json
One of:

You can create a reply on a ticket.

One of:

You can create a reply on a ticket.

message_type
required
string
Value: "comment"
type
required
string
Value: "user"
body
required
string

The text body of the comment.

intercom_user_id
required
string

The identifier for the contact as given by Intercom.

attachment_urls
Array of strings <uri> <= 5 items

A list of image URLs that will be added as attachments. You can include up to 5 URLs.

post
/tickets/{id}/reply
Request samples
application/json
{ "message_type": "comment", "type": "user", "intercom_user_id": "650cbda66d0a728750658c4e", "body": "Thanks again :)" }
Responses

200

Admin quick_reply reply

Response Schema: application/json
type
string

Always ticket_part

Value: "ticket_part"
id
string

The id representing the part.

part_type
string

Type of the part

Enum: "note" "comment" "quick_reply"
body
string or null

The message body, which may contain HTML.

created_at
integer <date-time>

The time the note was created.

updated_at
integer <date-time>

The last time the note was updated.

object (Ticket part author)

The author that wrote or triggered the part. Can be a bot, admin, team or user.

Array of objects (Ticket part attachments)

A list of attachments for the part.

redacted
boolean

Whether or not the ticket part has been redacted.

401

Unauthorized

404

Not found

Response samples
application/json
{ "type": "ticket_part", "id": "727517", "part_type": "comment", "body": "<p>Thanks again :)</p>", "created_at": 1695333799, "updated_at": 1695333799, "attachments": [ ], "redacted": false }