palbaseDocs

Palbase Messaging · API

PUT/messaging/conversations/{conversation_id}/notifications

How a conversation notifies the reader

Mutes the conversation until a time (null: unmuted), and says what notifies the reader of it — every message, those that name them, none.

Called by a signed-in user of your app, with their token and the publishable key.

Path

conversation_idstring (uuid) · requiredThe conversation.

Request body

muted_untilstring (date-time) · optionalMuted until then; null: unmuted.
notify_level"all" | "mentions" | "none" · optionalWhat notifies the reader.
curl
curl -X PUT "https://<your-ref>.palbase.studio/messaging/conversations/<conversation_id>/notifications" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "authorization: Bearer $USER_ACCESS_TOKEN" \
  -H "content-type: application/json" \
  -d '{"muted_until":"2026-01-01T00:00:00Z","notify_level":"all"}'

Responses

200Their place in it now

400The request is malformed, or a field breaks a rule (the error names which)

401No key, a key of no project, a token not valid (the edge's answer), or no person's session (`user_required`)

404No such conversation of yours (`conversation_not_found`)

413The request body is too large (`request_too_large`)

429Over the project's request limit; Retry-After says when to try again

503Temporarily unavailable; retrying is safe after Retry-After

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation SetConversationNotifications of messaging's contract.