cURL
curl --request POST \ --url https://api.attent.app/v1/dnc/register \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "phone": "+15555555555" }'
{ "message": "Phone number successfully added to DNC list" }
Adds a phone number to the Do Not Contact (DNC) list to prevent it from being imported.
Phone number to add to DNC list
The body is of type object.
object
Phone number successfully added to DNC list
The response is of type object.