---
title: "List API tokens"
method: GET
path: "/api/project/tokens"
tags: ["Project Tokens"]
---

# List API tokens

`GET /api/project/tokens`

## Request

- Base URL: `https://{Your_Space_Name}.signalwire.com`
- URL: `https://{Your_Space_Name}.signalwire.com/api/project/tokens`
- Auth: one of:
  - HTTP basic
  - HTTP basic

Lists the project API tokens the caller can manage, newest first. Use it to find the `id` of a token before you [update](/docs/apis/rest/project-tokens/update-token), [regenerate](/docs/apis/rest/project-tokens/regenerate-token), or [delete](/docs/apis/rest/project-tokens/delete-token) it, or to check when each token last authenticated a request.

Token values are never returned. A token's value appears only in the response that issued it: [Create API token](/docs/apis/rest/project-tokens/create-token) or [Regenerate API token](/docs/apis/rest/project-tokens/regenerate-token).

With a project API token, the list covers the tokens of the authenticated project and its subprojects. With a [Personal access token](/docs/apis/authorization#personal-access-tokens), it covers the tokens of every project the token holder is enabled for, plus their subprojects. Pass `project_id` to narrow the list to one project.

#### Permissions

With a project API token, the token must have the following scope(s) enabled to make a successful request: _Management_.

With a [Personal access token](/docs/apis/authorization#personal-access-tokens) there are no scopes. The token holder must be an owner or admin of the space, and the request reaches only the projects the holder is enabled for, plus their subprojects.

[Learn more about API scopes](/docs/platform/your-signalwire-api-space).

## Query parameters

- `project_id` string, uuid: Universal Unique Identifier.
- `page_size` integer
- `page_token` string
- `page_number` integer

## Response `200`

The request has succeeded.

- ProjectTokenListResponse: A page of API tokens.
  - `links` ProjectTokenPaginationLinks, required: Pagination links for a list of API tokens.
    - `self` string, uri, required: The link to the current page.
    - `first` string, uri, required: The link to the first page.
    - `next` string, uri: The link to the next page. Only present when more results exist.
    - `prev` string, uri: The link to the previous page. Only present when a previous page exists.
  - `data` ProjectTokenResponse[], required: The tokens on this page. Token values are never included.
    - `id` string, uuid, required: Universal Unique Identifier.
    - `name` string, nullable, required: The name of the API Token. `null` when the token has no name.
    - `permissions` ProjectTokenPermission[], required: The permissions enabled for this token.
    - `last_used_at` string, date-time, nullable, required: The date and time the token last authenticated a request. `null` if it never has.
    - `revoked_at` string, date-time, nullable, required: The date and time SignalWire revoked the token's value, for example after detecting that the value was exposed. `null` if it has not been revoked. A revoked token keeps its `id` and still appears in [List API tokens](/docs/apis/rest/project-tokens/list-tokens), but its previous value no longer authenticates and no replacement value has been issued to you. To get a working value, [regenerate the token](/docs/apis/rest/project-tokens/regenerate-token), which also clears `revoked_at`.

## Other responses

- `401`: Access is unauthorized.
- `422`: A pagination parameter is invalid. A `page_token` that is not a cursor from a previous response returns `page_token_is_invalid`, and a `page_number` above 0 without a `page_token` returns `page_token_required_for_next_page`. A `page_size` outside 1 to 1000, a `page_number` that is negative or not an integer, or a `project_id` that is not a single value returns `invalid_parameter`.
- `500`: An internal server error occurred.

## Changes

> 173 revisions in range; 3 could not be searched.

- **2026-10-20** `69656bc25141`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/signalwire/apis/signalwire-rest-api/changes/api/project/tokens/get.md)

---

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