Skip to main content
POST
/
v2
/
Account
/
Blacklist
Add Phone Numbers To Blacklist
curl --request POST \
  --url https://api.nlpearl.ai/v2/Account/Blacklist \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phoneNumbers": [
    "<string>"
  ]
}
'
true

Documentation Index

Fetch the complete documentation index at: https://developers.nlpearl.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Specify the authorization token.

For more information, check out the Authorization Guide.

Body

Request to add or remove phone numbers or prefixes from the blacklist.

PhoneNumbers:

  • Can contain full phone numbers (e.g. +1234567890).
  • Can also contain prefixes to block a range of numbers (e.g. +41 for Switzerland or +41837 for a specific range).
  • Maximum length per entry: 25 characters.
  • Duplicates in the list are not allowed.
phoneNumbers
string[] | null

Response

The result of the add operation.

The response is of type boolean.