External Notifications API
Use this endpoint to fetch sent notifications for a single location by combining that location's UUID-style location ID with an active private API key created for the same location.
Authentication
Every request must include both a location ID and an active API key. This information can be obtained from the API Access screen.
Recommended headers
x-location-id: your-location-uuid x-api-key: your-active-api-key Accept: application/json
Also supported:
- Query string:
locationID,APIKEY - Alternate headers:
location-id,api-key - Authorization:
Bearer <api key>
Endpoint
The endpoint to call for "Get Notifications"
GET
Optional query parameters
| Name | Type | Notes |
|---|---|---|
startDate |
string | MM/DD/YYYYdefaults to current date |
endDate |
string | MM/DD/YYYYdefaults to current date |
limit |
integer | Defaults to 100maximum is 1000 |
offset |
integer | Defaults to 0 |
Live API Request
Enter the request values below to call the live notifications endpoint directly from this page and inspect the JSON response.
Code Example
Generated from the current request values.
Successful response
The response echoes the applied startDate and endDate so the effective query window is visible even when defaults are used.
{
"success": true,
"locationID": "abc123uuid",
"locationName": "Main Campus",
"startDate": "03/01/2026",
"endDate": "03/12/2026",
"numberOfRecordsInQuery": 5,
"totalRecords": 5,
"startOffset": 1,
"numRecordsReturned": 2,
"numberOfPagesRemaining": 1,
"limit": 2,
"data": [
{
"id": 101,
"title": "Test One",
"message": "Body 1",
"created_at": "2026-03-12T10:00:00.000Z",
"target_audience": "all",
"target_param": null,
"priority": "normal",
"delivery_channels": ["pager"],
"recipient_source_type": "team",
"recipient_source_ref": "ER",
"sender_id": 3,
"sender_name": "Alice Admin",
"recipient_count": 4
}
]
}
Common errors
| Status | Example |
|---|---|
| 400 | locationID and APIKEY are required. |
| 400 | startDate must be a valid date. |
| 401 | Invalid locationID or APIKEY. |
| 403 | This location is inactive. |
| 403 | The API key is inactive. |
| 403 | API access is disabled because this location does not currently have an active API access entitlement. |
| 500 | Server error |
Postman setup
- Create a new HTTP request in Postman.
- Set the method to
GET. - Use
as the URL. - Add headers for
x-location-id,x-api-key, and optionallyAccept: application/json. - Add optional params like
startDate,endDate,limit, andoffsetonly when needed.
Starter example
GET /api/notifications?startDate=03/01/2026&endDate=03/12/2026&limit=100&offset=0