GET
/
api
/
v1
/
account
/
tokens
List User Api Tokens Endpoint
import requests

url = "https://platform.ankra.app/api/v1/account/tokens"

response = requests.get(url)

print(response.json())
[
  {
    "id": "<string>",
    "name": "<string>",
    "expires_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z",
    "revoked_at": "2023-11-07T05:31:56Z"
  }
]

Headers

authorization
string | null

Response

200
application/json

Successful Response

The response is of type ListUserTokensResponse · object[].