Reply to a conversation

You can reply to a conversation 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

The Intercom provisioned identifier for the conversation or the string "last" to reply to the last part of the conversation

Example: 123 or "last"
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:
One of:

Payload of the request to reply on behalf of a contact using their intercom_user_id

intercom_user_id
required
string

The identifier for the contact as given by Intercom.

Array of objects (Conversation attachment files)

A list of files that will be added as attachments.

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

The text body of the comment.

attachment_urls
Array of strings <uri> (Attachment URLs) <= 10 items

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

post
/conversations/{id}/reply
Request samples
application/json
{ "message_type": "comment", "type": "user", "intercom_user_id": "660e730f6abd01bd27af61a3", "body": "Thanks again :)" }
Responses

200

User last conversation reply

Response Schema: application/json
type
string

Always conversation.

id
string

The id representing the conversation.

title
string or null

The title given to the conversation.

created_at
integer <date-time>

The time the conversation was created.

updated_at
integer <date-time>

The last time the conversation was updated.

waiting_since
integer or null <date-time>

The last time a Contact responded to an Admin. In other words, the time a customer started waiting for a response. Set to null if last reply is from an Admin.

snoozed_until
integer or null <date-time>

If set this is the time in the future when this conversation will be marked as open. i.e. it will be in a snoozed state until this time. i.e. it will be in a snoozed state until this time.

open
boolean

Indicates whether a conversation is open (true) or closed (false).

state
string

Can be set to "open", "closed" or "snoozed".

Enum: "open" "closed" "snoozed"
read
boolean

Indicates whether a conversation has been read.

priority
string

If marked as priority, it will return priority or else not_priority.

Enum: "priority" "not_priority"
admin_assignee_id
integer or null

The id of the admin assigned to the conversation. If it's not assigned to an admin it will return null.

team_assignee_id
string or null

The id of the team assigned to the conversation. If it's not assigned to a team it will return null.

object (Tags)

A list of tags objects associated with a conversation

object or null (Conversation Rating)

The Conversation Rating object which contains information on the rating and/or remark added by a Contact and the Admin assigned to the conversation.

object (Conversation source)

The Conversation Part that originated this conversation, which can be Contact, Admin, Campaign, Automated or Operator initiated.

object (Contacts)

The list of contacts (users or leads) involved in this conversation. This will only contain one customer unless more were added via the group conversation feature.

object or null (Conversation teammates)

The list of teammates who participated in the conversation (wrote at least one conversation part).

object (Custom Attributes)

An object containing the different custom attributes associated to the conversation as key-value pairs. For relationship attributes the value will be a list of custom object instance models.

object or null (First contact reply)

An object containing information on the first users message. For a contact initiated message this will represent the users original message.

object or null (Applied SLA)

The SLA Applied object contains the details for which SLA has been applied to this conversation. Important: if there are any canceled sla_events for the conversation - meaning an SLA has been manually removed from a conversation, the sla_status will always be returned as null.

object or null (Conversation statistics)

A Statistics object containing all information required for reporting, with timestamps and calculated metrics.

object (Conversation Parts)

A list of Conversation Part objects for each part message in the conversation. This is only returned when Retrieving a Conversation, and ignored when Listing all Conversations. There is a limit of 500 parts.

object (Linked Objects)

An object containing metadata about linked conversations and linked tickets. Up to 1000 can be returned.

401

Unauthorized

403

API plan restricted

404

Not found

Response samples
application/json
{ "type": "conversation", "id": "4803", "created_at": 1712222991, "updated_at": 1712222992, "waiting_since": 1712222992, "snoozed_until": null, "source": { "type": "conversation", "id": "403920855", "delivered_as": "admin_initiated", "subject": "", "body": "<p>this is the message body</p>", "attachments": [ ], "url": null, "redacted": false }, "contacts": { "type": "contact.list", }, "first_contact_reply": { "created_at": 1712222992, "type": "conversation", "url": null }, "admin_assignee_id": null, "team_assignee_id": null, "open": true, "state": "open", "read": false, "tags": { "type": "tag.list", "tags": [ ] }, "priority": "not_priority", "sla_applied": null, "statistics": null, "conversation_rating": null, "teammates": null, "title": null, "custom_attributes": { }, "topics": { }, "ticket": null, "linked_objects": { "type": "list", "data": [ ], "total_count": 0, "has_more": false }, "conversation_parts": { "type": "conversation_part.list", "total_count": 1 } }