v1

latestOpenAPI 3.1.02026-07-2414238909.1 KB

Get blacklisted contacts for service

Returns all the contacts which are blacklisted for the given service.

get/contacts/my/blacklist/{service}

Path parameters

servicestring required

The service (Sms, Voice, Viber, TwoStep) to get the blacklisted contacts for.

Headers

Authorizationstring required

Bearer {access-token}

Response

200

idstring
firstNamestring
lastNamestring
mobilestring
countrystring
vipboolean
groupsstring[]
blacklistedServicesstring[]
labelsobject[]

Example response

[
  {
    "id": "5674121de4b03d651b5b6414",
    "firstName": "Nick4",
    "lastName": "Davis4",
    "mobile": "+306984512555",
    "country": "GR",
    "groups": [
      "All"
    ],
    "blacklistedServices": [
      "Sms"
    ]
  }
]