Get all Purchased Numbers

Search TNLeases

POST https://api.opentact.org/rest/lease/tn/search?take=10&skip=0

This api allows you to search all the purchased numbers.

Query Parameters

NameTypeDescription

Take*

number

This field should provide a minimum of 1 and a maximum of 100.

Order*

string

The Order should have TN for sorting DID number as ASC or DESC order

TN*

String

In This field, TN should provide either ASC or DESC

Skip*

number

Skip default value should be 0.

Headers

NameTypeDescription

Authorization*

String

JWT_Token

Content-Type

String

application/json

{
  "success": true,
  "payload": {
    "take": 1,
    "skip": 0,
    "total": 1000,
    "data": [
      {
        "uuid": "c5cc6326-0023-43d8-81a5-e7b7e019919d",
        "created_on": "2022-07-28T11:49:29.581Z",
        "modified_on": "2022-07-28T11:49:29.581Z",
        "expired_on": "2022-07-28T11:49:29.581Z",
        "autorenew": true,
        "tn": {
          "tn": 12017771234,
          "created_on": "2022-07-28T11:49:29.581Z",
          "modified_on": "2022-07-28T11:49:29.581Z",
          "deleted_on": null
        },
        "subscriptions": []
      }
    ]
  }
}

Last updated