Get feedback and data from users through an in-app message with a single-choice survey. Users can be asked to rate the app between 1 to 5 stars, sad and happy faces, and more. The results are then tracked in the delivery report.
This HTML template will let you submit a survey with a ranking value between 1-5. You can then add your own click handler to send this value to an API of your choosing.
in-app-html-templates/ranking_survey/index.html
Lines 185 to 190 in db2d3e7
Be sure to update the click handlers of each ranking button to submit the request to your API.