Mark Notification Read

Beta
POST/v1/messaging/notifications/{id}/actions/read

Idempotent with Idempotency-Key header. Learn more

Marks a notification as read, as when the user opens it.

Reading also marks the notification seen if it was not already, and leaves it in the feed until it is dismissed. Repeating the call keeps the original read time.

Permissions requiredValues:messaging:update
The role behind your API key or agent must grant every one of these permissions.
idstring

Notification ID.

include[]optional arrayenumValues:senderresource

Sub-objects to expand in the response. When omitted, sub-objects are returned as null.

idstring

Notification ID.

objectstringenumValues:notification

Resource type identifier.

categorystringenumValues:chat.messagechat.mentionchat.added

The kind of event this notification represents.

The set is open-ended and may grow over time. Common first-party categories are:

  • chat.message: a new message in a conversation.
  • chat.mention: a direct @mention, delivered even when the conversation is muted.
  • chat.added: the user was added to a conversation.
  • order.updated: an order the user is involved with changed.
  • agent.run_completed: an agent run the user triggered finished.
  • agent.alert: an agent raised an alert during a run.
  • system.broadcast: a targeted system message.
  • customer.registered: a buyer completed registration on your customer portal.
titlestring

Short headline shown in the feed.

bodystringnullable

Supporting detail shown beneath the title, such as a preview of the message that triggered the notification.

statusstringenumValues:unseenseenread

Where the notification is in its lifecycle.

  • unseen: delivered but not yet surfaced to the user.
  • seen: surfaced in the feed but not yet opened.
  • read: explicitly opened by the user.
  • dismissed: removed from the active feed.

The status is derived from the seen, read, and dismissed timestamps, and only ever moves forward — a notification can never become unseen again.

prioritystringenumValues:lownormalhigh

How prominently the notification should be surfaced, from low through urgent.

senderactorExpandablenullable

The actor that generated this notification.

Notifications raised by the platform itself, rather than by a person, agent, or API key, have no sender.

idstring

Unique identifier of the actor.

objectstringenumValues:actor

Resource type identifier.

typestringenumValues:userapi_keyagent

Actor type.

  • user: a human user account.
  • api_key: a programmatic caller authenticating with an API key.
  • agent: an automated agent acting on the account's behalf.
  • group: a shared group identity, such as a "Customer Service" persona, rather than a single individual.
namestringnullable

The actor's display name.

handlestringnullable

Human-readable handle identifying the actor.

  • For user actors: the user's email address.
  • For api_key actors: the redacted key value.

Other actor types carry no handle.

avatar_urlstringnullable

URL of the actor's profile photo, if one is set.

Only populated for user actors.

rolerolenullable

The role the actor holds in the account, which determines what it is permitted to do.

Always returned as null in this endpoint.
resourceentityExpandablenullable

The resource this notification is about, which the client can link to.

Chat notifications point at the conversation the message was posted in — or at the support case, for customer-facing threads — so opening the notification opens the thread.

idstring

Unique identifier for the entity.

objectstringenumValues:entity

Resource type identifier.

typestringenumValues:accountactorentity

The resource kind that this entity references, as an object-type value (e.g. user, account).

Unlike object — which is always entity — this names the underlying resource the id points to.

namestringnullable

Human-readable display name for the entity (e.g. a user's full name, a sales order number).

handlestringnullable

Secondary human-readable identifier (e.g. email address, username, redacted API key value).

seen_atstring (date-time)nullable

When the notification was first surfaced to the user.

read_atstring (date-time)nullable

When the notification was explicitly opened.

dismissed_atstring (date-time)nullable

When the notification was dismissed.

created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last update timestamp.

Responses

200

Successful response for Mark Notification Read