Get a public template

Fetch one published template by ID, as published. Only templates with publicOn are returned; private IDs 404. No authentication required.

GET/api/v1/templates/public/:id

Query / Path parameters

NameInRequiredDescription
idpathYesTemplate ID

Responses

200

JSON { doc } — the template as published (creative doc under templateSettings.creative)

404

Template not found or not public

Request
curl -X GET "https://bannx.com/api/v1/templates/public/:id" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
Response
// JSON { doc } — the template as published (creative doc under templateSettings.creative)
{
  "success": true,
  "data": { ... }
}