cURL
curl --request GET \ --url https://api.elections.kalshi.com/trade-api/v2/portfolio/order_groups/{order_group_id} \ --header 'KALSHI-ACCESS-KEY: <api-key>' \ --header 'KALSHI-ACCESS-SIGNATURE: <api-key>' \ --header 'KALSHI-ACCESS-TIMESTAMP: <api-key>'
{ "is_auto_cancel_enabled": true, "orders": [ "<string>" ] }
Retrieves details for a single order group including all order IDs and auto-cancel status.
Your API key ID
RSA-PSS signature of the request
Request timestamp in milliseconds
Order group ID
Order group retrieved successfully
Whether auto-cancel is enabled for this order group
List of order IDs that belong to this order group