cURL
curl --request GET \ --url https://api.attent.app/v1/dnc/{phone_number} \ --header 'x-api-key: <api-key>'
{ "phone": "+15555555555", "createdAt": "2024-05-17T21:09:13Z" }
Checks if a phone number is in the DNC list
The phone number to check The phone number must begin with an area code (+) and can contain digits, spaces, parentheses, and hyphens (e.g. +1 (555) 555-5555)
Phone number found in DNC list
The phone number in the DNC list
The date and time when the phone number was added to the DNC list