GET
/v1/notificationsList notifications
Returns recent operational notifications and their read state.
Authentication
Requires Authorization: Bearer ${API_KEY}. Create and rotate keys from the TrackLayer dashboard.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
unread | boolean | No | Only return unread notifications. |
Response schema · 200
{
"notifications": [
{
"id": "ntf_123",
"type": "delivery_failure",
"read": false
}
]
}Response example
{
"notifications": [
{
"id": "ntf_123",
"type": "delivery_failure",
"read": false
}
]
}Code examples
curl https://api.tracklayer.com/v1/notifications \
-H "Authorization: Bearer ${API_KEY}"Try it out
Use the dashboard to create an API key, then run one of the examples above with TRACKLAYER_API_KEY set in your environment.