GET
/
tokens
curl --request GET \
  --url https://kq5jp7qj7wdqklhsxmovkzn4l40obksv.lambda-url.eu-central-1.on.aws/tokens \
  --header 'Authorization: Bearer <token>'
{
  "tokens": [
    {
      "created_at": "<string>",
      "created_by": "<string>",
      "expires_at": "<string>",
      "id": "<string>",
      "last_used": "<string>",
      "name": "<string>",
      "status": "<string>",
      "token_type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

user_id
string

Filter tokens by user ID (admin only)

Response

200
application/json

Successfully retrieved token list

List of API tokens for a user

Returns all tokens created by or associated with a user, excluding the actual token values for security.