Skip to main content
GET
/
v1
/
me
/
personal-tokens
List Personal Tokens
curl --request GET \
  --url https://api.letpiper.com/v1/me/personal-tokens/ \
  --header 'Authorization: Bearer <token>'
{
  "tokens": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "organization_ids": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ],
      "expires_at": "2023-11-07T05:31:56Z",
      "last_used_at": "2023-11-07T05:31:56Z",
      "is_active": true,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "token_preview": "<string>",
      "permissions": [
        "<string>"
      ]
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

Platform token (starts with pat_)

Query Parameters

limit
integer
default:100
Required range: 1 <= x <= 500
offset
integer
default:0
Required range: x >= 0

Response

Successful Response

Paginated response for listing personal tokens.

tokens
PersonalTokenRead · object[]
required
total
integer
required