---
title: "Go back one step in an interview session"
method: POST
path: "/api/session/back"
tags: ["Sessions"]
---

# Go back one step in an interview session

`POST /api/session/back`

Undoes the last step in the interview and (by default) returns the
current question. If `question` is 0, returns 204 with an empty body.

## Request body

- object
  - `i` string, required — Interview filename.
  - `session` string, required — Session ID.
  - `secret` string — Encryption secret.
  - `question` 0 | 1 — Set to 0 to skip returning the current question.

## Response `200`

Current question after going back.

- object

## Other responses

- `204` — Went back; no question returned (when question=0).
- `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)
