Inbox and notifications
The inbox lists only what a person needs to do and what the caller may act on. Notifications are the emails Holdyn sent, with delivery state. Interventions are pauses applied to your account by Holdyn staff; each is recorded on your record and shown to you.
The base is https://holdyn-fb2e34c7cbae.herokuapp.com/api/v1/b2b. Every endpoint below lists who may call it.
At a glance#
GET /notification-templatesGET /inboxGET /inbox/summaryPOST /inbox/:id/dismissGET /notificationsGET /notifications/:idGET /interventionsGET /interventions/:id
Objects
InboxItem and InboxSummary
{
"id": "inbx_6543a1b2c3d4e5f6a7b8cf70",
"object": "inbox_item",
"livemode": false,
"type": "release_needs_second_approval",
"severity": "action",
"title_key": "inbox.release_needs_second_approval",
"title": "Provider payment of $14,000 needs a second approval",
"params": { "amount": 1400000, "currency": "usd", "mandate_reference": "PRJ-2026-0007" },
"object_ref": { "kind": "release", "id": "rel_6543a1b2c3d4e5f6a7b8cd50" },
"mandate": "man_6543a1b2c3d4e5f6a7b8cc00",
"required_permission": "releases.approve_second",
"tenant_wide": false,
"status": "open",
"resolved_at": null,
"resolved_by": null,
"note": null,
"created_at": "2026-12-22T10:00:00.000Z",
"updated_at": "2026-12-22T10:00:00.000Z"
}HoldynNotification and NotificationTemplate (named HoldynNotification so it never shadows the DOM Notification)
{
"id": "ntf_6543a1b2c3d4e5f6a7b8cf80",
"object": "notification",
"livemode": false,
"mandate": "man_6543a1b2c3d4e5f6a7b8cc00",
"template_id": "pre_debit_notice",
"event_type": "collection.triggered",
"audience": "payer",
"recipient": { "kind": "party", "id": "pty_6543a1b2c3d4e5f6a7b8cb01", "email_hint": "j***@example.com" },
"channel": "email",
"mandatory": true,
"grant": "grant_6543a1b2c3d4e5f6a7b8cb41",
"status": "delivered",
"delivery_events": [ { "type": "sent", "at": "2026-11-15T08:00:02.000Z" }, { "type": "delivered", "at": "2026-11-15T08:00:09.000Z" } ],
"attempts": 1,
"next_attempt_at": null,
"sent_at": "2026-11-15T08:00:02.000Z",
"error": null,
"preview": null,
"record": { "chain": "test", "seq": 140 },
"created_at": "2026-11-15T08:00:00.000Z"
}Endpoints
GET/notification-templates
- Credential
- Member session
- Permission
settings.read- Mode
- tenant-wide
- Pagination
- none (`has_more: false`)
Response
200 ListResponse<NotificationTemplate> with the tenant's effective toggles (settings.notifications.overrides applied). Toggles are changed through PATCH /settings {"patch": {"notifications": {"overrides": {"stage_opened": {"payee": false}}}}} (neutral class, except switching off the member notices bank_change_detected, release_blocked, override_requested, recon_break_critical, connection_unhealthy, which is weakening).
GET/inbox
- Credential
- Member session
- Permission
inbox.read- Mode
- scoped (+ tenant-wide items)
- Pagination
- cursor
Request
status (multi; default open), type (multi), severity (multi), mandate.
Response
200 ListResponse<InboxItem> (only items whose required_permission the caller holds; the override/change-request items exclude their initiator).
GET/inbox/summary
- Credential
- Member session
- Permission
inbox.read- Mode
- scoped
POST/inbox/:id/dismiss
- Credential
- Member session
- Permission
inbox.readand the item'srequired_permission- Mode
- scoped
- Idempotency
- honoured
Request
note string optional (≤ 500).
Response
200 InboxItem (dismissed).
Errors
409 invalid_state_transition (not open; or the type cannot be dismissed: intervention_active, record_integrity_failure, payer_unreachable, party_email_undeliverable, refund_returned, bypass_review).
Record and events
— (the inbox is a view of exceptions; the underlying object keeps its own state and record).
GET/notifications
- Credential
- Member session
- Permission
mandates.read- Mode
- scoped
- Pagination
- cursor
Request
mandate, status (multi, incl. captured_test), template_id (multi), audience, recipient_party, created[gte|lte].
Response
200 ListResponse<HoldynNotification> (recipients as hints, never full addresses of parties in lists). In test mode, status=captured_test is the dashboard's "Test emails" viewer (each row carries preview).
GET/notifications/:id
- Credential
- Member session
- Permission
mandates.read- Mode
- scoped
GET/interventions
- Credential
- Member session
- Permission
tenant.read- Mode
- tenant-wide
- Pagination
- cursor
Response
200 ListResponse<Intervention> (every Holdyn intervention affecting this tenant, any status except proposed/rejected/expired proposals, which the tenant does not).
GET/interventions/:id
- Credential
- Member session
- Permission
tenant.read- Mode
- tenant-wide
