curl -X GET \
/notifications \
--header "Authorization: Bearer <token>"
{
"data": [
{
"id": "<string>",
"type": {
"name": "<string>",
"description": "<string>"
},
"channel": "email",
"payload": [
"<string>"
],
"recipients": [
"<string>"
],
"status": "sent",
"createdAt": "2023-11-07T05:31:56Z",
"deliverAt": "2023-11-07T05:31:56Z",
"sentAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"pagination": {
"totalItems": 123,
"itemsPerPage": 123,
"currentPage": 123,
"lastPage": 123,
"pageTotalItems": 123
}
}
}
Get all sent notifications
curl -X GET \
/notifications \
--header "Authorization: Bearer <token>"
{
"data": [
{
"id": "<string>",
"type": {
"name": "<string>",
"description": "<string>"
},
"channel": "email",
"payload": [
"<string>"
],
"recipients": [
"<string>"
],
"status": "sent",
"createdAt": "2023-11-07T05:31:56Z",
"deliverAt": "2023-11-07T05:31:56Z",
"sentAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"pagination": {
"totalItems": 123,
"itemsPerPage": 123,
"currentPage": 123,
"lastPage": 123,
"pageTotalItems": 123
}
}
}
Value for the Authorization header parameter.
The collection page number
The number of items per page
0 <= x <= 100
SentNotification collection
The response is of type object
.
Was this page helpful?