Skip to main content

ApiKey

An ApiKey is mostly used for authenticating non-interactive clients such as scripts or other types of services. An ApiKey is associated with a User whose permissions will apply when the ApiKey is used for authorization.

Similar to how passwords are handled, only a hash of the API key is stored in the database meaning, generated API-Keys are not viewable after creation, Users are responsible for storing them.

Hence, if a User forgets their ApiKey, the old one must be deleted and a new one created. This is called "rotating" an ApiKey.

Signature

lookupId

propertystring

apiKeyHash

propertystring

lastUsedAt

propertyDate | null

deletedAt

propertyDate | null

owner

propertyUser

ownerId

propertyID

user

propertyUser

userId

propertyID

channels

propertyChannel[]

translations

propertyArray<Translation<ApiKey>>

customFields

propertyCustomApiKeyFields

name

propertyLocaleString
Was this chapter helpful?
Report Issue
Edited Apr 20, 2026ยทEdit this page