cURL
curl --request GET \ --url https://api.elections.kalshi.com/trade-api/v2/portfolio/order_groups \ --header 'KALSHI-ACCESS-KEY: <api-key>' \ --header 'KALSHI-ACCESS-SIGNATURE: <api-key>' \ --header 'KALSHI-ACCESS-TIMESTAMP: <api-key>'
{ "order_groups": [ { "id": "<string>", "is_auto_cancel_enabled": true } ] }
Retrieves all order groups for the authenticated user.
Your API key ID
RSA-PSS signature of the request
Request timestamp in milliseconds
Order groups retrieved successfully
Show child attributes
Unique identifier for the order group
Whether auto-cancel is enabled for this order group