---
title: "List personal API tokens"
method: GET
path: "/api/tokens"
tags: ["Clients and tokens"]
---

# List personal API tokens

`GET /api/tokens`

## Request

- Base URL: `https://keep.md`
- URL: `https://keep.md/api/tokens`
- Auth: API key in cookie `keep.session_token`

List personal API tokens.

## Query parameters

- `type` 'personal'

## Headers

- `Keep-API-Version` string

## Response `200`

API tokens

- object
  - `tokens` ApiToken[], required
    - `id` string, required
    - `type` 'personal', required
    - `tokenType` 'personal'
    - `token` string: Returned only when a credential is created or rolled.
    - `name` string, nullable
    - `permissions` string[]
    - `scopeVersion` integer
    - `resourceScope` ResourceScope
      - `tagSlugs` string[]
      - `collectionIds` string[]
    - `tokenPrefix` string
    - `tokenSuffix` string
    - `createdAt` integer, required
    - `updatedAt` integer
    - `lastUsedAt` integer, nullable

## Other responses

- `400`: Invalid request
- `401`: Authentication required
- `403`: The credential lacks access or the plan does not include the feature

---

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