GET
/
api
/
v1
/
assets
List assets
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://realtimeavatar.ai/api/v1/assets', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "data": [
    {
      "id": "<string>",
      "tenantId": "<string>",
      "contentType": "<string>",
      "sizeBytes": 1,
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "sha256": "<string>",
      "publicUrl": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

TIC API key as a bearer token: Authorization: Bearer tic_live_... or tic_test_.... Create keys in the dashboard at /platform/dashboard or via POST /api/v1/api-keys.

Response

Asset list

data
object[]
required