cURL
curl --request GET \ --url https://api.decodahealth.com/notifications \ --header 'API-KEY: <api-key>' \ --header 'TENANT: <tenant>'
{ "data": [ { "id": "<string>", "read": true, "createdDate": "2023-11-07T05:31:56Z", "alert": { "type": "PATIENT_CREATED", "content": "" } } ], "unreadCount": 123, "nextCursor": "<string>" }
Get notifications for the current provider with cursor-based pagination
The tenant you are making this request on behalf of
Your api key
Filter by alert types
1 <= x <= 100
Successful Response
Cursor-paginated notification response with unread count metadata
Show child attributes