Attach a conversation
Example Request & Response
$ curl https://api.intercom.io/conversations/<id>/tags \\\n-X POST \\\n-H 'Authorization:Bearer <Your access token>' \\\n-H 'Content-Type: application/json' \\\n-H 'Accept:application/json' -d\n\n{\n \"id\": \"2084335\",\n \"admin_id\": \"123\"\n}\n
Example Errors
HTTP/1.1 404 NOT FOUND\n{\n \"type\": \"error.list\",\n \"request_id\": \"9a3d0816-9707-4598-977e-c009ba630148\",\n \"errors\": [\n {\n \"code\": \"not_found\",\n \"message\": \"Conversation Not Found\"\n }\n ]\n}
You can tag a single conversation.
Request Path Parameter
Parameter | Type | Required | Description |
---|---|---|---|
id | String | Yes | The unique identifier for the conversation which is given by Intercom |
Request Body Parameter
Parameter | Type | Required | Description |
---|---|---|---|
id | String | Yes | The unique identifier for the tag which is given by Intercom |
admin_id | String | Yes | The unique identifier for the admin who is applying the tag. |
Response
This will return a Tag model for the tag that was added to the conversation.