Set native contact do-not-call
Stops this contact being dialled, or starts it again.
Send doNotCall: false to clear it. reason is kept with the decision and is worth sending: it is what tells the next person why, and an opt-out the contact made on a call keeps its own words rather than taking yours.
The switch lives on the contact and nowhere else, so it holds whether the number is dialled by a campaign, a cadence step or a test.
Cookie-auth callers must send the x-csrf-token header.
Required API key scope: contacts:write.
Authorizations
Send your API key as Authorization: Bearer YOUR_API_KEY.
Path Parameters
The contact id.
1Query Parameters
The sub-account. It is the only thing that identifies the tenant on these routes, and it is re-checked against your access on every call. A sub-account that keeps its contacts in a CRM answers 400.
Body
The new state, and why.
Response
The contact, carrying its do-not-call state.
