API ReferencePages & Publish
Check if generated draft backgrounds exist
Probe that reports whether generated draft background variants are ready for the given domain and variant. 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
Query Parameters
domain*string
Registered hostname, e.g. onlydasha.com.
variant?string
Which background variant to probe.
Default
"mobile"Value in
- "mobile"
- "desktop"
Response Body
application/json
application/json
curl -X GET "https://example.com/api/admin/bg/draft/exists?domain=string"{ "exists": true, "variant": "mobile", "domain": "onlydasha.com"}{ "detail": { "code": "domain_not_found", "message": "Domain 'onlydasha.com' is not registered" }}Check if a background source exists
Probe that reports whether an un-edited background source image has been uploaded for the given domain and variant. Requires a read-scoped key.
Render a button label preview
Renders a preview SVG of a button label so the editor can show how the text will look before saving. Requires a read-scoped key.