Request This endpoint expects an object.
callback_url string Required format: "uri"
The callback URL to redirect to after authorization. Note, only https URLs on ports 443 and 3000 are allowed.
code_challenge string Optional
PKCE code challenge for enhanced security
code_challenge_method enum Optional
The method used to generate the code challenge
Allowed values: S256 plain
expires_at datetime or null Optional
Optional expiration time for the API key to be created
key_label string Optional <=100 characters
Optional custom label for the API key. Defaults to the app name if not provided.
limit double Optional
Credit limit for the API key to be created
usage_limit_type enum Optional
Optional credit limit reset interval. When set, the credit limit resets on this interval.
Allowed values: daily weekly monthly
Response Successfully created authorization code