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

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

In: header

Path Parameters

companyId*string
Length1 <= length

Response Body

application/json

curl -X PUT "https://example.com/companies/string/notifications/read-all"
{  "updatedCount": 0}