Bloss Docs

Mark your notifications read

Developers
POST
/brands/{brandId}/notifications/read

Mark your own admin notifications for the brand as read (the bell), as the app does: send ids for some, or nothing for all. Ids that aren't yours mark nothing. Other admins' notifications are untouched. Needs a personal token.

Authorization

bearerAuth brand:write
headerAuthorizationBearer <token>

Personal access token. Scopes: account:read, creator:read, creator:earnings, managed:read, coach:read, brand:read, creators:read, videos:read, analytics:read, onboarding:read, onboarding:signatures, engagement:read, support:read, integrations:read, payouts:read, funds:read, billing:read, groups:write, videos:write, onboarding:write, sync:write, payouts:write, campaigns:write, brand:write, creators:write, engagement:write, support:write, accounts:write, payments:write, creator:write, creator:payouts:write, managed:write, coach:write, agency:write.

Scope: brand:write

Path Parameters

brandId*string

A brand id from GET /me or GET /creator/brands.

Length1 <= length

Request Body

application/json
  1. body
ids?array<>
Items1 <= items <= 500

Response Body

Success.

application/json
  1. response
marked*number
unreadCount*number
curl -X POST 'https://example.com/api/v1/brands/string/notifications/read' \  -H 'Content-Type: application/json' \  -d '{}'
{  "marked": 0,  "unreadCount": 0}

Was this page helpful?