---
updatedAt: 2026-10-29T11:54:48.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Retrieve Q&A by Question ID

Retrieve a specific Q&A question and its answers by `question_id`.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "App partners API",
    "description": "Endpoints for apps that Yotpo merchants install. The app-level webhook is defined separately, in webhooks.json.",
    "version": "2"
  },
  "servers": [
    {
      "url": "https://developers.yotpo.com"
    }
  ],
  "security": [
    {
      "X-Yotpo-Token": []
    }
  ],
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "paths": {
    "/v2/{account_id}/questions/{question_id}": {
      "get": {
        "summary": "Retrieve Q&A by Question ID",
        "description": "Retrieve a specific Q&A question and its answers by `question_id`.",
        "operationId": "retrieve-qa-by-question-id",
        "parameters": [
          {
            "name": "account_id",
            "in": "path",
            "description": "Your account's API app key",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "question_id",
            "in": "path",
            "description": "The question's unique identifier. Can be retrieved using [Retrieve All Questions](ref:retrieve-all-questions)",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"status\": {\n        \"code\": 200,\n        \"message\": \"OK\"\n    },\n    \"pagination\": null,\n    \"question\": {\n        \"id\": \"3\",\n        \"content\": \"how long are the sleeves?\",\n        \"asker\": {\n            \"id\": \"10111\",\n            \"display_name\": \"Gregory\",\n            \"social_image\": \"https://ddcfq0gxiontw.cloudfront.net/images/anonymous_user.png\",\n            \"email\": \"questionemail@example.com\"\n        },\n        \"user_type\": \"User\",\n        \"created_at\": \"2018-10-23T07:10:41Z\",\n        \"published\": true,\n        \"answers\": [\n            {\n                \"id\": \"4\",\n                \"content\": \"long.very very long\",\n                \"public\": true,\n                \"store_owner_comment\": true,\n                \"answerer\": {\n                    \"id\": \"8315\",\n                    \"display_name\": \"\",\n                    \"social_image\": \"\"\n                },\n                \"votes_up\": 0,\n                \"votes_down\": 0,\n                \"created_at\": \"2018-10-23T07:11:32Z\"\n            }\n        ],\n        \"product\": {\n            \"name\": \"Long Sleeves Shirt\",\n            \"external_product_id\": \"761060802\",\n            \"product_url\": \"https://tom-yotpo.myshopify.com/collections/frontpage/products/first-product\",\n            \"product_specs\": []\n        }\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "example": 200,
                          "default": 0,
                          "description": "HTTP status code."
                        },
                        "message": {
                          "type": "string",
                          "example": "OK",
                          "description": "Status message, such as `OK`."
                        }
                      },
                      "description": "Request status."
                    },
                    "pagination": {
                      "type": "null",
                      "description": "Always `null` for this endpoint."
                    },
                    "question": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "3",
                          "description": "The question ID."
                        },
                        "content": {
                          "type": "string",
                          "example": "how long are the sleeves?",
                          "description": "The question text."
                        },
                        "asker": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "10111",
                              "description": "The asker's user ID."
                            },
                            "display_name": {
                              "type": "string",
                              "example": "Gregory",
                              "description": "The asker's display name."
                            },
                            "social_image": {
                              "type": "string",
                              "example": "https://ddcfq0gxiontw.cloudfront.net/images/anonymous_user.png",
                              "description": "URL of the asker's profile image. Can be an empty string."
                            },
                            "email": {
                              "type": "string",
                              "example": "questionemail@example.com",
                              "description": "The asker's email address."
                            }
                          },
                          "description": "The customer who asked the question."
                        },
                        "user_type": {
                          "type": "string",
                          "example": "User",
                          "description": "The asker's user type, such as `User`."
                        },
                        "created_at": {
                          "type": "string",
                          "example": "2018-10-23T07:10:41Z",
                          "description": "When the question was asked (ISO 8601, UTC).",
                          "format": "date-time"
                        },
                        "published": {
                          "type": "boolean",
                          "example": true,
                          "default": true,
                          "description": "Whether the question is published on the store's site."
                        },
                        "answers": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "example": "4",
                                "description": "The answer ID. Use it with [Delete an Answer](ref:delete-an-answer)."
                              },
                              "content": {
                                "type": "string",
                                "example": "long.very very long",
                                "description": "The answer text."
                              },
                              "public": {
                                "type": "boolean",
                                "example": true,
                                "default": true,
                                "description": "Whether the answer is public. `false` means only the asker can see it."
                              },
                              "store_owner_comment": {
                                "type": "boolean",
                                "example": true,
                                "default": true,
                                "description": "Whether the store owner wrote the answer."
                              },
                              "answerer": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "example": "8315",
                                    "description": "The answerer's user ID."
                                  },
                                  "display_name": {
                                    "type": "string",
                                    "example": "",
                                    "description": "The answerer's display name. Can be an empty string."
                                  },
                                  "social_image": {
                                    "type": "string",
                                    "example": "",
                                    "description": "URL of the answerer's profile image. Can be an empty string."
                                  }
                                },
                                "description": "Who wrote the answer."
                              },
                              "votes_up": {
                                "type": "integer",
                                "example": 0,
                                "default": 0,
                                "description": "Number of up votes."
                              },
                              "votes_down": {
                                "type": "integer",
                                "example": 0,
                                "default": 0,
                                "description": "Number of down votes."
                              },
                              "created_at": {
                                "type": "string",
                                "example": "2018-10-23T07:11:32Z",
                                "description": "When the answer was posted (ISO 8601, UTC).",
                                "format": "date-time"
                              }
                            }
                          },
                          "description": "Answers to the question."
                        },
                        "product": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string",
                              "example": "Long Sleeves Shirt",
                              "description": "The product name."
                            },
                            "external_product_id": {
                              "type": "string",
                              "example": "761060802",
                              "description": "The product ID in the store's ecommerce platform."
                            },
                            "product_url": {
                              "type": "string",
                              "example": "https://tom-yotpo.myshopify.com/collections/frontpage/products/first-product",
                              "description": "The URL of the product page."
                            },
                            "product_specs": {
                              "type": "array",
                              "description": "Product specifications. Can be an empty array.",
                              "items": {
                                "description": "A product specification. Empty in every response we tested, so the item shape isn't documented."
                              }
                            }
                          },
                          "description": "The product the question is about."
                        }
                      },
                      "description": "The question."
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid access token, or the token belongs to a different store.",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": " {\n    \"error\": \"Feature is disabled questions_and_answers\",\n    \"code\": 16\n}"
                  },
                  "Missing token": {
                    "summary": "No token sent (or sent as Authorization: Bearer)",
                    "value": {
                      "error": "invalid_request",
                      "error_description": "The access token is missing"
                    }
                  },
                  "Invalid token": {
                    "summary": "Token unknown, revoked or for another app",
                    "value": {
                      "error": "invalid_token",
                      "error_description": "The access token is invalid or has expired"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Feature is disabled questions_and_answers",
                      "description": "Error message."
                    },
                    "code": {
                      "type": "integer",
                      "example": 16,
                      "default": 0,
                      "description": "Yotpo error code."
                    },
                    "error_description": {
                      "type": "string",
                      "description": "Human-readable reason for the error."
                    }
                  }
                }
              },
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "No such `account_id` or `access_token` doesn't match the `account_id`"
                  }
                }
              }
            }
          },
          "404": {
            "description": "No question with this `question_id` in the store.",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"error\": \"Question not found\",\n    \"code\": 5,\n    \"message\": \"Question not found\",\n    \"details\": []\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "Error message.",
                      "example": "Question not found"
                    },
                    "code": {
                      "type": "integer",
                      "description": "Yotpo error code.",
                      "example": 5
                    },
                    "message": {
                      "type": "string",
                      "description": "Error message, same as `error`.",
                      "example": "Question not found"
                    },
                    "details": {
                      "type": "array",
                      "description": "Extra error details. Usually empty.",
                      "items": {
                        "description": "An error detail. Empty in every response we tested, so the item shape isn't documented."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "components": {
    "securitySchemes": {
      "X-Yotpo-Token": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Yotpo-Token",
        "description": "Send your app's access token for the merchant's store in the `X-Yotpo-Token` header of every request. To get a token, see [Generate Access Token](ref:generate-a-token). The API also reads the token from an `access_token` query parameter, but that isn't recommended: URLs end up in server and proxy logs. `Authorization: Bearer` is not supported."
      }
    }
  }
}
```

# Sibling pages

* [Retrieve Questions and Answers for a Product](https://docs.yotpo.com/reference/partners-retrieve-questions-and-answers-for-a-product.md)
* [Retrieve the Bottom Line for Questions and Answers](https://docs.yotpo.com/reference/partners-retrieve-the-bottom-line-for-questions-and-answers.md)
* [Create an Answer](https://docs.yotpo.com/reference/create-an-answer.md)
* [Update an Answer](https://docs.yotpo.com/reference/update-an-answer.md)
* [Delete an Answer](https://docs.yotpo.com/reference/delete-an-answer.md)