Mark Notification Seen

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

Idempotent with Idempotency-Key header. Learn more

Marks a notification as seen.

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.
titlestring

Human-readable title.

bodystringnullable

Preview/body text.

statusstringenumValues:unseenseenread

Where the notification is in its lifecycle.

  • unseen: not yet surfaced in the notification dropdown.
  • seen: surfaced in the dropdown but not yet opened.
  • read: explicitly opened by the user.
  • dismissed: removed from the active feed.
prioritystringenumValues:lownormalhigh

Delivery priority.

senderactorExpandablenullable

The actor that generated this notification — a user, group, agent, or API key.

System-generated notifications 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

Assigned role.

Always returned as null in this endpoint.
resourceentityExpandablenullable

The app resource this notification links to, if any.

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 first appeared in the dropdown.

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 Seen