Templates

Returns a paginated list of API-ready templates in the workspace. Templates are created and edited in the HeyGen web editor; only templates with variables defined are listed.

get/v3/templates

Request

  • Base URL
    https://api.heygen.com
  • URL
    https://api.heygen.com/v3/templates
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Query parameters

limitinteger

Maximum number of templates to return per page

tokenstring

Opaque pagination token from a previous response's next_token

Response

Successful response

has_moreboolean

Whether more pages are available

next_tokenstring nullable

Opaque cursor for the next page

Example response

{
  "data": [
    {
      "id": "77e650952c024c6188a35e23e7088617",
      "name": "Quarterly Update",
      "aspect_ratio": "16:9",
      "created_at": 1711929600,
      "updated_at": 1711929600
    }
  ]
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status