Skip to main content
Webhooks let your application (or a third-party service like Zapier) receive real-time notifications when something happens in a Synci account: new transactions arrive, a balance changes, an account is added or removed, investment holdings update, or a bank connection is authorized, nears expiry or starts failing.

Setting up an endpoint

Create endpoints in the dashboard under Developers → Webhooks, or via the API (Create new webhook endpoint, scope webhooks:write). Each endpoint has:
  • URL: the HTTPS address Synci sends POST requests to.
  • Events: the event types you want to receive (see below). You only receive events you subscribe to.
  • Account filter: optionally limit the endpoint to specific bank accounts. Leave empty to receive events for all accounts.
  • Omit sensitive identifiers: strips IBANs, BBANs, and similar identifiers from payloads. Required for Zapier endpoints.
  • Signing secret: a whsec_... secret generated when the endpoint is created, used to verify that deliveries really come from Synci. It is shown once on creation and on rotation.
Webhook delivery requires an active Synci subscription.
Building a Managed app? Register one endpoint for the app instead, through the Managed Users API or the dashboard. It receives these events for every user the app manages. See Managed apps.

Event types

Account data Connection lifecycle (details in Connection lifecycle)
Payload versions. Endpoints created today use payload version v2, which uses the event names above. Older endpoints on v1 receive the legacy names bank_account.created, bank_account.updated, and bank_account.deleted instead of account.*, and a bank_account key instead of financial_account in payloads. The version is pinned when the endpoint is created, so existing integrations keep working unchanged.

Knowing when history is in

When an account is connected, Synci stores the most recent transactions first and fetches older history behind it, in windows, until it reaches the account’s target date: the account’s sync_start_date if one is set, otherwise the connection’s historical window. transactions.created fires for every window, so it cannot tell you that the walk is over. account.backfill.completed fires once the walk reaches its target. Its data block carries the account embed plus a backfill summary:
history_from is the date the walk worked toward. oldest_transaction_date is the oldest transaction that actually arrived. The two differ when the bank served nothing that old, whether because the account had no activity or because the bank limits how far back it serves data after consent. Synci cannot tell those apart, so compare the dates and decide what to show. connection.backfill.completed fires once every enabled, automatically syncing account on the connection has completed, with a financial_connection embed, a completed_at timestamp and an accounts list carrying the same summary per account. Accounts the user left out during setup never hold it back. It is connection-scoped, so an endpoint’s account filter does not apply to it. A window the bank refuses (a rate limit, a temporary outage) pauses the walk until the next scheduled sync rather than ending it, so a delayed completion still fires. Both events can fire again later if a manual sync with an earlier start date opens a new backfill and walks it to the end.

Connection lifecycle

Every connection.* event carries a financial_connection object with the same shape as Get financial connection (without the accounts; account.* events cover those), plus fields specific to the event:
connection.expiring (trimmed)
Connection events are connection-scoped, so an endpoint’s account filter never applies to them.
connection.expiring and connection.expired only fire for banks whose consent expires on a schedule (European banks, and the demo bank with expiring consent). Akahu (New Zealand) and SnapTrade (brokerages and crypto exchanges) grant enduring consent, so their connections never expire.
A connection the user never authorized emits connection.created and nothing else: no activated, no failing. Treat a created without an activated within your own timeout as abandoned.
connection.failing fires on the third consecutive failure, not the first, because a single failed sync is usually the bank having a moment. Once you have seen failing, expect either connection.recovered or connection.disabled to follow, so you can clear or escalate whatever you showed the user.

Delivery format

Every delivery is a POST with a JSON body in a common envelope:
string
One of the event types above.
string
Uniquely identifies the event and is stable across retries: if a delivery fails and is retried, the retry carries the same event_id. Use it to deduplicate.
integer
The endpoint the delivery was sent to.
string
When the event occurred, as an ISO 8601 timestamp.
object
The event-specific payload.
Requests are sent with the User-Agent Synci-Webhooks/1.0.

Verifying signatures

Every delivery includes an X-Synci-Signature header: a hex-encoded HMAC-SHA256 of the raw request body, keyed with your endpoint’s signing secret. Always verify it before trusting the payload. Compute the HMAC over the raw bytes of the body (before any JSON parsing), and compare using a constant-time comparison.

Rotating the secret

Rotate the signing secret from the endpoint’s settings in the dashboard, or via the Rotate webhook secret endpoint. The new secret is returned once; update your verification code immediately, as the old secret stops being used.

Retries and failure handling

  • Your endpoint should respond with a 2xx status within a few seconds.
  • Failed deliveries (non-2xx or timeouts) are retried automatically with increasing delays: about 1 minute, then 10 minutes, then 1 hour.
  • If your endpoint responds 410 Gone, Synci stops sending to it and disables the endpoint immediately.
  • Endpoints that keep failing are marked unhealthy and eventually disabled automatically, and you are notified. You can re-enable an endpoint from the dashboard once it is fixed.

Testing

Send a test event from the endpoint’s page in the dashboard, or via the Test webhook endpoint endpoint. You can choose real data from your account or dummy data. Test deliveries:
  • Are limited to 5 per minute.
  • Are sent once, without retries.
  • Are signed exactly like real deliveries, so you can verify your signature code end to end.

Best practices

Return 2xx immediately and hand the payload to a queue or background worker. Slow responses count as failures and trigger retries.
Retries mean you can receive the same event more than once. event_id is stable across retries, so skipping an event_id you have already processed makes repeat deliveries harmless.
Anyone can POST to a public URL; the signature is your proof the event came from Synci.
Events are delivered independently and retries can arrive out of order. Use the created_at timestamp and fetch current state from the API when ordering matters.