Users
Upsert a venue API key
PUT
appIdbearerAuthheader
x-app-id<token>Your application ID. Required on app-tier and user-tier routes. Omitted on routes that authenticate with x-app-api-key only.
header
AuthorizationBearer <JWT>JWT access token from POST /auth/verify. Required with x-app-id on user routes. On the smart-route quote it is optional and turns a preview into an executable quote.
application/json- body
venue*"kalshi"Value in
"kalshi"credentials*200
application/json- response
venue*VenueValue in
"kalshi""polymarket""limitless""predict""pred""tiprun""myriad""hyperliquid""novig""prophetx""betdex""lighter"updatedAt*stringcurl -X PUT 'https://api.t.sufwankhalid.com/venue-keys' \ -H 'Content-Type: application/json' \ -d '{ "venue": "kalshi", "credentials": { "keyId": "string", "privateKey": "string" }}'Example Response
{ "venue": "kalshi", "updatedAt": "string"}