v1

latestOpenAPI 3.1.02026-07-2414238909.1 KB

Add contacts to blacklist

Insert existing contacts to a service’s blacklist.

post/contacts/my/blacklist/{service}

Path parameters

servicestring required

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

Headers

Content-Typestring required

application/json

Authorizationstring required

Bearer {access-token}

Request body

contactsstring[] required

The contacts' ids.

Response

200

updatedinteger

Example response

{
  "updated": 1
}