api-keys
Create API Key
Changed onEndpoint for creating a new API key with a user-provided public key. This endpoint allows users with Premier or Market Maker API usage levels to create API keys by providing their own RSA or Ed25519 public key in PEM format. The platform will use this public key to verify signatures on API requests: RSA-PSS with SHA-256 for RSA keys, Ed25519 for Ed25519 keys.
post/api_keys
Request
- Base URLhttps://external-api.kalshi.com/trade-api/v2
- URLhttps://external-api.kalshi.com/trade-api/v2/api_keys
- 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 created successfully
Changes
- info
added the new
write::fcm_riskenum value to the request property/
- info
- info
added the new optional request property
- info
added the non-success response with the status
- info
added the optional property
to the response with the status
- info