List templates for the dashboard

Returns a paginated dashboard view that groups related channel templates into families and leaves standalone templates ungrouped.

GET
/v1/templates/dashboard

Returns a paginated dashboard view that groups related channel templates into families and leaves standalone templates ungrouped.

x-api-key<token>

In: header

Query Parameters

page?string|null
limit?string|null
allowedChannels*|array<>
category?|null
channel?|null
status?|null
search?string|null
sortBy?|null
sortOrder?|null

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/templates/dashboard?allowedChannels=email"
{  "items": [    {      "kind": "family",      "id": "string",      "name": "string",      "members": [        {          "id": "string",          "name": "string",          "slug": "string",          "channel": "email",          "description": "string",          "category": "transactional",          "status": "draft",          "usageCount": 0,          "lastUsedAt": "string",          "workspaceRevision": "string",          "previewFixture": "string",          "createdAt": "string",          "updatedAt": "string"        }      ],      "usageCount": 0,      "lastUsedAt": "string",      "createdAt": "string",      "updatedAt": "string"    }  ],  "pagination": {    "page": 0,    "limit": 0,    "total": 0,    "totalPages": 0  }}