Survey API guide
Table of contents |
|---|
|
This edge is only active for the instances that have the survey module active.
If it's not active, all endpoints will return a success = 0 message.
Getting the default feedback survey
Returns the default feedback survey link.
This endpoint can only be used after setting a default survey using the root account on the platform.
If no default survey is set, the endpoint will return a success = 0.
GET /survey/default_scale
Request
Response
Assigning / getting the scale for the user
Returns the survey data for the currently assigned scale or assigns a new one if a link is given.
GET /survey/get
Request
Response
Responding to a survey
POST /survey/save
Request
Response
Canceling a survey
Cancels the survey answers for the given instance
This endpoint only works for type = 2 surveys
Delete /survey/cancel/{survey_instance_id}