Retrieve a list of email addresses to which alarms reports are sent. Partners can receive a list of email addresses from a specific organization by providing the organization ID.
Successful operation
Bad request error
Unauthorized error
Forbidden error
Not found error
Internal server error
curl -i -X GET \ 'https://api-prod.surfsight.net/v2/recipients/alarms?organizationId=17' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "data": [
- {
- "email": "email@email.com",
- "reportIntervalSeconds": 3600,
- "alarmDefinitions": [
- {
- "id": 625,
- "name": "Hardware failure: Unable to start camera sensor and record video"
}
], - "id": 23,
- "createdByAudienceName": "surfsight",
- "createdById": 23,
- "targetEntity": "organization",
- "targetId": 27,
- "lastReportAt": "2019-08-24T14:15:22Z"
}
]
}