DNC a Phone Number
Marks a phone number as DNC for the authenticated user’s DNC group. If neither call_dnc nor sms_dnc is provided, both default to true (DNC both channels). If either flag is provided, the other must also be provided, and at least one of the two must be true. This endpoint only adds DNC: passing false for a channel does not un-DNC an existing record. The DNC status applies to all companies in the group.
Authorizations
Token-based authentication with required prefix "Token"
Body
The phone number to mark as DNC for the authenticated user's DNC group.
1If true, mark the phone number as DNC for outbound calls. Required when sms_dnc is provided. If neither flag is provided, both default to true.
If true, mark the phone number as DNC for outbound SMS. Required when call_dnc is provided. If neither flag is provided, both default to true.