v7

latestOpenAPI 3.1.02026-08-0431138164.3 KB
Sites

Create Site Session

Create a short-lived session token for a public property website.

This endpoint is intentionally unauthenticated. The browser's static JS calls it with the site_id embedded in the page. Origin validation is handled by SiteCorsMiddleware before this handler runs.

post/v1/sites/{site_id}/sessions

Path parameters

site_idstring required

Response

Successful Response

session_tokenstring required
expires_ininteger required
site_idstring required