Get Template Details
GET
https://api.konpro.ai/v1/templates/{template_id}Fetch detailed information about a specific video template, including all customizable variables supported by the template.
Request History
Log in to see full request history
| TIME | STATUS | USER AGENT |
|---|---|---|
| Make a request to see history. | ||
0 Requests This Month
Path Parameter
| Parameter | Type | Description |
|---|---|---|
| template_id | string | Unique identifier of the template (required) |
Response Structure
The response contains a collection of variables that can be customized within the template. Each variable includes:
| Field | Type | Description |
|---|---|---|
| variables.<name>.name | string | Name of the variable as defined by the user |
| variables.<name>.type | string | Type of variable (e.g., text, image, video) |
| variables.<name>.properties.content | string | Default text content for text variables |
| variables.<name>.properties.url | string | Default URL for image, video, or audio variables |
| variables.<name>.properties.asset_id | string | Default asset ID for media variables |
| variables.<name>.properties.fit | string | Default fit setting for image or video variables |
| variables.<name>.properties.play_style | string | Default playback style for video variables |
| variables.<name>.properties.character_id | string | Default character ID for character variables |
| variables.<name>.properties.type | string | Type of character for character variables |
| variables.<name>.properties.voice_id | string | Default voice ID for text variables |
cURL Request
shell
curl --request GET \
--url https://api.konpro.ai/v1/templates/<template_id> \
--header 'accept: application/json' \
--header 'x-api-key: <your-api-key>'Example Usage
Shell
curl --request GET \
--url https://api.konpro.ai/v1/templates/<template_id> \
--header 'accept: application/json' \
--header 'x-api-key: <your-api-key>'LANGUAGE
CREDENTIALS
HEADER
RESPONSE
Examples
Choose an example:
application/json
200 - Result
404 - Result
LANGUAGE
CREDENTIALS
HEADER
RESPONSE
Examples
Choose an example:
application/json
200 - Result
404 - Result