Phonebooks


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

Get Phonebook By Id

Retrieve phone book 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": 2,
    "name": "OMNIA-1004",
    "includeExt": "no",
    "tenantId": 37
}

cURL

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

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

Get All Phonebooks

Retrieve phone book 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": 2,
        "name": "OMNIA-1004",
        "includeExt": "no",
        "tenantId": 37
    },
    {
        "id": 95,
        "name": "OMNIA-1007",
        "includeExt": "no",
        "tenantId": 37
    },
    {
        "id": 183,
        "name": "0004f2c6a3cb",
        "includeExt": "no",
        "tenantId": 37
    },
    {
        "id": 781,
        "name": "0004f2cb02e5",
        "includeExt": "no",
        "tenantId": 37
    },
    {
        "id": 939,
        "name": "Default",
        "includeExt": "yes",
        "tenantId": 37
    },
    {
        "id": 973,
        "name": "0004f28c07ea",
        "includeExt": "no",
        "tenantId": 37
    },
    {
        "id": 991,
        "name": "test",
        "includeExt": "no",
        "tenantId": 37
    },
    {
        "id": 1349,
        "name": "64167f0df998",
        "includeExt": "no",
        "tenantId": 37
    },
    {
        "id": 1353,
        "name": "0004f27eb969",
        "includeExt": "no",
        "tenantId": 37
    },
    {
        "id": 1579,
        "name": "OMNIA-1001",
        "includeExt": "no",
        "tenantId": 37
    },
    {
        "id": 1587,
        "name": "billy",
        "includeExt": "no",
        "tenantId": 37
    },
    {
        "id": 1588,
        "name": "fred",
        "includeExt": "no",
        "tenantId": 37
    },
    {
        "id": 1595,
        "name": "OMNIA-5193",
        "includeExt": "no",
        "tenantId": 37
    }
]

cURL

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