Get All Avatars

GET/v1/avatars

Retrieve a list of all available avatars.

Request History

Log in to see full request history

TIMESTATUSUSER AGENT
Make a request to see history.

0 Requests This Month

Query Parameters

ParameterTypeDescription
scopestringFilter avatars by scope. Options: all, public, private
pageintegerPage number for pagination (default: 1)
limitintegerNumber of items per page (default: 20)

Request Example

shell
curl -X GET https://api.konpro.ai/v1/avatars \
  -H "x-api-key: <your-api-key>" \
  -H "Content-Type: application/json"

Response

Avatars Array

avatars: An array containing avatar details.

FieldTypeDescription
idstringUnique identifier of the avatar
namestringName of the avatar
thumbnail_urlstringURL to the avatar thumbnail image
video_urlstringURL to the avatar preview video
created_atstringISO 8601 timestamp of when the avatar was created
scopestringScope of the avatar: public or private

Pagination Object

pagination: Pagination information for the response.

FieldTypeDescription
pageintegerCurrent page number
limitintegerNumber of items per page
totalintegerTotal number of avatars
total_pagesintegerTotal number of pages

Sample Successful Response

json
{
  "avatars": [
    {
      "id": "avatar-3655",
      "name": "Avatar Name",
      "thumbnail_url": "https://...",
      "video_url": "https://...",
      "created_at": "2024-01-01T00:00:00Z",
      "scope": "public"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 100,
    "total_pages": 5
  }
}

Notes

  • This endpoint requires authentication using the x-api-key header.
  • Use the scope parameter to filter avatars by visibility (all, public, private).
  • Results are paginated. Use page and limit parameters to navigate through results.
  • For error descriptions, see Error Responses.

Table of Contents