/
Get Notifications

Get Notifications

Get Notifications

GET /notification/status/{project}/{clientId}

The get Notifications endpoint retrieves all the notifications associated with a client in a specified project.

Path Parameters

Name

Type

Required

Description

Name

Type

Required

Description

{project}

string

Yes

The name of the project where the client is going to be searched on.

{clientId}

string

Yes

Id assigned to a client.

Responses

200: Success

[ { "notificationID": "", "project": "", "clientId":Ā "", "msg": "", "channel": "", "to": "", "templateId": "", "templateParams": "", "notificationDate": "", "status": "", }, { "notificationID": "", "project": "", "clientId":Ā "", "msg": "", "channel": "", "to": "", "templateId": "", "templateParams": "", "notificationDate": "", "status": "", }, { "notificationID": "", "project": "", "clientId":Ā "", "msg": "", "channel": "", "to": "", "templateId": "", "templateParams": "", "notificationDate": "", "status": "", }, ... ]

404: Not Found. The request was processed but the entity was not found.

{ "timestamp": "2024-02-29T04:12:17.603Z", "statusCode": 404, "message": "Client or project not found.", "errors": [] }

409: Conflict. The request was processed but the resource was not found.

{ "timestamp": "2024-02-29T04:17:07", "statusCode": 409, "message": "Tracked entity instance is specified but does not exist: cMyjKYJtgSIasdasd", "errors": [ { "httpStatus": "Conflict", "httpStatusCode": 409, "status": "ERROR", "message": "Tracked entity instance is specified but does not exist: cMyjKYJtgSIasdasd" } ] }

500: Internal Server Error.

Related content