List all Notifications
GET/api/notifications
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| user_id | Number | optional Optional filter by user ID |
| status | String | optional Optional filter by status (read, unread) |
curl -X GET "https://yoursite.com/api/notifications" \
-H "authtoken: YOUR_API_TOKEN" Success-Response:
[
{
"id": "1",
"user_id": "1",
"event": "task_assigned",
"title": "New task",
"is_read": "0"
}
]