---
title: "Admin Create/Update Survey"
method: POST
path: "/admins/modules/{id}/survey"
tags: ["admins-surveys"]
---

# Admin Create/Update Survey

`POST /admins/modules/{id}/survey`

admin create/update survey

## Path parameters

- `id` string, required

## Request body

- V1CreateSurveyInput
  - `questions` V1Question[]
    - `answerOptions` string[]
    - `answerType` string, required
    - `question` string, required
  - `required` boolean
  - `title` string, required

## Response `201`

Created

- string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error
- `default` — Default response

## Changes

- **2021-07-28** `5465cdf5a99d` — 1 info
  - endpoint added
- **2021-02-04** `0677335332a8` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/creatly/apis/creatly-api/changes/admins/modules/:id/survey/post.md)

---

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