devguard
Notifications

List the current user's notifications for an organization.

GET
/notifications/

Authorization

Authorization
AuthorizationBearer <token>

In: header

Query Parameters

limit?number
Range5 <= value
Default100
page?number
Range1 <= value
Default1
organizationId*string
Length1 <= length
unreadOnly?boolean
Defaultfalse

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/notifications/?organizationId=string"
{  "items": [    {      "id": "string",      "type": "string",      "category": "POLICIES",      "payload": {        "titleKey": "string",        "bodyKey": "string",        "params": {},        "url": "string",        "entityType": "string",        "entityId": "string",        "entityLabel": "string",        "entityMeta": "string"      },      "readAt": "string",      "createdAt": "string"    }  ],  "total": 0,  "page": 0,  "limit": 0}

How is this guide?