Templates / Public

List public templates

List published community/gallery templates with their cached pages. No authentication required.

GET/api/templates/public

Query / Path parameters

NameInRequiredDescription
searchqueryNoSearch name + description (max 80 chars)
categoryqueryNoCategory filter, or "featured" for the curated list
pagequeryNoPage number (default 1)
perPagequeryNoItems per page (max 100)

Responses

200

JSON { list, count, pagesCount } — templates include their published pages

Request
curl -X GET "https://bannx.com/api/templates/public" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
Response
// JSON { list, count, pagesCount } — templates include their published pages
{
  "success": true,
  "data": { ... }
}