Skip to content

Attach a contact to a conversation

Request

You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.

Contacts without an email

If you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with role set to lead.

Security
bearerAuth
Path
conversation_idstringrequired

The identifier for the conversation as given by Intercom.

Example:123
Headers
Intercom-Versionstring(intercom_version)

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

Default:"2.16"
Enum:"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:2.16
Bodyapplication/json
admin_idstring

The id of the admin who is adding the new participant.

Example:"12345"
customerIntercom User ID (object) or User ID (object) or Email (object)
One of:
curl -i -X POST \
  https://api.intercom.io/conversations/123/customers \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Intercom-Version: 2.16' \
  -d '{
    "admin_id": 991267731,
    "customer": {
      "intercom_user_id": "6762f19b1bb69f9f2193bbd4"
    }
  }'

Responses

Attach a contact to a conversation

Bodyapplication/json
customersArray of objectsrequired

The conversation participants after the change

Example:
[ { "type": "user", "id": "6762f1a61bb69f9f2193bbd8" } ]
Response
{ "customers": [ {} ] }