---
title: "GET /v1/{+parent}/answers"
method: GET
path: "/v1/{+parent}/answers"
tags: ["locations"]
---

# GET /v1/{+parent}/answers

`GET /v1/{+parent}/answers`

## Request

- Base URL: `https://mybusinessqanda.googleapis.com`
- URL: `https://mybusinessqanda.googleapis.com/v1/{+parent}/answers`
- Auth: none declared
- TypeScript: <https://skmtc.dev/google/apis/mybusinessqanda/docs/v1/:parent/answers/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the paginated list of answers for a specified question.

## Path parameters

- `parent` string, required

## Query parameters

- `orderBy` string
- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

- ListAnswersResponse: Response message for QuestionsAndAnswers.ListAnswers
  - `nextPageToken` string: If the number of answers exceeds the requested max page size, this field is populated with a token to fetch the next page of answers on a subsequent call. If there are no more answers, this field is not present in the response.
  - `answers` Answer[]: The requested answers.
    - `name` string: Output only. The unique name for the answer locations/*/questions/*/answers/*
    - `createTime` string, google-datetime: Output only. The timestamp for when the answer was written. Only retrieved during ListResponse fetching.
    - `upvoteCount` integer: Output only. The number of upvotes for the answer.
    - `text` string: Required. The text of the answer. It should contain at least one non-whitespace character. The maximum length is 4096 characters.
    - `author` Author: Represents the author of a question or answer
      - `profilePhotoUri` string: The profile photo URI of the user.
      - `type` 'AUTHOR_TYPE_UNSPECIFIED' | 'REGULAR_USER' | 'LOCAL_GUIDE' | 'MERCHANT': The type of user the author is.
      - `displayName` string: The display name of the user
    - `updateTime` string, google-datetime: Output only. The timestamp for when the answer was last modified.
  - `totalSize` integer: The total number of answers posted for this question across all pages.

---

[API](https://skmtc.dev/google/apis/mybusinessqanda.md) - [All operations](https://skmtc.dev/google/apis/mybusinessqanda/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/mybusinessqanda/revisions/b7dbfbfa3801?raw)
