Default answer values
Answer values of question elements cannot be collected via the API. These should be collected via field endpoints. For example, for the Thumbs element, you’ll get the response:
{
"report_id": 123,
"dataset_id": 1234,
"label": "What's your opinion on []?",
"short_label": "THUMBS1",
"key": "1234.THUMBS1.567a8910",
"type": "thumbs"
}
The key and label fields are needed to send the data via the post API. The possible values of the of the third desired field, value, does not return the field endpoint.
{
"key": "1234.THUMBS1.567a8910",
"label": "What's your opinion on []?",
"value": "positive"
}
Therefore, these values should be collected manually when a form is created, by, for example, sending several test items via the preview pages and then obtain the values from the responses.
Below you can find the possible values for the different question elements.
Rating
Stars:
1, 2, 3, 4, 5, 6, 7, 8, 9, 10
Numeric:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
Bar:
1, 2, 3, 4, 5
Emoji:
1, 2, 3, 4, 5
NPS
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
CES
1, 2, 3, 4, 5
GCR
yes, partially, no
Thumbs
positive, negative
Looking for labels? They can now be found in the details panel on the floating action bar.
Related content
Checkbox
Checkbox
More like this
Rating
Rating
More like this
Example output of the webhooks
Example output of the webhooks
More like this
How do I trigger a form based on a JavaScript variable?
How do I trigger a form based on a JavaScript variable?
Read with this
Website Data
Website Data
More like this
Where to create API credentials?
Where to create API credentials?
Read with this