---
title: "Create a new session"
method: POST
path: "/sessions"
tags: ["sessions"]
---

# Create a new session

`POST /sessions`

Create a new session with the provided session token

## Request body

- ModelsSessionCreateRequest
  - `code` string, required — Verification code
  - `provider` string, required — Provider ID
  - `session` string, required — Encoded session token

## Response `200`

Session created successfully

- object

## Other responses

- `400` — Bad request
- `500` — Internal server error

---

[API](https://skmtc.net/thand-io/apis/thand-agent-api.md) · [All operations](https://skmtc.net/thand-io/apis/thand-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thand-io/thand-agent-api/revisions/62befb178368/schema)
