GET
/
api
/
v1
/
auth
/
token-auth
/
identities
/
{identityId}
/
tokens
curl --request GET \
  --url https://us.infisical.com/api/v1/auth/token-auth/identities/{identityId}/tokens \
  --header 'Authorization: Bearer <token>'
{
  "tokens": [
    {
      "id": "<string>",
      "accessTokenTTL": 2592000,
      "accessTokenMaxTTL": 2592000,
      "accessTokenNumUses": 0,
      "accessTokenNumUsesLimit": 0,
      "accessTokenLastUsedAt": "2023-11-07T05:31:56Z",
      "accessTokenLastRenewedAt": "2023-11-07T05:31:56Z",
      "isAccessTokenRevoked": false,
      "identityUAClientSecretId": "<string>",
      "identityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "authMethod": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

An access token in Infisical

Path Parameters

identityId
string
required

The ID of the identity to list token metadata for.

Query Parameters

offset
number
default:
0

The offset to start from. If you enter 10, it will start from the 10th token.

Required range: 0 < x < 100
limit
number
default:
20

The number of tokens to return.

Required range: 1 < x < 100

Response

200
application/json
Default Response
tokens
object[]
required