---
title: "Start a new interview session"
method: GET
path: "/api/session/new"
tags: ["Sessions"]
---

# Start a new interview session

`GET /api/session/new`

Starts a new session for the given interview and returns the session ID.
Any extra query parameters (other than `i`, `secret`, and `key`) are
added to the interview's `url_args` variable.

## Query parameters

- `i` string, required
- `secret` string

## Response `200`

New session created.

- object
  - `i` string, required
  - `session` string, required
  - `encrypted` boolean, required
  - `secret` string — Only present when no secret was provided and the interview uses encryption.

## Other responses

- `400` — Bad request.
- `403` — Access denied.

---

[API](https://skmtc.dev/docassemble/apis/docassemble-api.md) · [All operations](https://skmtc.dev/docassemble/apis/docassemble-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/docassemble/docassemble-api/revisions/a75d7eea6826/schema)
