Update push notification message status

Description

This service updates the status of a specific push notification message for a logged-in consumer. Its primary use case is marking an inbox message as "read" or "opened" to keep engagement metrics accurate.


Request

Restrictions

This service requires an authenticated user and can only be called after a successful consumer login.

Endpoint

PUT https://<server-url>/api/v4/communications/push-notifications/{appId}/messages/{messageId}/status

Path Parameters

Parameter

Type

Description

appId

String

The unique identifier for the push notification application.

messageId

String

The unique identifier for the specific message being updated.

Parameters

Parameter

Location

Description

touchpoint

Query / Header

The identifier for the touchpoint. Use Thalamus-Touchpoint for the header.

token

Query / Header

The authentication token for the API session. Use Thalamus-Token for the header.

Content-Type

Header

Must be application/json.

Full URL Example

Request Body

The request body specifies the new status for the message.

Field

Type

Description

status

String

The new status of the notification. Commonly used value: "opened".

JSON


Response

✅ Successful Response: 200 OK

Indicates the message status was successfully updated in the system.

JSON

❌ Unsuccessful Response: 400 Bad Request

Returned if the provided status value is not recognized by Thalamus.

JSON

Last updated

Was this helpful?