Retrieve notifications with optional filtering and pagination.
The following roles are required to use this endpoint: signalhouse_api, signalhouse_admin, signalhouse_user, admin, developer, api, billing, user
| Field | Type | Required | Description |
|---|---|---|---|
id | Query Param | Optional | Specific Notification ObjectId. |
groupId | Query Param | Optional | Filter by Group ID. |
status | Query Param | Optional | Filter by status: READ or UNREAD. |
eventTypes | Query Param | Optional | Comma-separated list of event types to filter by. |
page | Query Param | Optional | Page number for pagination (default: 1). |
limit | Query Param | Optional | Results per page, max 100 (default: 10). |
[
{
"_id": "60f7b2a1c9e77c001a2b3c5b",
"groupId": "G1234567",
"eventType": "BRAND_CREATION_SUCCESSFUL",
"status": "UNREAD",
"message": {
"brandId": "B1234567",
"displayName": "Acme Corp",
"status": "VERIFIED"
},
"createdAt": "2024-01-15T12:05:00.000Z",
"updatedAt": "2024-01-15T12:05:00.000Z"
}
]Bulk update the status of one or more notifications.
The following roles are required to use this endpoint: signalhouse_api, signalhouse_admin, signalhouse_user, admin, developer, api, billing, user
| Field | Type | Required | Description |
|---|---|---|---|
ids | Array[String] | Required | Array of Notification ObjectIds to update. |
status | String | Required | New status: READ or UNREAD. |
status values: READ, UNREAD
{
"ids": [
"60f7b2a1c9e77c001a2b3c4d"
],
"status": "READ"
}{
"modifiedCount": 1
}Delete a single notification.
The following roles are required to use this endpoint: signalhouse_api, signalhouse_admin, signalhouse_user, admin, developer, api, billing, user
| Field | Type | Required | Description |
|---|---|---|---|
id | URL Param | Required | Notification ObjectId to delete. |
{
"_id": "60f7b2a1c9e77c001a2b3c4d",
"groupId": "G1234567",
"eventType": "BRAND_CREATION_SUCCESSFUL",
"status": "UNREAD",
"message": {
"brandId": "B1234567",
"displayName": "Acme Corp",
"status": "VERIFIED"
},
"createdAt": "2024-01-15T12:00:00.000Z",
"updatedAt": "2024-01-15T12:00:00.000Z"
}