Phone Numbers (DID)


GEThttps://api.voxo.co/dids/{recordId}

Get Phone Number By Id

Retrieve phone number (DID) 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": 6283,
    "tenantId": 432,
    "number": "6012028038",
    "namePrefix": "",
    "branchId": null,
    "diCommentName": "Grease Collector",
    "allowEmergency": "on",
    "branch": "",
    "tenantName": "The White House",
    "useStatus": "Available"
}

cURL

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

GEThttps://api.voxo.co/dids?tenantId={tenantId}

Get All Phone Numbers

Retrieve phone numbers (DIDs) 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": 6283,
        "tenantId": 432,
        "number": "6012028038",
        "namePrefix": "",
        "branchId": null,
        "diCommentName": "Grease Collector",
        "allowEmergency": "on",
        "branch": "",
        "tenantName": "The White House",
        "useStatus": "Available"
    }
]

cURL

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