List DYOA Templates
FreshGETGET https://api.creatify.ai/api/dyoa/Retrieve a list of all available DYOA (Design Your Own Ad) templates. DYOA provides customizable ad templates that you can personalize with your own content.
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/dyoa/' \
-H 'X-API-ID: your-api-id' \
-H 'X-API-KEY: your-api-key'Response
json
[
{
"id": "dyoa-001",
"name": "Modern Product Ad",
"description": "Clean, modern product advertisement template",
"thumbnail": "https://cdn.creatify.ai/dyoa/dyoa-001-thumb.jpg",
"category": "product",
"parameters": {
"product_image": {"type": "string", "required": true},
"headline": {"type": "string", "required": true},
"cta_text": {"type": "string", "required": false}
}
},
{
"id": "dyoa-002",
"name": "Testimonial Ad",
"description": "Customer testimonial video ad template",
"thumbnail": "https://cdn.creatify.ai/dyoa/dyoa-002-thumb.jpg",
"category": "testimonial",
"parameters": {
"quote": {"type": "string", "required": true},
"customer_name": {"type": "string", "required": true},
"product_url": {"type": "string", "required": false}
}
}
]Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique template identifier |
name | string | Template name |
description | string | Template description |
thumbnail | string | Preview thumbnail URL |
category | string | Template category |
parameters | object | Configurable parameters and their schemas |
Status Codes
| Code | Description |
|---|---|
200 | Success |
401 | Unauthorized -- invalid API credentials |
429 | Rate limit exceeded |
500 | Internal server error |
TIP
Browse DYOA templates to find ad formats that match your campaign goals. Each template lists its customizable parameters, making it easy to create on-brand advertisements.