Skip to main content
POST
/
client
/
{environmentId}
/
responses
Create Response
curl --request POST \
  --url https://app.formbricks.com/api/v2/client/{environmentId}/responses \
  --header 'Content-Type: application/json' \
  --data '{
  "surveyId": "survey123",
  "responses": {}
}'
{
  "responseId": "response123"
}

Body

application/json
surveyId
string
required

The ID of the survey this response belongs to

responses
object

Answers keyed by questionId; value shape depends on question type

finished
boolean

Whether the response is marked as finished

language
enum<string>

Locale of the response

Available options:
en-US,
de-DE,
pt-BR,
fr-FR,
zh-Hant-TW,
pt-PT,
ro-RO,
ja-JP,
zh-Hans-CN
meta
object

Optional metadata about the response

Response

201 - application/json

Created

The response is of type object.