Details Of A Specific Alert

View as MarkdownOpen in Claude
Request details of a specific alert by providing the assigned alertId Id.

Path parameters

alertIdlongRequired

Query parameters

typeenumRequired
queryType
Allowed values:

Response

An object containing all unique details of the specified alert.
accountstring
Requestor's account ID
order_idlong
Alert's tracking ID. Can be used for modifying or deleting alerts.
alertNamestring
Human readable name of the alert.
tifstring
Time in Force effective for the Alert
expire_timestring
Returns the UTC formatted date used in GTD orders.
alert_activeenum

Returns if the alert is active [1] or disabled [0].

alert_repeatablelong
Returns if the alert can be sent more than once.
alert_emailstring
Returns the designated email address for sendMessage functionality.
alert_send_messagelong
Returns whether or not the alert will send an email.
alert_messagestring
Returns the body content of what your alert will report once triggered
alert_show_popuplong

Returns whether or not the alert will trigger TWS Pop-up messages

alert_play_audiolong
Returns whether or not the alert will play audio
order_statusenum
represent order statusAlways returns "Presubmitted".
alert_triggeredlong
Returns whether or not the alert was triggered yet.
fg_colorstring
Foreground color. Not applicable to API.
bg_colorstring
Background color. Not applicable to API.
order_not_editableboolean
Returns if the order can be edited.
itws_orders_onlylong
Returns whether or not the alert will trigger mobile notifications.
alert_mta_currencystring

Returns currency set for MTA alerts. Only valid for alert type 8 & 9.

alert_mta_defaultsstring
Returns current MTA default values.
tool_idlong
Tracking ID for MTA alerts only. Returns 'null' for standard alerts.
time_zonestring

Returned for time-specific conditions.

alert_default_typelong
Returns default type set for alerts. Configured in Client Portal.
condition_sizelong
Returns the total number of conditions in the alert.
condition_outside_rthlong
Returns whether or not the alert will trigger outside of regular trading hours.
conditionslist of objects
Returns all conditions

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error
503
Service Unavailable Error