Menu
Retrieve All Questions
Retrieve all questions
GET
/apps/{app_key}/questions.jsonUse it in a workflow
- Add a step and choose the Yotpo connector.
- Pick the Retrieve All Questions action (under Reviews & Ratings).
- Fill in the fields below, then reference the result from later steps as
{{retrieveAllQuestions.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"total_questions": "string",
"new_questions": "string",
"id": "string",
"content": "string"
}
Response
Returns 200 with an object. Read it in later steps with {{retrieveAllQuestions.response.data.<field>}}.
{
"status": {
"code": 200,
"message": "OK"
},
"response": {
"total_questions": 962,
"new_questions": 227,
"questions": [
{
"id": 200675,
"content": "Is it water resistant?",
"asker": {
"id": 5110289,
"display_name": "Ally",
"slug": "ally--108",
"social_image": "https://ddcfq0ogxintw.cloudfront.net/images/anonymous_user.png",
"is_social_connected": false,
"bio": null,
"score": 0,
"badges": [
null
]
},
"user_type": "User",
"created_at": "2015-12-30T19:53:14.000Z",
"archived": false,
"published": true,
"allow_send": false,
"answers": [
{
"id": 496685,
"approved": true,
"public": true,
"content": "Yes, the watch is water resistant",
"is_store_owner_comment?": true,
"answerer": {
"id": null,
"display_name": null,
"slug": null,
"social_image": null,
"is_social_connected": null,
"bio": null,
"score": null,
"badges": null
},
"votes_up": 1,
"votes_down": 0,
"created_at": "2016-02-23T21:45:13.000Z"
}
],
"products_app": {
"product": {
"name": "Sports Watch - Great for an active lifestyle",
"images": [
null
]
},
"product_url": "http://www.watchstore.com/products/Sports Watch - Great for an active lifestyle"
}
}
],
"page": "1",
"per_page": "1"
}
}
Need more? See the Yotpo guide for connection setup and behaviour shared by every action.
Was this page helpful?