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

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?