---
title: "Get All Team Areas By Team Id"
method: GET
path: "/v3/forest-watcher/area/teamAreas/{teamId}"
tags: ["v3"]
---

# Get All Team Areas By Team Id

`GET /v3/forest-watcher/area/teamAreas/{teamId}`

Return an array of area Ids that are associated with the supplied team id

## Response `200`

OK

- object
  - `data` Area[]
    - `name` string, required
    - `application` string, required
    - `geostore` string, required
    - `userId` string, required
    - `createdAt` string
    - `updatedAt` string
    - `image` string, required
    - `datasets` object[]
    - `use` object
    - `env` string
    - `iso` object
    - `admin` object
    - `tags` object[]
    - `status` string
    - `public` boolean
    - `fireAlerts` boolean
    - `deforestationAlerts` boolean
    - `webhookUrl` string
    - `monthlySummary` boolean
    - `subscriptionId` string
    - `email` string
    - `language` string
    - `confirmed` boolean
    - `teamId` string
    - `reportTemplate` object[]

## Other responses

- `401` — Error Response
- `404` — Error Response
- ``

## Changes

- **2022-07-06** `d862041fdb41` — 2 breaking, 1 info
  - the response's body type changed from `array` to `object` for status `200`
  - removed the media type `application/xml` for the response with the status `200`
  - added the optional property `data` to the response with the `200` status
- **2022-07-06** `d26e3360f1e1` — 2 info
  - added the optional property `data/items/attributes/reportTemplate` to the response with the `200` status (media type: application/xml)
  - added the optional property `items/attributes/reportTemplate` to the response with the `200` status (media type: application/json)
- **2022-07-06** `faa30dc0f23c` — 2 warning, 2 info
  - removed the optional property `data/items/attributes/team` from the response with the `200` status (media type: application/xml)
  - removed the optional property `items/attributes/team` from the response with the `200` status (media type: application/json)
  - added the optional property `data/items/attributes/teamId` to the response with the `200` status (media type: application/xml)
  - added the optional property `items/attributes/teamId` to the response with the `200` status (media type: application/json)
- …earlier changes not shown

[Full history](https://skmtc.dev/wri/apis/fw-api/changes/v3/forest-watcher/area/teamAreas/:teamId/get.md)

---

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