Creates a new API key with the specified alias.
Requirements:
Important Security Notice:
The key_secret is only returned once at creation time. Store it securely immediately
as it cannot be retrieved again. If lost, you must delete the key and create a new one.
Key Features:
Common Use Cases:
Admin API key must be prefixed with "Key ", e.g. Authorization: Key YOUR_ADMIN_API_KEY
Request body for creating a new API key
Required friendly name for the API key
1 - 255"Production Key"
API key created successfully. Store the key_secret securely - it will not be shown again.
Response containing the newly created API key credentials. The key_secret is only returned once.
Unique identifier for the newly created API key
"abc123def456"
Secret portion of the API key. IMPORTANT: This is only returned once at creation time and cannot be retrieved again.
"sk_live_abc123..."
Full API key in the format 'key_id:key_secret'. Use this value directly for API authorization. IMPORTANT: This is only returned once at creation time and cannot be retrieved again.
"abc123def456:sk_live_abc123..."