v1

latestOpenAPI 3.1.02026-07-2414238909.1 KB

Rent a Number

Rent VLN or TOLL FREE Numbers for your applications. Each Number will have a delivery rate of 1 SMS/sec.

post/numbers/my

Headers

Authorizationstring required

Bearer {access_token}

Content-Typestring required

application/json

Request body

msisdnstring required

The phone number. Format with a '+' and country code e.g., +3069485xxxxx (E.164 format).

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
nextRenewalstring
chargeIntervalinteger
tollFreeboolean

Example response

{
  "trackingId": "faf5ff4c-1110-4589-8991-1827cf74a2d6",
  "msisdn": "+306911111111",
  "country": "GR",
  "services": [
    "Sms"
  ],
  "inboundCosts": [
    {
      "price": 0.01,
      "currency": "EUR",
      "service": "Sms"
    }
  ],
  "monthlyCosts": {
    "price": 0.05,
    "currency": "EUR"
  },
  "activationCosts": {
    "price": 0.05,
    "currency": "EUR"
  },
  "inboundSmsCallbackUrl": "http://example.org",
  "nextRenewal": "2018-11-21T12:44:15.795Z",
  "chargeInterval": 1
}