---
title: "Create session"
method: POST
path: "/sessions"
---

# Create session

`POST /sessions`

## Request body

- CreateSessionRequest
  - `model_id` string, required — Model to use
  - `persona_id` string, required — Persona to use

## Response `200`

Session created

- CreateSessionResponse
  - `server_url` string, required — WebRTC connection URL
  - `participant_token` string, required — JWT for 'source' participant that passes its audio over WebRTC to persona (e.g., a voice agent)
  - `agent_identity` string, required — Identity that the persona will use in the WebRTC session

## Other responses

- `403` — Model not allowed for plan
- `500` — Internal server error
- `503` — No capacity available

---

[API](https://skmtc.net/keyframelabs/apis/sessions-api.md) · [All operations](https://skmtc.net/keyframelabs/apis/sessions-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keyframelabs/sessions-api/versions/9305d89bbe6a/schema)
