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

Reset Alert

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

Resets an alert.

You can use this method after an alert has been triggered to keep the alert and wait for the alert to be triggered again.

Was this page helpful?
Previous

Take Alert Signal Ownership

Next
Built with

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
alertIdlongRequired

Response

AlertResponse
errorTextstring<=8192 characters

Non-empty if the request failed

alertobject