Get notifications
Get notifications
POST
/notification-service/v1/notifications
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Description
page
number
Page number (default 1)
perPage
number
Items per page (default 10)
Response
{
"data": [
{
"id": "ba0902a5-e4b8-495a-84eb-002715ff1b2c",
"contents": [
{
"language": "en",
"content": "<p>gbkngjb </p>",
"is_default" : true
},
{
"language": "ru",
"content": "<p>gbjgibgibjg</p>",
"is_default": false
}
],
"image": "59/01JT15FN3SR1CXJNGM3WXDR0F9.jpg",
"is_read": true,
"read_at": "2025-04-29T20:24:19.000000Z",
"created_at": "2025-04-29T20:05:12.000000Z"
},
{
"id": "ce35a8f2-a233-4c5d-a8fd-664462389bae",
"contents": [
{
"language": "en",
"content": "<p>gbkngjb </p>",
"is_default": true
},
{
"language": "ru",
"content": "<p>gbjgibgibjg</p>",
"is_default": false
}
],
"image": "58/01JT15FN3SR1CXJNGM3WXDR0F9.jpg",
"is_read": true,
"read_at": "2025-04-29T20:24:19.000000Z",
"created_at": "2025-04-29T20:04:56.000000Z"
},
{
"id": "c2280eee-708f-4eef-9f53-10f9cc51c235",
"contents": [
{
"language": "en",
"content": "<p>Testlfvfkmv</p>",
"is_default": true
},
{
"language": "en",
"content": "<p>gbugbgnbgub</p>",
"is_default": false
}
],
"image": "56/01JT1GQPYB69SPBVT8WFTDVQKD.jpg",
"is_read": true,
"read_at": "2025-04-29T20:24:19.000000Z",
"created_at": "2025-04-29T19:35:15.000000Z"
},
{
"id": "e522792e-4f4e-47b4-b482-e2113ec0fc2e",
"contents": [
{
"language": "en",
"content": "<p>rkgntv</p>",
"is_default": true
}
],
"image": "55/01JT1G73JP9NZKD22RC4X1VQX0.jpg",
"is_read": true,
"read_at": "2025-04-29T20:24:19.000000Z",
"created_at": "2025-04-29T19:26:12.000000Z"
}
],
"links": {
"first": "http://127.0.0.1:8006/notification-service/v1/notifications?page=1",
"last": "http://127.0.0.1:8006/notification-service/v1/notifications?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://127.0.0.1:8006/notification-service/v1/notifications?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "http://127.0.0.1:8006/notification-service/v1/notifications",
"per_page": 10,
"to": 4,
"total": 4
}
}
{
"error": "Invalid request"
}
Last updated