admin

List your API tokens

Lists the calling user's own tokens in their org - identity and lifecycle only, never a secret or a hash. Other members' tokens are never listed, regardless of role.

get/tokens

Request

  • Base URL: https://api.letsship.ai/v1
  • URL: https://api.letsship.ai/v1/tokens
  • Auth: HTTP bearer

Response

The caller's tokens.

Example response

{
  "data": [
    {
      "id": "tok-pat-9b8e2a3f",
      "name": "laptop CLI",
      "prefix": "pat",
      "scopes": [
        "missions:run"
      ],
      "expiresAt": 1743465600000,
      "createdAt": 1735689600000,
      "lastUsedAt": 1735776000000
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.