provider ConversationsCustom Object Instances PUT
/conversations/{conversation_id} @utdk/intercom
/conversations/{conversation_id} Update a conversation
You can update an existing conversation.
{% admonition type="info" name="Replying and other actions" %}
If you want to reply to a coveration or take an action such as assign, unassign, open, close or snooze, take a look at the reply and manage endpoints.
{% /admonition %}
{% admonition type="info" %}
This endpoint handles both **conversation updates** and **custom object associations**.
See _`update a conversation with an association to a custom object instance`_ in the request/response examples to see the custom object association format.
{% /admonition %}
{% admonition type="danger" name="Breaking change: duplicate custom attribute names" %}
The `PUT /conversations/{id}` endpoint now returns a `400 INVALID_PARAMETER` error when the request includes `custom_attributes` and your workspace contains multiple non-archived conversation custom attributes with the same name. Previously, the update would silently apply to a non-deterministic attribute. To resolve, rename or archive the duplicate attribute in your workspace settings, then retry the request.
{% /admonition %}
- Intercom-Version header
- enum: 1.0, 1.1, 1.2, 1.3…
- conversation_id path required
- The id of the conversation to target
- integer
- display_as query
- Set to plaintext to retrieve conversation messages in plain text.
- 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.updateconversation({
"Intercom-Version": "2.14"
})