# List personal access tokens waiting for approval

> The tokens made for the workspace that wait for an owner's approval, as list_member_tokens shows them.

<div class="g1t-endpoint"><span class="g1t-method" data-method="get">GET</span><code>/workspaces/{workspace}/personal-access-token-requests</code></div>

Until approved, a token reaches public repositories only. Owners only, as people.

- **Authentication:** Required. Send an [access token](/reference/api/#authentication) as `Authorization: Bearer`.
- **MCP tool:** [`workspace`](/reference/mcp/#workspace) with `action` `list_token_requests`, and the same inputs
- **Scope:** An access token needs [`access:read`](/guides/authentication/#scopes).

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `workspace` | string | Yes | The workspace's name, e.g. "acme". |

## Example request

```sh
curl https://api.g1t.sh/workspaces/flagon-io/personal-access-token-requests \
  -H "Authorization: Bearer $G1T_TOKEN"
```

## Example response

A successful request answers `200` with:

```json
[
  {
    "id": "tok_01HZX3K2M9V7Q4N8B6D5C3A2E1",
    "name": "release-bot",
    "owner": "ada",
    "description": "Publishes releases from CI",
    "created_at": "2026-10-08T09:00:00.000Z",
    "created_by": null,
    "last_used_at": null,
    "expires_at": "2026-11-07T09:00:00.000Z",
    "scopes": [
      "repo:read",
      "code:write"
    ],
    "workspace": "flagon-io",
    "repository_selection": "selected",
    "repositories": [
      "flagon-io/hello"
    ],
    "permissions": {
      "code": "write",
      "repo": "read"
    },
    "status": "pending",
    "review_reason": null,
    "reaches": false,
    "blocked_by": "pending approval"
  }
]
```

## Errors

A failed request answers with one of these statuses and a body like `{"error": {"code": "not_found", "message": "Repository not found."}}`. See [errors](/reference/api/#errors).

| Status | Code | When |
| --- | --- | --- |
| 401 | `unauthenticated` | A token is required, or the one sent is not valid. |
| 403 | `forbidden` | The token is valid but not allowed to do this, such as a member-only change or an agent token outside its repository. |
| 404 | `not_found` | It does not exist, or you cannot see it. |
| 422 | `invalid` | The input is not valid. `message` says which field and why. |
