---
title: "Get Granted Sites"
method: GET
path: "/v1/externals/{user_id}/sites"
tags: ["externals"]
---

# Get Granted Sites

`GET /v1/externals/{user_id}/sites`

## Request

- Base URL: `https://api.shapemaker.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.shapemaker.io/v1/externals/{user_id}/sites`
- Auth: OAuth 2
  - Password
  - Token URL: `/v1/auth`

List the doc ids of the live sites this external collaborator has been
granted.

## Path parameters

- `user_id` integer, required

## Response `200`

Successful Response

- ExternalUserSitesView
  - `docIds` string[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/shapemaker/apis/shapemaker-api.md) - [All operations](https://skmtc.dev/shapemaker/apis/shapemaker-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shapemaker/apis/shapemaker-api/revisions/b8461cf1236c?raw)
