---
title: "Create Site Session"
method: POST
path: "/v1/sites/{site_id}/sessions"
tags: ["Sites"]
---

# Create Site Session

`POST /v1/sites/{site_id}/sessions`

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.

## Path parameters

- `site_id` string, required

## Response `200`

Successful Response

- SessionResponse
  - `session_token` string, required
  - `expires_in` integer, required
  - `site_id` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/eliseai/apis/elise-api.md) · [All operations](https://skmtc.net/eliseai/apis/elise-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eliseai/elise-api/versions/76923ba6f67c/schema)
