Media Files


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

Get Media File 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": 1254,
    "name": "billy goat",
    "tenantId": 432
}

cURL

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

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

Get All Media Files

Get media file information for authorized accounts

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

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": 1254,
        "name": "billy goat",
        "tenantId": 432
    }
]

cURL

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