API keys
View as Markdown

List API keys

No API key can call this route. It needs a signed-in dashboard user with the right role; a key answers 403. About scopes

GET
/api/v1/api-keys

Authorization

Authorization
Required
Bearer <token>

An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).

In: header

Query Parameters

limitstring

cursorstring

next_cursor from the previous page.

curl -X GET "https://globalymint.com/api/v1/api-keys?limit=string&cursor=string" \
  -H "Authorization: Bearer <token>"

API keys for the caller’s tenant and mode, newest first.

{
  "data": {
    "items": [
      {
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "name": "string",
        "mode": "test",
        "keyPrefix": "gpy_",
        "keyHint": "aB3x",
        "keyType": "developer",
        "scopes": [
          "string"
        ],
        "expiresAt": "2019-08-24T14:15:22Z",
        "lastUsedAt": "2019-08-24T14:15:22Z",
        "revokedAt": "2019-08-24T14:15:22Z",
        "revokedReason": "manual",
        "replacedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "createdAt": "2019-08-24T14:15:22Z"
      }
    ],
    "next_cursor": "string"
  },
  "_agent": {
    "summary": "string",
    "status": "ok",
    "next_actions": [
      "string"
    ],
    "warnings": [
      "string"
    ]
  },
  "api_version": "2026-07-01"
}