com_site_access

Exchange a one-time Composal Pages callback token for a viewer session (dispatch Worker only)

post/api/v1/com_site_access/redeem

Request

  • Base URL
    https://composal.com (the document declares no server; this is the origin it was published from)
  • URL
    https://composal.com/api/v1/com_site_access/redeem
  • Auth
    • HTTP bearer
    • or HTTP bearer

Request body

hoststring required
tokenstring required

Response

Viewer session token for the site's host-only cookie

session_tokenstring required
max_ageinteger required
viewer_idstring required

Changes

No recorded changes to this operation across all 3 revisions of this API.