---
title: "Create anonymous session"
method: POST
path: "/api/v1/sessions"
tags: ["Sessions"]
---

# Create anonymous session

`POST /api/v1/sessions`

## Request

- Base URL: `https://api.weftly.ai`
- URL: `https://api.weftly.ai/api/v1/sessions`
- Auth: one of:
  - API key in header `Authorization`
  - none

## Response `201`

Session created

- CreateSessionResponse
  - `session_id` string, uuid, required
  - `session_token` string, required
  - `expires_at` string, date-time, required

---

[API](https://skmtc.dev/weftly/apis/weftly-api.md) · [All operations](https://skmtc.dev/weftly/apis/weftly-api/llms.txt) · [OpenAPI document](https://skmtc.dev/weftly/apis/weftly-api/revisions/159cec179228?raw)
