TEASEDocs
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

GET
/api/admin/config
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"  }}