Notification
Admin only. Create a new global broadcast announcement.
JWT Token Authentication. Enter "Bearer "
falseExample: false200Example: 200POST /api/v1/notification/broadcast/create/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"hasError": false,
"statusCode": 200,
"message": {
"general": [
"text"
]
},
"response": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"title": "text",
"description": "text",
"url": "text",
"target_type": "text",
"target_id": "text",
"target_details": "text",
"created_by": "text",
"created_by_name": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"expires_at": "2026-01-01T00:00:00.000Z"
}
}Delete all broadcast notifications. Admin role required.
JWT Token Authentication. Enter "Bearer "
falseExample: false200Example: 200DELETE /api/v1/notification/broadcast/delete/all/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"hasError": false,
"statusCode": 200,
"message": {
"general": [
"text"
]
},
"response": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"title": "text",
"description": "text",
"url": "text",
"target_type": "text",
"target_id": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"expires_at": "2026-01-01T00:00:00.000Z",
"created_by": "text"
}
}Delete a single broadcast notification by its ID. Admin role required.
JWT Token Authentication. Enter "Bearer "
falseExample: false200Example: 200DELETE /api/v1/notification/broadcast/delete/id/{broadcast_id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"hasError": false,
"statusCode": 200,
"message": {
"general": [
"text"
]
},
"response": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"title": "text",
"description": "text",
"url": "text",
"target_type": "text",
"target_id": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"expires_at": "2026-01-01T00:00:00.000Z",
"created_by": "text"
}
}Admin only. List all broadcast notifications. Each record includes a target_details field with the resolved human-readable name of the target audience.
JWT Token Authentication. Enter "Bearer "
falseExample: false200Example: 200GET /api/v1/notification/broadcast/list/all/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"hasError": false,
"statusCode": 200,
"message": {
"general": [
"text"
]
},
"response": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"title": "text",
"description": "text",
"url": "text",
"target_type": "text",
"target_id": "text",
"target_details": "text",
"created_by": "text",
"created_by_name": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"expires_at": "2026-01-01T00:00:00.000Z"
}
]
}Admin only. Partially update a broadcast notification by its ID. All fields are optional.
JWT Token Authentication. Enter "Bearer "
falseExample: false200Example: 200PATCH /api/v1/notification/broadcast/update/id/{broadcast_id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"hasError": false,
"statusCode": 200,
"message": {
"general": [
"text"
]
},
"response": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"title": "text",
"description": "text",
"url": "text",
"target_type": "text",
"target_id": "text",
"target_details": "text",
"created_by": "text",
"created_by_name": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"expires_at": "2026-01-01T00:00:00.000Z"
}
}Delete Notification Delete All.
JWT Token Authentication. Enter "Bearer "
falseExample: false200Example: 200DELETE /api/v1/notification/delete/all/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"hasError": false,
"statusCode": 200,
"message": {
"general": [
"text"
]
},
"response": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"title": "text",
"description": "text",
"button": "text",
"url": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"user": "text",
"created_by": "text"
}
}Delete Notification Delete.
JWT Token Authentication. Enter "Bearer "
falseExample: false200Example: 200DELETE /api/v1/notification/delete/id/{notification_id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"hasError": false,
"statusCode": 200,
"message": {
"general": [
"text"
]
},
"response": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"title": "text",
"description": "text",
"button": "text",
"url": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"user": "text",
"created_by": "text"
}
}Retrieve all notifications for the authenticated user. Returns two lists: direct (personal) and broadcasts (group/audience).
JWT Token Authentication. Enter "Bearer "
falseExample: false200Example: 200GET /api/v1/notification/list/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"hasError": false,
"statusCode": 200,
"message": {
"general": [
"text"
]
},
"response": {
"direct": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"title": "text",
"description": "text",
"button": "text",
"url": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"user": "text",
"created_by": "text"
}
],
"broadcasts": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"title": "text",
"description": "text",
"url": "text",
"target_type": "text",
"target_id": "text",
"created_at": "2026-01-01T00:00:00.000Z",
"expires_at": "2026-01-01T00:00:00.000Z",
"created_by": "text"
}
]
}
}Last updated
Was this helpful?

