API ReferencePages & Publish
Get draft and published page state
Returns both the draft and currently-published snapshots for every domain you own, plus a dirty flag and the list of domains with unpublished edits. Requires a read-scoped key.
Authorization
bearerAuth AuthorizationBearer <token>
Your al_live_<prefix>_<secret> API key. Mint and manage keys in the dashboard.
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/api/admin/config"{ "published": { "updated_at": 1719763200, "domains": { "onlydasha.com": { "seg_default": [] } }, "notifications": { "onlydasha.com": { "domain": "onlydasha.com", "enabled": true } }, "backgrounds": { "onlydasha.com": { "bg_version": 4, "bg_desktop_version": 3, "canvas_color": "#0d0604", "updated_at": 1719763200 } }, "segments": { "onlydasha.com": [] } }, "draft": { "updated_at": 1719766800, "domains": { "onlydasha.com": { "seg_default": [] } }, "notifications": {}, "backgrounds": {}, "segments": {} }, "is_dirty": true, "dirty_domains": [ "onlydasha.com" ]}{ "detail": { "code": "unauthorized", "message": "Authentication required" }}Download a QR code's print-ready SVG
Returns the saved code rendered as a standalone SVG encoding https://<domain>/qr[/<slug>]. The image is vector (viewBox) — px only sets the default width attribute, so it prints crisply at any size. Requires a read-scoped key.
Get the draft notification banner for a domain
Returns the editable push-style notification banner for the given domain, creating an empty draft on first access. Requires a read-scoped key.