---
title: "v3 Get all answers for given report and given area"
method: GET
path: "/v3/reports/{reportId}/answers/area/{areaId}"
tags: ["Answers"]
---

# v3 Get all answers for given report and given area

`GET /v3/reports/{reportId}/answers/area/{areaId}`

## Request

- Base URL: `https://api.resourcewatch.org`
- URL: `https://api.resourcewatch.org/v3/reports/{reportId}/answers/area/{areaId}`
- Auth: HTTP bearer

Returns all answers a user, and members of the user's teams, have created for this area of interest. Only returns user answers when optional "restricted" query param is true

## Query parameters

- `restricted` string

## Response `200`

Example response

- object
  - `data` object[]
    - `id` string
    - `type` string
    - `attributes` Answer
      - `report` string, required: Report ObjectId
      - `reportName` string, required
      - `username` string
      - `organization` string
      - `areaOfInterest` string: Area ObjectId
      - `areaOfInterestName` string
      - `language` string, required
      - `userPosition` unknown[]
        - unknown
      - `clickedPosition` unknown[]
        - unknown
      - `startDate` string
      - `endDate` string
      - `layer` string
      - `user` string, required: User ObjectId
      - `responses` AnswerResponse[]
        - `id` string
        - `name` string, required
        - `value` string
      - `createdAt` string, date-time, required
      - `fullName` string
      - `teamId` string

## Other responses

- `401`: Error Response
- `404`: Error Response

## Changes

- **2022-08-25** `31b8e1ad5cc7`: 1 info
  - added the optional property `data/items/attributes/teamId` to the response with the `200` status
- **2022-07-25** `5c6e67b53fbd`: 1 info
  - added the new optional `query` request parameter `restricted`
- **2022-07-06** `b610159bfd24`: 1 info
  - added the optional property `data/items/attributes/fullName` to the response with the `200` status
- **2022-07-04** `a80d11c2af05`: 1 info
  - endpoint added
- **2022-05-24** `ea99e5a143e9`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/wri/apis/fw-forms/changes/v3/reports/:reportId/answers/area/:areaId/get.md)

---

[API](https://skmtc.dev/wri/apis/fw-forms.md) - [All operations](https://skmtc.dev/wri/apis/fw-forms/llms.txt) - [OpenAPI document](https://skmtc.dev/wri/apis/fw-forms/revisions/d54251cc1650?raw)
