---
title: "POST /api/script-assistant/sessions"
method: POST
path: "/api/script-assistant/sessions"
tags: ["ScriptAssistant"]
---

# POST /api/script-assistant/sessions

`POST /api/script-assistant/sessions`

## Request

- Base URL: `https://api.wearelearning.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wearelearning.io/api/script-assistant/sessions`
- Auth: OAuth 2
  - Implicit: `https://login.wearelearning.io/authorize?audience=https://api.wearelearning.io`

## Request body

- CreateSessionRequestDto
  - `title` string, nullable
  - `origin` 'ScriptAssistant' | 'Presentation'

## Response `201`

Created

- CreateSessionResponseDto
  - `sessionId` string, required
  - `title` string, nullable
  - `createdAt` string, date-time, required
  - `origin` 'ScriptAssistant' | 'Presentation', required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/wearelearning/apis/we-are-learning-api.md) - [All operations](https://skmtc.dev/wearelearning/apis/we-are-learning-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wearelearning/apis/we-are-learning-api/revisions/e2ca5265db77?raw)
