provider Contacts POST /contacts/{contact_id}/block
@utdk/intercom /contacts/{contact_id}/block
Block contact
Block a single contact.<br>**Note:** conversations of the contact will also be archived during the process.<br>More details in [FAQ How do I block Inbox spam?](https://www.intercom.com/help/en/articles/8838656-inbox-faqs)
Intercom-Version header
enum: 1.0, 1.1, 1.2, 1.3…
contact_id path required
contact_id
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.

blockcontact
POST/contacts/{contact_id}/block
Block a single contact.<br>**Note:** conversations of the contact will also be archived during the process.<br>More details in [FAQ How do I block Inbox spam?](https://www.intercom.com/help/en/articles/8838656-inbox-faqs)

Parameters

required

contact_id

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import intercom from '@utdk/intercom';

await intercom.blockcontact({
  "Intercom-Version": "2.14"
})