platform
signals
cpaasx-support
trusted-phone-numbers-2

Add trusted phone numbers

Add phone numbers to the trusted list of a blocking configuration, identified by the configId path parameter. Numbers that are already trusted are left unchanged.

<br>

Learn more about Signals product.

post/signals/2/configs/blocking/{configId}/trusted-numbers

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic
    • or OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token

Path parameters

configIdstring required

ID of the blocking configuration to which the trusted phone numbers belong.

Request body

phoneNumbersstring[] required

Phone numbers to add to the trusted phone numbers list. They should be in international format without leading plus sign.

Example request

{
  "phoneNumbers": [
    "385991234567",
    "385991234568"
  ]
}

Response

Created

phoneNumbersstring[] required

Phone numbers from the request, in international format without the leading plus sign.

Example response

{
  "phoneNumbers": [
    "385991234567",
    "385991234568"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.