POST
/
dnc
/
register
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"
}

Authorizations

x-api-key
string
header
required

Body

application/json

Phone number to add to DNC list

The body is of type object.

Response

200
application/json

Phone number successfully added to DNC list

The response is of type object.