Skip to main content
GET
/
api
/
v1
/
account
/
tokens
List User Api Tokens Endpoint
import requests

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

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
[
  {
    "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"
  }
]

Authorizations

Authorization
string
header
required

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

Headers

authorization
string | null

Response

Successful Response

id
string<uuid4>
required
name
string
required
expires_at
string<date-time>
required
created_at
string<date-time>
required
revoked_at
string<date-time> | null
required