Skip to main content
GET
/
api-key
List API keys
curl --request GET \
  --url https://app.myhero.so/api-key \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "_id": "<string>",
      "userId": "<string>",
      "name": "<string>",
      "workspaceScope": "all",
      "workspaceIds": [
        "<string>"
      ],
      "accessTokenExpiresAt": 123,
      "createdAt": 123,
      "lastUsedAt": 123
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developers.myhero.so/llms.txt

Use this file to discover all available pages before exploring further.

Returns the calling user’s REST API keys (active only). Hashed tokens are never returned.

Authorizations

Authorization
string
header
required

HERO personal access token

Response

200 - application/json

200 response

data
object[]
required