List all notifications by User
GET {{baseUrl}}/notifications/user?page=1&take=10
List all notifications with given authorization user and provider
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
page | number | Value used in pagination to indicate which "page" to find the items | |
take | number | Value used in pagination to "take" items |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-provider | string | (Required) Provider used to find the notifications | |
Accept | string |
RESPONSES
status: OK
{"data":[{"_id":"reprehenderit sit aute adipisicing commodo","title":"aliquip aliqua nulla velit dolore","body":"eiusmod consectetur deserunt consequat","data":"irure velit anim","provider":"commodo est non incididunt","externalRef":"cupidatat dolor dolore","createdAt":"1965-01-19T22:17:28.203Z","updatedAt":"2008-09-30T11:23:47.356Z","userId":"minim voluptate","interests":["in ut ex laboris id","tempor cupidatat pariatur nulla sint"]},{"_id":"ut adipisicing cupidatat irure","title":"cons","body":"qui occaecat est et","data":"","provider":"eli","externalRef":"in labo","createdAt":"1967-10-13T01:49:33.400Z","updatedAt":"1987-10-16T16:42:44.429Z","userId":"Lorem qui ut","interests":["cillum occaecat ad","et"]}],"meta":{"page":1,"take":1,"itemCount":100,"pageCount":100,"hasPreviousPage":false,"hasNextPage":true}}