provider Conversations POST
/conversations/{conversation_id}/customers @utdk/intercom
/conversations/{conversation_id}/customers 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.
{% admonition type="warning" name="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`.
{% /admonition %}
- Intercom-Version header
- enum: 1.0, 1.1, 1.2, 1.3…
- conversation_id path required
- The identifier for the conversation as given by Intercom.
- string
Try it
Authentication
Configure credentials for Intercom API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import intercom from '@utdk/intercom';
await intercom.attachcontacttoconversation({
"Intercom-Version": "2.14"
})