Skip to main content
GET
Get permissions for a new API key

Authorizations

x-api-key
string
header
required

Your platform key for user management, or a user key for everything else.

Headers

Sapiom-Scope
string

tenant: and a user's ID. A versioned platform key uses it to act for that user.

Response

accessTypes
object[]
required
authorizationVersion
enum<number>
required
Available options:
1
issuanceEnabled
boolean
required

Whether Sapiom accepts versioned key creation. When it is false, you can still read this list.

issuanceRestrictions
enum<string>[]
required

Why your key cannot create a versioned key through the matching create endpoint.

Available options:
issuance_disabled,
unsupported_issuer_source,
missing_creation_permission,
email_unverified
keyType
enum<string>
required

live or test. Your key's environment decides it.

Available options:
live,
test
permissions
object[]
required
tenantDefaults
object
required
tenantId
string<uuid>
required

The organization or user that the matching create endpoint creates keys for.