Short Numbers


GEThttps://api.voxo.co/short-numbers/{recordId}

Get Short Number By Id

Retrieve short number by Id

Parameters

Path
  • Name
    recordId*
    Type
    Integer
    Description

    1234

Header
  • Name
    Authorization*
    Type
    String
    Description

    Bearer {AccessToken}

  • Name
    Content-Type*
    Type
    String
    Description

    application/json

Response

{
    "id": 1040,
    "tenantId": 432,
    "number": "6543",
    "destnumber": "6011111111",
    "description": "Chicken Brains"
}

cURL

curl --location -g \
--request GET 'https://api.voxo.co/short-numbers/1234' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'

GEThttps://api.voxo.co/short-numbers?tenantId={tenantId}

Get All Short Numbers

Retrieve short number list for authorized accounts.

Parameters

Query
  • Name
    tenantId*
    Type
    Integer
    Description

    12345

Header
  • Name
    Authorization*
    Type
    String
    Description

    Bearer {AccessToken}

  • Name
    Content-Type*
    Type
    String
    Description

    application/json

Response

[
    {
        "id": 1040,
        "tenantId": 432,
        "number": "6543",
        "destnumber": "6011111111",
        "description": "Chicken Brains"
    }
]

cURL

curl --location -g \
--request GET 'https://api.voxo.co/short-numbers?tenantId=432' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'