Skip to main content

CreateApiKeyRequest

Create API key request

expiresAtstring,null<date-time>nullable

Optional expiration date

Example: 2025-12-31T23:59:59Z
namestringrequired

Name/description for the API key

Example: Mobile App Key
permissionsstring[]nullable

Permissions for the API key (array of permission strings) If not provided, uses the user's current permissions

CreateApiKeyRequest
{
"expiresAt": "2025-12-31T23:59:59Z",
"name": "Mobile App Key",
"permissions": "Unknown Type: array,null"
}