---
title: "The account's personal access tokens, newest first"
method: GET
path: "/access-tokens"
tags: ["Account"]
---

# The account's personal access tokens, newest first

`GET /access-tokens`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/access-tokens`
- Auth: HTTP bearer

Expired tokens are listed too; they are still the owner's to revoke.

## Response `200`

OK

- object
  - `data` AccessToken[], required
    - `id` string, uuid, required
    - `name` string, required
    - `scope` 'read' | 'write', required
    - `tokenId` string, required
    - `createdAt` string, required
    - `expiresAt` string, required
    - `lastUsedAt` string, nullable, required
    - `oauthClient` object, nullable, required
      - `name` string, required
    - `refreshExpiresAt` string, nullable, required
  - `meta` object, required
    - `requestId` string, required

---

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