v1

latestOpenAPI 3.1.02026-07-2414238909.1 KB

Update a Number

put/numbers/my/{msisdn}

Path parameters

msisdnstring required

The phone number in E.164 format, without the '+' sign before the country code e.g., 447403940655.

Headers

Authorizationstring required

Bearer {access_token}

Content-Typestring required

application/json

Request body

inboundSmsCallbackUrlstring

Defines the callback URL that will receive the inbound messages.

inboundVoiceCallbackUrlstring

Defines the callback URL that will receive the inbound Voice messages.

Response

200

trackingIdstring
msisdnstring
countrystring
servicesstring[]
inboundSmsCallbackUrlstring
inboundVoiceCallbackUrlstring
nextRenewalstring

Example response

{
  "trackingId": "62d4a3cc-6f32-4ba2-b99a-b661fb27fdd5",
  "msisdn": "+306911111111",
  "country": "GR",
  "services": [
    "Sms"
  ],
  "inboundCosts": [
    {
      "price": 0.015,
      "currency": "EUR",
      "service": "Sms"
    }
  ],
  "monthlyCosts": [
    {
      "price": 0.02,
      "currency": "EUR"
    }
  ],
  "activationCosts": [
    {
      "price": 0.005,
      "currency": "EUR"
    }
  ],
  "inboundSmsCallbackUrl": "http://example.org",
  "voiceInboundStrategy": {
    "dialplanUrl": "http://example-dialPlan.org"
  },
  "inboundVoiceCallbackUrl": "http://example-voice.com",
  "nextRenewal": "2018-04-26T13:34:41.168Z"
}