List templates for the dashboard
Returns a paginated dashboard view that groups related channel templates into families and leaves standalone templates ungrouped.
Returns a paginated dashboard view that groups related channel templates into families and leaves standalone templates ungrouped.
Authorization
apiKey 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 }}List templates
Returns a paginated list of the organization's templates, filterable by category, channel, status, and search, with configurable sorting.
List template families
Returns a paginated list of the organization's template families and members. Use this endpoint to list template families through the Samva email API.