Skip to main content
GET
/
v1
/
sub-accounts
/
{id}
/
api-keys
List sub-account API keys
curl --request GET \
  --url https://api.zavu.dev/v1/sub-accounts/{id}/api-keys \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "<string>",
      "name": "<string>",
      "keyPrefix": "<string>",
      "environment": "live",
      "createdAt": 123,
      "key": "<string>",
      "permissions": [
        "<string>"
      ],
      "lastUsedAt": 123,
      "revokedAt": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Sub-account ID.

Response

List of API keys.

items
object[]
required