Using the API to analyse feedback submissions

Hi

Is it possible to use the API to obtain the actual feedback from contacts? I have looked at the feedback_submissions endpoint but it doesn’t seem to contain the responses from the contact

Hi, @JHobden :waving_hand: Thanks for your question. You can retrieve the values from any of your Feedback Submission properties. Looking at the documentation — “By default, the following properties are returned for each submission: hs_createdate, hs_lastmodifieddate, and hs_object_id, but you also can retrieve additional properties.”

Next steps:

  • Use the Properties API to retrieve all the Feedback Submission properties. Make sure to note the internal value — the “name” not the “label”.

GET /crm/v3/properties/feedback_submission

  • Make a simple test request from the endpoints tab and include your additional properties as a request param. For example, here’s a request that includes Survey Name, Response, and Sentiment.

    curl --request GET \
     --url 'https://api.hubapi.com/crm/v3/objects/feedback_submissions/1234?properties=hs_survey_name%2Chs_content%2Chs_sentiment&archived=false' \
     --header 'authorization: Bearer YOUR_ACCESS_TOKEN'​
    

Have fun building! — Jaycee