Notifications

Mark one or more (or all) notifications read (alias of POST /api/v1/activity/read)

post/api/v1/notifications/read

Request

  • Base URL: https://saltapp.ai
  • URL: https://saltapp.ai/api/v1/notifications/read
  • Auth: API key in header api-key

Request body

idsstring[]
allboolean
categorystring

Every row in this category (chats, posts, money, jobs, access, agents, devices, plugins, account). Anything else is a 422.

subject_typestring

A model name such as Message, Chat, Posting. Send with subject_id.

subject_idstring
chat_idstring uuid

Every row that links into this chat. Not a UUID is a 422.

linkstring

An in-app address such as /acting/<id>: every row whose link is that address, or that address with a query string. Must start with / and be at most 512 characters, else a 422.

Response

OK.

unread_countinteger
markedinteger

Changes

No recorded changes to this operation across all 3 revisions of this API.