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.
Authorization
bearerAuth Your al_live_<prefix>_<secret> API key. Mint and manage keys in the dashboard.
In: header
Query Parameters
Registered hostname, e.g. onlydasha.com.
Which background variant to probe.
"mobile"Value in
- "mobile"
- "desktop"
Response Body
application/json
application/json
curl -X GET "https://example.com/api/admin/bg/source/exists?domain=string"{ "exists": true, "variant": "mobile", "domain": "onlydasha.com"}{ "detail": { "code": "domain_not_found", "message": "Domain 'onlydasha.com' is not registered" }}Set button appearance, profile card & 18+ gate
Sets the landing-wide UI style for a domain, written to the draft state: the button appearance (buttons), the profile-card look (profile), and the optional 18+ sensitive-content gate (gate). Applies only while the domain uses a built-in (platform) design — an uploaded custom-HTML design owns its own look and never inherits these settings. Each section object replaces the stored section wholesale; null resets that section to the stock look. Unknown keys are rejected. Changing buttons.font re-renders every draft button label of the domain server-side (the response reports the count as relabeled). Requires a write-scoped key.
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.