POST
/
{environmentId}
/
responses
curl --request POST \
  --url https://app.formbricks.com/api/v2/client/{environmentId}/responses \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "surveyId": "survey123",
  "responses": {}
}'
{
  "responseId": "response123"
}

Authorizations

x-api-key
string
header
required

Use your Formbricks x-api-key to authenticate.

Body

application/json Β· object

The body is of type object.

Response

201 - application/json
Created

The response is of type object.

Was this page helpful?