---
title: "POST /survey"
method: POST
path: "/survey"
tags: ["survey"]
---

# POST /survey

`POST /survey`

## Request

- Base URL: `https://api.focusbear.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.focusbear.io/survey`
- Auth: HTTP bearer

## Request body

- CreateSurveyDto
  - `answer_type` 'CHOICES_NUMBER' | 'CHOICES_BOOLEAN' | 'TEXT' | 'TEXT_AND_RATING', required
  - `question` string, required
  - `choices` string[]

## Response `201`

---

[API](https://skmtc.dev/focusbear/apis/focusbear-api.md) - [All operations](https://skmtc.dev/focusbear/apis/focusbear-api/llms.txt) - [OpenAPI document](https://skmtc.dev/focusbear/apis/focusbear-api/revisions/3a83a3b9a811?raw)
