Extensions


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

Get Extension By Id

Retrieve Extension 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": 5903,
    "name": "Grablic",
    "number": "1234",
    "cidNum": "6015515455",
    "branch": "",
    "branchId": null,
    "department": "",
    "emergencyCidNum": "",
    "unconditionalStatus": "",
    "email": "jut@tut.com",
    "tenantId": 432,
    "techId": 11208,
    "avatarPath": null,
    "userId": null,
    "userOnline": null,
    "peerName": "1234-the",
    "peerSecret": "XXXXXXX",
    "extStatus": "UNAVAILABLE",
    "hostServer": ""
}

cURL

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

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

Get All Extensions

Retrieve extensions for account tenants you have access to

Parameters

Query
  • Name
    tenantId*
    Type
    Integer
    Description

    1234

Header
  • Name
    Authorization*
    Type
    String
    Description

    Bearer {AccessToken}

  • Name
    Content-Type*
    Type
    String
    Description

    application/json

Response

[
    {
        "id": 5903,
        "name": "Grablic",
        "number": "1234",
        "cidNum": "6015515455",
        "branch": "",
        "branchId": null,
        "department": "",
        "emergencyCidNum": "",
        "unconditionalStatus": "",
        "email": "jut@tut.com",
        "tenantId": 432,
        "techId": 11208,
        "avatarPath": null,
        "userId": null,
        "userOnline": null,
        "peerName": "1234-the",
        "peerSecret": "XXXXXXX",
        "extStatus": "UNAVAILABLE",
        "hostServer": ""
    }
]

cURL

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