Skip to content

PUT Update Notification Status

Endpoint

PUT /notify

Description

Updates notification status for the authenticated client account.

This endpoint is intentionally narrow:

  • the client can update only status
  • open_time is set automatically when the status actually changes
  • the client cannot modify message payload, token, level, type, access, or timestamps directly

The notification must belong to the current account session.

Request Parameters

Name Type Required Description
id int Yes Notification ID
status int Yes New notification status

Allowed Status Values

Value Constant Meaning
0 NOTIFY_LEVEL_WAITING Waiting
1 NOTIFY_LEVEL_SENT Sent
2 NOTIFY_LEVEL_READ Read
3 NOTIFY_LEVEL_FAILED Failed
4 NOTIFY_LEVEL_DELIVERED Delivered
5 NOTIFY_LEVEL_DELETED Deleted

Request Example

{
  "id": 101,
  "status": 2
}

Response Example

{}