Hello,
I would like to grab the results from a survey and have hit I belive the correct end point.
[https://api.hubspot.com/crm/v3/objects/feedback\_submissions?properties=hs\_sentiment,hs\_survey\_channel?limit=100"](https://api.hubspot.com/crm/v3/objects/feedback_submissions?properties=hs_sentiment,hs_survey_channel?limit=100"\)
but this returns:
{\“results\”:[{\“id\”:\“231546471861\”,\“properties\”:{\“hs_createdate\”:\“2023-05-25T16:34:27.873Z\”,\“hs_lastmodifieddate\”:\“2023-05-25T16:34:28.390Z\”,\“hs_object_id\”:\“231546471861\”,\“hs_sentiment\”:\“Passive\”},\“createdAt\”:\“2023-05-25T16:34:27.873Z\”,\“updatedAt\”:\“2023-05-25T16:34:28.390Z\”,\“archived\”:false}
I’d like to grab the results of my custom survey. Basically I don’t how to target the individual survey results.
Hey, @RDeveloper1
It looks like you need to get the survey ID first, then make a second request to the Read endpoint:
GET /crm/v3/objects/feedback_submissions/{feedbackSubmissionId}
If you need to include specific properties to be returned, you can get all the Feedback Survey properties from the Properties API and parse out the specific properties you need:
curl --request GET \
--url 'https://api.hubapi.com/crm/v3/properties/feedback_submissions?archived=false' \
--header 'authorization: Bearer YOUR_ACCESS_TOKEN'
If this isn’t what you are after, please let me know.
Have fun building! — Jaycee