v1

latestOpenAPI 3.1.02026-07-26620219.6 KB

Retrieve Existing Comment

Use this endpoint to retrieve a comment and its related metadata by review_id. The review_id can be found using All Reviews.

get/v2/{account_id}/reviews/{review_id}/comment?access_token={access_token}

Path parameters

account_idstring required

Your account's API app key

review_idstring required

The review_id can be found using All Reviews

Query parameters

access_tokenstring required

Your Yotpo access token. Click here to learn how to generate one

Response

200

Example response

{
  "status": {
    "code": 200,
    "message": "ok"
  },
  "response": {
    "id": 3074323,
    "content": "Thanks for your review! Your feedback was super helpful!",
    "public": true,
    "created_at": "2018-09-26T14:12:41.000Z",
    "updated_at": "2018-09-26T14:12:41.000Z",
    "commenter": {
      "id": 10279365,
      "display_name": "iloveyotpo",
      "social_image": "https://ddcfq0gxiontw.cloudfront.net/images/anonymous_user.png"
    }
  }
}