Skip to main content
Marks a contact never to be contacted — until a time, or for good — or lifts it. While it stands, nothing is sent to them on any channel: messages to them fail with not_permitted, and so do replies and calls.
Needs the contacts:write scope.

Path parameters

Body

Request

Response

200 OK — the contact, with its consent as it now stands.

Errors

Every refusal is {"error": {"code", "message", "field"}}; field is there when one input is at fault. Any request can also be refused for its key, its account or its rate (key_required, invalid_key, account_suspended, plan_excludes_api, address_not_allowed, rate_limited); see the overview.