API v1 Documentation
Client API > Response
Client API > Contacts
Client API > Display
Client API > Environment
Client API > User
Management API > Action Class
Management API > Attribute Class
Management API > Contact Attribute Keys
Management API > Contact Attributes
Management API > Contacts
Management API > Me
Management API > People
Management API > Response
Management API > Storage
Management API > Survey
Management API > Webhook
Health
Create Display
Create a new display for a valid survey ID. If a userId is passed, the display is linked to the user.
POST
/
api
/
v1
/
client
/
{environmentId}
/
displays
curl --request POST \
--url http:///%7B{baseurl}%7D/api/v1/client/{environmentId}/displays \
--header 'Content-Type: application/json' \
--data '{
"surveyId": "{{surveyId}}",
"userId": "{{userId}} (optional)"
}'
{
"data": {
"id": "clvc1z8200006494jgnds7ort"
}
}
Path Parameters
Body
application/json · object
Response
200
application/json
OK
The response is of type object
.
Was this page helpful?
curl --request POST \
--url http:///%7B{baseurl}%7D/api/v1/client/{environmentId}/displays \
--header 'Content-Type: application/json' \
--data '{
"surveyId": "{{surveyId}}",
"userId": "{{userId}} (optional)"
}'
{
"data": {
"id": "clvc1z8200006494jgnds7ort"
}
}