latestOpenAPI 3.1.02026-08-22181751733.6 KB
67f9f562c2c6
preTradeComplianceRestrictions
Get Restriction Details
Returns full details of a restriction including rules. The restriction must be owned by the caller. Returns 403 for both unauthorized and non-existent restrictions to prevent ID enumeration.<br><br>Scope: restrictions.read<br>Security Policy: HTTPS
get/gw/api/v1/restrictions/restriction
Query parameters
masterUserNamestring required
IBKR master username of the authenticated caller. Max 64 characters.
restrictionIdinteger required
Positive integer. Decimals and non-numeric values return 400.
isEmpTrackstring
Set to T for employer-track authorization.
Headers
Authorizationstring required
RS256-signed JWT (Bearer format), signed with your registered private key. Must contain an accountId claim identifying the master account. A missing or invalid token returns HTTP 401.
Response
Full restriction details.