Skip to main content
POST
DNC a Phone Number

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Body

phone_number
string
required

The phone number to mark as DNC for the authenticated user's DNC group.

Minimum string length: 1
call_dnc
boolean | null

If 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.

sms_dnc
boolean | null

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.

Response

phone_number
string
required
dnc_group_id
integer
required
call_dnc
boolean
required
sms_dnc
boolean
required
created
boolean
required