Skip to Content
SaaSFlow
DevelopersAPIReferencenotifications

Read all

Mark every visible unread notification for the calling user in this company as read, and return how many rows changed.

Authentication

Checking whether you're signed in…
PUT
/companies/{companyId}/notifications/read-all

Authorization

headerAuthorization<token>

A SaaSFlow API key (format sf_…) or an OAuth bearer token. Paste only the key — the proxy adds the Bearer prefix. Create an API key in Settings → Company settings → API keys — see API keys.

Path Parameters

companyId*string
Formatuuid

Response Body

All unread notifications for the current user marked as read

application/json
  1. response
updatedCount*number
Example Request
curl -X PUT 'https://api.saasflow.com/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/notifications/read-all'
Example Response200
{  "updatedCount": 0}