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

# Create a new session

`POST /session`

## Request body

- object
  - `id` string
  - `project_id` string, required
  - `user` string, required
  - `start_time` string, date-time, required
  - `end_time` string, date-time

## Response `201`

Session created

- Session
  - `id` string
  - `project_id` string
  - `user` string
  - `start_time` string, date-time
  - `end_time` string, date-time

---

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