---
title: "Admin Create Survey"
method: POST
path: "/admin/surveys"
---

# Admin Create Survey

`POST /admin/surveys`

## Request

- Base URL: `https://api.local-mcp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.local-mcp.com/admin/surveys`
- Auth: none declared. Required headers: `x-admin-key`

Create a survey. Validates the question shape (types + i18n objects).

## Headers

- `x-admin-key` string, required

## Request body

- SurveyCreateBody
  - `slug` string, required
  - `title` object, required
  - `questions` unknown[], required
    - unknown
  - `intro` object, nullable
  - `blocking` boolean
  - `max_skips` integer
  - `min_sessions` integer
  - `anonymous` boolean
  - `closes_at` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/local-mcp/apis/lmcp-api.md) · [All operations](https://skmtc.dev/local-mcp/apis/lmcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/local-mcp/apis/lmcp-api/revisions/f1f1c502623a?raw)
