Skip to main content
POST
Connect your own Kalshi account by storing its API credentials

Authorizations

X-Client-Id
string
header
required

Credential client id (kairos_ck_...). Must be sent together with X-Api-Key and X-Api-Secret.

X-Api-Key
string
header
required

64-char hex API key.

X-Api-Secret
string
header
required

64-char hex API secret.

Body

application/json

Body for POST /exchanges/kalshi/enable-trading. Kalshi trades against the user's OWN Kalshi account, so the caller supplies their own Kalshi API credentials — Kairos does not provision them.

api_key_id
string
required

Kalshi API Key ID (the public identifier). Must be non-blank.

private_key_pem
string
required

The matching RSA private key, PEM-encoded. Both PKCS#1 (BEGIN RSA PRIVATE KEY) and PKCS#8 (BEGIN PRIVATE KEY) are accepted, and a key pasted as a single line with literal \n escape sequences is normalized server-side.

Response

Credentials validated against Kalshi and stored.

success
boolean
required
message
string
required