Skip to main content
POST
/
api
/
v1
/
management
/
responses
Create Response
curl --request POST \
  --url https://{baseurl}/api/v1/management/responses \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "surveyId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "data": {},
  "finished": true,
  "language": "en",
  "updatedAt": "2023-11-07T05:31:56Z"
}
'
{}

Headers

x-api-key
string
required

Body

application/json
surveyId
string
required

The ID of the survey this response belongs to

createdAt
string<date-time>

Creation timestamp (optional; usually set by server)

data
object

Answers keyed by questionId; value shape depends on question type

finished
boolean

Whether the response is marked as finished

language
enum<string>

Language of the response (survey should have this language enabled)

Available options:
en,
de,
pt,
etc..
updatedAt
string<date-time>

Update timestamp (optional; usually set by server)

Response

OK

The response is of type object.