API Key
API key metadata used to authenticate API requests.
- createdType: string Format: date-timerequired
Time at which the API key was created.
- idType: stringmax length:100required
Unique identifier for the object.
- livemodeType: booleanrequired
Has the value
trueif the object exists in live mode or the valuefalseif the object exists in test mode. - nameType: stringmax length:100required
The API key's display name.
- permissionsType: array string[]required
Permissions granted to this API key.
- expiresType: string | null Format: date-time
_at Time at which this key stops being accepted. During rotation this is set on the previous key when a grace period is used.
- hideType: boolean | null
_on _next _view Whether clients should hide the key value after the current view.
- lastType: string | null Format: date-time
_used _at Time at which this API key was last used.
- parentType: string | null
_key Identifier of the key this key was rotated from.
- replacedType: string | null
_by _key Identifier of the key that replaced this key during rotation.
- revealableType: boolean | null
Whether this key can be revealed through an explicit reveal endpoint.
- roleType: string | null
Role associated with the key when available.
- secretType: string | null
Present only on responses explicitly allowed to reveal the key value.
- secretType: string | null
_redacted Redacted key value safe for display.
- statusType: string | null enumvalues
- active
Key can authenticate requests.
- expiring
Key is still accepted during a rotation grace period.
- disabled
Key is disabled and cannot authenticate requests.
- revoked
Key has been revoked and cannot authenticate requests.
- typeType: string | null enumvalues
- secret
Secret key used by server-side integrations.
- publishable
Publishable key used by client-side integrations where supported.
- restricted
Restricted key with a limited permission set.
- useType: integer | null Format: int64
_count Number of times this API key has been used, when available.

