Order Phone Number

Create a TN Order

POST https://api.opentact.org/rest/order

This API allows you to place a TN order

Query Parameters

NameTypeDescription

TN*

number

Need to add the TN number

FEATURES*

string

This field is to define the features you want to activate for this TN. Opentact supports the following feature values now:

[ "voice", "sms" ]

autorenew*

boolean

If "true", then Opentact will auto renew this TN every month. Otherwise, Opentact will release the TN when the TN expires after a month.

Headers

NameTypeDescription

Authorization*

JWT_Token

Content-Type

string

application/json

{
  "success": false,
  "message": "string",
  "status": 500,
  "meta": "string",
  "fields": {
    "params.to": {
      "message": "invalid integer number",
      "value": "qwerty123456789"
    }
  }
}

Last updated