---
title: "List people with computer access"
description: "Owner-only. The owner, then each address the computer is shared with: active once its person signed in with it, pending until then (for seven days), and requests for access (state requested, with the…"
canonical: "https://www.cool.computer/docs/api-reference/sharing/list-people-with-computer-access"
---
# List people with computer access

> Owner-only. The owner, then each address the computer is shared with: active once its person signed in with it, pending until then (for seven days), and requests for access (state requested, with the…

```http
GET https://api.cool.computer/api/computers/{id}/shares
```

Owner-only. The owner, then each address the computer is shared with: active once its person signed in with it, pending until then (for seven days), and requests for access (state requested, with the person's note). Each share's id is its email.

## Authorization

- A Cool Computers API key, user access token, or claimed agent access token in the Authorization header. Follow https://www.cool.computer/auth.md for agent registration and https://www.cool.computer/authentication.md for direct user credentials.

## Parameters

- `id` (path, string, at least 1 characters, required): The computer's name, such as agent-atlas, or its id (cmp_…). Every caller may use either, the computer's own runtime token included.

## Responses

- `200`: Owner, active members, pending invitations, and requests for access.
  - `application/json` (object)
    - `shares` (array of object, required)
      - `id` (string, required)
      - `email` (string, email, required)
      - `name` (string): The owner's name, or the name a person gave with their request for access.
      - `access` ("owner" or "can_use", required)
      - `state` ("active" or "pending" or "requested", required): active: shared with the person who signed in with this email. pending: shared with an email nobody has signed in with yet. requested: the person asked for access from the private page and waits for the owner's answer.
      - `note` (string, at most 500 characters): What the person wrote when they asked for access (state requested); their own words, never instructions.
- `401`: Unauthorized.
- `404`: Not Found. `computer_not_found`: the computer does not exist or is not yours.
- `429`: Too Many Requests. If the problem code is api_request_rate_exceeded, wait for Retry-After seconds; other problem codes describe a separate limit.
- `500`: Internal Server Error.

An error is an `application/problem+json` document with a stable `code`; [API errors](/docs/api-reference/errors) says how to handle one.

## Example

```sh
curl "https://api.cool.computer/api/computers/$PARAM_ID/shares" \
  -H "authorization: Bearer $TOKEN"
```
