Add contacts to blacklist

Insert existing contacts to a service’s blacklist.

RESPONSE PARAMETERS

KEYDESCRIPTION
updatedThe number of contacts for which the specified service was blacklisted.

ERROR CODES

STATUSCODEDESCRIPTION
404404001001Account not found
404404002001Contact not found
Path Params
string
required

The service (Sms, Voice, Viber, TwoStep, Lookup, NumberValidator) for which the contact will be added in blacklist.

Body Params
contacts
array of strings
required

The contacts' ids.

contacts*
Headers
string
required
Defaults to application/json

application/json

string
required
Defaults to Bearer {access-token}

Bearer {access-token}

Responses

Language
Request
Response
Choose an example:
application/json