curl --request POST \
--url https://app.formbricks.com/api/v2/client/{environmentId}/displays \
--header 'Content-Type: application/json' \
--data '{
"surveyId": "survey123",
"userId": "user123"
}'
{
"displayId": "display123"
}
Create a new display for a valid survey ID. If a userId is passed, the display is linked to the user.
curl --request POST \
--url https://app.formbricks.com/api/v2/client/{environmentId}/displays \
--header 'Content-Type: application/json' \
--data '{
"surveyId": "survey123",
"userId": "user123"
}'
{
"displayId": "display123"
}
Created
The response is of type object
.
Was this page helpful?