Get DNC by phone

Retrieve a Do Not Call (DNC) entry by phone number.

When to use. Check whether a specific number is on your DNC list when you do not have its ID. To look up by ID instead, use GET /dnc/{id}.

Parameters. phone (path): the phone number to look up. country_iso (path): the two-letter country code (ISO 3166-1 alpha-2, for example US) used to normalize the number before matching.

Returns. { "dnc": [ <entry> ] }. Returns an error if no matching entry is found.

Example. GET /api/dnc/phone/12125551234/US

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Phone number.

string
required

Country ISO2 code, used to normalize the phone number.

Responses

Language
Credentials
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json