latestOpenAPI 3.0.32026-08-224982,0272.8 MB

e445c15e5bee

User

List access tokens

Returns all non-expired long-lived access tokens for the authenticated user. Results are paginated using cursor-based pagination. Use the prevId query parameter with the nextBatchPrevId value from the previous response to fetch the next page. The default page size is server-configured (currently 100); maximum is 200.

get/api/v2/user/accesstoken

Query parameters

limitstring number

Maximum number of results to return (server-configured default, max: 200)

prevIdstring

Cursor for pagination; use the nextBatchPrevId value from the previous response

sort'ASC' | 'DESC'

Sort order for results. ASC (default) returns oldest-first; DESC returns newest-first

Response

OK

nextBatchPrevIdstring

Example response

{
  "accessTokens": [
    {
      "id": "59cd72485007a239fb00282ed480da1f",
      "ip": "127.0.0.1",
      "origin": "test.bitgo.com",
      "scope": [
        "crypto_compare",
        "user_manage",
        "openid",
        "profile",
        "wallet_create",
        "wallet_manage_all",
        "wallet_approve_all",
        "wallet_spend_all",
        "wallet_edit_all",
        "wallet_view_all"
      ],
      "user": "59cd72485007a239fb00282ed480da1f"
    }
  ]
}