---
title: "Get Sites By Company"
method: GET
path: "/api/sites/company/{company_id}"
tags: ["Sites"]
---

# Get Sites By Company

`GET /api/sites/company/{company_id}`

## Request

- Base URL: `https://api.avete.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avete.ai/api/sites/company/{company_id}`
- Auth: HTTP bearer

Returns all sites for a company for master/company admins.
For site_admin / company_member / foreman / worker: return only the site assigned to the requester.

## Path parameters

- `company_id` integer, required

## Response `200`

Successful Response

- SiteResponse[]
  - `site` string, required
  - `company_id` integer, required
  - `zipcode` string, nullable
  - `country` string, nullable
  - `prefecture` string, nullable
  - `city` string, nullable
  - `area` string, nullable
  - `block` string, nullable
  - `building` string, nullable
  - `id` integer, required
  - `member_count` integer
  - `zone_count` integer
  - `created_date` string, date-time, required
  - `updated_date` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/avete/apis/fastcognito.md) - [All operations](https://skmtc.dev/avete/apis/fastcognito/llms.txt) - [OpenAPI document](https://skmtc.dev/avete/apis/fastcognito/revisions/2c3bbf575ddb?raw)
