- Attach a contact to a conversation
You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.
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.
If the conversation is a ticket, the access token must include the write_tickets scope. Without it, the request returns a 401 with the error code token_unauthorized.
Intercom API version.
If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.
The id of the admin who is adding the new participant. Send this to act as an admin.
The identifier, as given by Intercom, of the contact who is adding the new participant. Send this, user_id or email to act as a contact.
The external_id you have defined for the contact who is adding the new participant.
The email of the contact who is adding the new participant.
The contact to add as a participant. Identify them with exactly one of intercom_user_id, user_id or email.
- The production API serverhttps://api.intercom.io/conversations/{id}/customers
- The european API serverhttps://api.eu.intercom.io/conversations/{id}/customers
- The australian API serverhttps://api.au.intercom.io/conversations/{id}/customers
- Intercom User ID
- User ID
- Attach a contact to a conversation
- Not found
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: Preview' \
-d '{
"admin_id": 991267731,
"customer": {
"intercom_user_id": "6762f19b1bb69f9f2193bbd4"
}
}'{ "customers": [ { … } ] }