POST
/
api
/
v1
/
client
/
{environmentId}
/
responses
curl --request POST \
  --url 'http://{{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}} (optional)"
}'
{
  "data": {
    "id": "clvc3aool000p494jzjuukfzu"
  }
}

Path Parameters

environmentId
string
required

Body

application/json · object

Response

200
application/json
OK

The response is of type object.

Was this page helpful?