For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Support Center
OverviewAPIResources
OverviewAPIResources
  • REST API Endpoints
    • GETGet Timestamp
    • GETO IDC User Info
      • GETAdmin Alert Signal Dependents
      • GETAdmin Alert Signal Item
      • GETAdmin Alert Signal Items
      • GETAdmin Alert Signal L Dependents
      • GETAdmin Alert Signal List
      • GETAlert Dependents
      • GETAlert Item
      • GETAlert Items
      • GETAlert L Dependents
      • GETAlert Signal Dependents
      • GETAlert Signal Item
      • GETAlert Signal Items
      • GETAlert Signal L Dependents
      • POSTComplete Alert Signal
      • POSTCreate Alert
      • POSTDelete Alert
      • POSTDismiss Alert
      • POSTMark Read Alert Signal
      • POSTModify Alert
      • POSTReset Alert
      • POSTTake Alert Signal Ownership
Support Center
LogoLogo
REST API EndpointsAlerts

Alert Item

GET
https://demo-d.tradovateapi.com/v1/alert/item
GET
/v1/alert/item
1const url = 'https://demo-d.tradovateapi.com/v1/alert/item?id=1';
2const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
3
4try {
5 const response = await fetch(url, options);
6 const data = await response.json();
7 console.log(data);
8} catch (error) {
9 console.error(error);
10}
200Retrieved
1{
2 "timestamp": "2024-01-15T09:30:00Z",
3 "userId": 1,
4 "status": "Active",
5 "expression": "string",
6 "id": 1,
7 "validUntil": "2024-01-15T09:30:00Z",
8 "triggerLimits": 1,
9 "triggeredCounter": 1,
10 "failure": "string",
11 "message": "string"
12}

Fetches Alert entity by id field

Was this page helpful?
Previous

Alert Items

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

idlongRequired

Response

Alert
timestampdatetime
userIdlong
statusenum
Active, Expired, Failed, Inactive, TriggeredOut
Allowed values:
expressionstring<=4096 characters
idlong
validUntildatetime
triggerLimitsinteger0-10
triggeredCounterinteger>=0
failurestring<=64 characters
messagestring<=256 characters