Get Custom Template
FreshGETGET https://api.creatify.ai/api/custom_templates/{id}/Retrieve a specific custom template by its ID, including its configurable parameters.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The template ID |
Headers
| Header | Type | Required | Description |
|---|---|---|---|
X-API-ID | string | Yes | Your Creatify API ID |
X-API-KEY | string | Yes | Your Creatify API key |
Example Request
bash
curl -X GET 'https://api.creatify.ai/api/custom_templates/template-001/' \
-H 'X-API-ID: your-api-id' \
-H 'X-API-KEY: your-api-key'Response
json
{
"id": "template-001",
"name": "Product Launch Template",
"description": "Professional product launch video template",
"thumbnail": "https://cdn.creatify.ai/templates/template-001-thumb.jpg",
"parameters": {
"headline": {"type": "string", "required": true},
"product_image": {"type": "string", "required": true},
"cta_text": {"type": "string", "required": false}
},
"created_at": "2024-01-15T10:30:00Z"
}Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique template identifier |
name | string | Template name |
description | string | Template description |
thumbnail | string | Preview thumbnail URL |
parameters | object | Configurable parameters and their types |
created_at | string | ISO 8601 timestamp |
Status Codes
| Code | Description |
|---|---|
200 | Success |
401 | Unauthorized -- invalid API credentials |
404 | Template not found |
500 | Internal server error |