Get Template
Changed onReturns template details including its variable schema (with current default values) and scenes. Variable defaults are returned in the same shape the generate request accepts, so a response can be edited and posted back. Only draft version 4 templates (the current editor format) are supported.
Request
- Base URLhttps://api.heygen.com
- URLhttps://api.heygen.com/v3/templates/{template_id}
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
Unique template identifier
Response
Successful response
Changes
- breaking
the response property
////became optional for the status - breaking
response property
data/variables/additionalProperties/oneOf[subschema #5: TemplateCharacterVariable]/character_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
data/variables/additionalProperties/oneOf[subschema #5: TemplateCharacterVariable]/character_typelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
the
////response property's minLength was decreased from1to0for the response 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 - 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 - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
the
response's property default valueavatarwas removed for the status - info
response property
data/scenesdeprecated - info
response property
data/variables/additionalProperties/oneOf[subschema #5: TemplateCharacterVariable]/character_iddeprecated - info
response property
data/variables/additionalProperties/oneOf[subschema #5: TemplateCharacterVariable]/character_typedeprecated - info
added
asset_idbase64urldiscriminator mapping keys to the////response property for the response status - info
added
asset_idbase64urldiscriminator mapping keys to the////response property for the response status - info
added
asset_idbase64urldiscriminator mapping keys to the////response property for the response status - info
added
audiocharacterimagetextvideovoicediscriminator mapping keys to the//response property for the response status - info
removed the
avatarenum value from the////response property for the response status - info
removed the
talking_photoenum value from the////response property for the response status
- breaking