---
title: "(DEV ONLY) Seed reflection questions for a session"
method: POST
path: "/api/dev/sessions/{sessionId}/reflection-questions"
tags: ["Pre-Session Reflection"]
---

# (DEV ONLY) Seed reflection questions for a session

`POST /api/dev/sessions/{sessionId}/reflection-questions`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/dev/sessions/{sessionId}/reflection-questions`
- Auth: HTTP bearer

Local/staging-only endpoint to bulk-create reflection questions for a
session. Returns 404 in production. Intended for QA seeding while the
CM admin UI is being groomed for a future ticket.

## Path parameters

- `sessionId` string, uuid, required

## Request body

- object
  - `questions` object[], required
    - `prompt` string, required
    - `placeholder_text` string, nullable
    - `sort_order` integer

## Response `201`

Questions created

## Other responses

- `400`: Bad request body
- `401`: Unauthorized
- `404`: Not available in production

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
