GET/api/rest/brand-templates
List all brand templates for the authenticated user.
Parameters
Name | Type | Description |
---|---|---|
query | string | Filter by template title |
continuation | string | Pagination token |
ownership | string | any, owned, shared |
sortBy | string | relevance, modified_descending, etc. |
dataset | string | any, non_empty, empty |
forceSync | bool | true to force sync from Canva |
cacheOnly | bool | true to use only cache |
Request Example
GET /api/rest/brand-templates?query=MyTemplate
Authorization: Bearer YOUR_API_TOKEN
Response Example
{
"items": [
{
"id": "string",
"title": "string",
"view_url": "string",
"create_url": "string",
"created_at": 1234567890,
"updated_at": 1234567890,
"thumbnail": { "url": "string", "width": 100, "height": 100 },
"dataset": { "field": { "type": "string" } },
"cache": { "lastSyncAt": "ISODate", "isFromCache": true }
}
],
"continuation": "string",
"meta": { "source": "cache", "totalFromCache": 1, "totalFromCanva": 0 }
}