The intercom API reference.
The intercom API reference.
curl -i -X POST \
https://api.intercom.io/contacts/63a07ddf05a32042dffac965/archive \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: 2.10'
{ "id": "6657ac686abd0166b52ae249", "external_id": "70", "type": "contact", "archived": true }
curl -i -X POST \
https://api.intercom.io/contacts/63a07ddf05a32042dffac965/unarchive \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: 2.10'
{ "id": "6657ac696abd0166b52ae24a", "external_id": "70", "type": "contact", "archived": false }