api-keys
Generate API Key
Changed onEndpoint for generating a new API key with an automatically created key pair. This endpoint generates a key pair of the requested key_type (RSA when omitted). The public key is stored on the platform, while the private key is returned to the user and must be stored securely. The private key cannot be retrieved again.
post/api_keys/generate
Request
- Base URLhttps://external-api.kalshi.com/trade-api/v2
- URLhttps://external-api.kalshi.com/trade-api/v2/api_keys/generate
- AuthAPI key in header KALSHI-ACCESS-KEY and API key in header KALSHI-ACCESS-SIGNATURE and API key in header KALSHI-ACCESS-TIMESTAMP
Request body
Response
API key generated successfully
Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info
- info
added the new
write::fcm_riskenum value to the request property/
- info