Authentication
Create a demo token
Mint a short-lived, IP-throttled demo token (stored only in Redis, ~1h TTL) that can render PUBLIC templates with tweaks — no account or API key required. Each client IP can mint up to 5 tokens per rolling hour. Use the token as `Authorization: Bearer demo_…` or `?demo=demo_…` against GET /api/render/:pageId.
Authentication
Create a demo token
Mint a short-lived, IP-throttled demo token (stored only in Redis, ~1h TTL) that can render PUBLIC templates with tweaks — no account or API key required. Each client IP can mint up to 5 tokens per rolling hour. Use the token as `Authorization: Bearer demo_…` or `?demo=demo_…` against GET /api/render/:pageId.
POST
/api/demo-tokenResponses
200
Demo token created
429
Per-IP demo token quota reached
Request
curl -X POST "https://bannx.com/api/demo-token" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{}'Response
// Demo token created
{
"success": true,
"data": { ... }
}