Skip to main content
POST
/
phone-suppressions
Add a do-not-call entry
curl --request POST \
  --url https://api.crevio.co/v1/phone-suppressions \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "e164": "<string>",
  "note": "<string>"
}
'
{
  "id": "<string>",
  "object": "<string>",
  "e164": "<string>",
  "note": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Body

application/json
e164
string
reason
enum<string>
Available options:
opt_out,
dnc_registry,
complaint,
manual,
bounce
note
string | null

Response

Number suppressed

id
string
required
object
string
required
e164
string
required
reason
enum<string>
required
Available options:
opt_out,
dnc_registry,
complaint,
manual,
bounce
note
string | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required