Create a new API key.
The plaintext key is returned only in this response and cannot be retrieved later. Store it securely immediately.
API Key authentication. Format: dk_test_
Request schema for creating a new API key (POST /v1/keys).
Attributes: name: Human-readable name for the API key (e.g., "Production API Key") environment: Key environment - "live" for production, "test" for testing (default: "live")
API key created successfully
Response for newly created API key (shown only once).
WARNING: The api_key field is shown only in this response. Once this response is received, the plaintext key cannot be retrieved again. Store it securely immediately.
Unique API key identifier
Human-readable name for this API key
The actual API key (shown ONLY in this response - cannot be retrieved later)
Key environment (live or test)
Key creation timestamp (ISO 8601)