Block a single contact.
Note: conversations of the contact will also be archived during the process.
More details in FAQ How do I block Inbox spam?
Requires the read_write_users OAuth scope.
Security
bearerAuth
Intercom-Versionstring(intercom_version)
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.
Enum:"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:2.17
- The production API serverhttps://api.intercom.io/contacts/{contact_id}/block
- The european API serverhttps://api.eu.intercom.io/contacts/{contact_id}/block
- The australian API serverhttps://api.au.intercom.io/contacts/{contact_id}/block
curl -i -X POST \
https://api.intercom.io/contacts/63a07ddf05a32042dffac965/block \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: 2.17'successful
blocked contact object
The unique identifier for the contact which is given by Intercom.
Example:"5ba682d23d7cf92bef87bfd4"
The unique identifier for the contact which is provided by the Client.
Example:"70"
Response
{ "blocked": true, "type": "contact", "id": "5ba682d23d7cf92bef87bfd4", "external_id": "70" }