Skip to main content
This is the user’s venue credential. Every Kalshi trade, managed or self-custody, uses it. See Kalshi. It is not your app’s x-app-api-key. Authenticate with x-app-id and Authorization: Bearer. The stored secret is never returned.
The cURL example uses jq to JSON-encode the PEM key, preserving its line breaks. Keep the key out of source control and logs. Full shapes on Upsert a venue API key and Get venue key connection status. List stored summaries with List venue keys (client.listVenueKeys()). Remove one with Delete a venue key (client.deleteVenueKey(Venue.kalshi)).