Music On Hold


GETundefined/musiconholds/{recordId} baseUrl=

Get Music On Hold By Id

Get media file information by Id

Retrieving a media file by id will return a url to download the file.

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": 33,
    "tenantId": 432,
    "name": "Test"
}

cURL

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

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

Get All Music On Holds

Retrieve music on hold records for a specific account.

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": 33,
        "tenantId": 432,
        "name": "Test"
    }
]

cURL

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