Gets the all active (not closed or removed) incidents under a team.
HTTP
GET https://www.troposalerts.com/api/teams/{teamId}/incidents
GET https://www.troposalerts.com/api/teams/{teamId}/incidents?page=2
GET https://www.troposalerts.com/api/teams/{teamId}/incidents?alertId=588d4c4b-6105-4ae2-b8a4-55654a90a550
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
teamId | path | True | Guid | Identifier of the team |
page | path | False | Int | 100 incidents are returned at a time. To return more than 100, you must page through the results. |
alertId | path | False | Guid | Return incidents that have a specific alert associated with it. |
Response
JSON
[
{
"id": "1d279bfb-0ef4-41b4-8412-e83f28a85ffb",
"friendlyId": "100009",
"teamId": "ab2b8639-2e20-4db1-a079-9d0bf64d44d8",
"priority": "Normal",
"title": "An Alert Occurred",
"details": "Foo bar",
"modifiedDate": "2020-08-02T15:23:44.982Z",
"createdDate": "2020-08-02T15:23:44.982Z",
"status": "New"
},
{
"id": "03b6399a-dad9-4778-ac58-95bc5cfbc2bb",
"friendlyId": "100007",
"teamId": "ab2b8639-2e20-4db1-a079-9d0bf64d44d8",
"priority": "Normal",
"title": "Another Incident",
"details": "Blip blop",
"modifiedDate": "2020-08-12T15:28:40.371Z",
"createdDate": "2020-08-02T15:23:44.973Z",
"status": "Acknowledged"
}
]
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article