cURL
curl --request POST \ --url https://{baseurl}/api/v1/client/{environmentId}/responses \ --header 'Content-Type: application/json' \ --data '{ "data": { "hs8yd14l9h8u353tjmv6rzaw": "clicked", "tcgls0063n8ri7dtrbnepcmz": "Who? Who? Who?" }, "finished": false, "meta": { "action": "test action", "source": "Postman API", "url": "https://postman.com" }, "surveyId": "{{surveyId}}", "userId": "{{userId}}" }'
{ "data": { "id": "clvc3aool000p494jzjuukfzu" } }
Create a response for a survey and it’s fields with the user’s responses. The userId & meta here is optional
Language of the response (survey should have this language enabled)
en
de
pt
etc..
Show child attributes
OK
The response is of type object.
object
Was this page helpful?