Skip to main content
POST
/
api
/
v1
/
client
/
{environmentId}
/
responses
Create Response
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"
  }
}

Path Parameters

environmentId
string
required

Body

application/json
surveyId
string
required
data
object
finished
boolean
language
enum<string>

Language of the response (survey should have this language enabled)

Available options:
en,
de,
pt,
etc..
meta
object
userId
string

Response

OK

The response is of type object.