Skip to main content

How to use webhooks in Tolt

Learn how to use webhooks to receive real-time updates from Tolt and automate follow-up actions in your app.

Damjan avatar
Written by Damjan
Updated over 3 weeks ago

Webhooks in Tolt

Webhooks let Tolt automatically notify your app when something happens, like when a partner signs up, a transaction is created, or a commission is generated. Instead of checking for updates manually, Tolt sends the data directly to your webhook endpoint as soon as the event occurs.

This makes webhooks a simple way to keep your system in sync. However, webhooks work asynchronously. Delivery is usually fast, but not guaranteed to be immediate or successful every time. Because of this, webhooks should not be used for steps where your app needs an instant confirmation (like onboarding flows). They’re designed for automating follow-up actions, not blocking user-facing processes.

How Tolt Webhooks work

When an event happens in your Tolt account, we send an HTTP POST request to the webhook URL you’ve set up. The request includes structured JSON with details about the event, so you can trigger actions like:

  • Syncing data to your database

  • Sending emails or notifications

  • Connecting to third-party tools

Tolt uses Svix to handle webhook delivery, retries, and message management.

Supported event types

To view all available webhook events:

  1. Go to SettingsWebhooks in your Tolt dashboard.

  2. Open the Event Catalog tab.

Webhook payload format

Each webhook message contains:

Field

Description

data

The event data (for example, the partner or transaction object).

type

The event type (e.g. "partner.created").

timestamp

The time when the event occurred (in ISO 8601 format). Example: "2025-04-23T13:00:51.351Z".

Example for partner.created:

{ "data": { "id": "part_123", "first_name": "Jane", "last_name": "Doe", "email": "[email protected]", ... }, "timestamp": "2025-04-23T13:00:51.351Z", "type": "partner.created" }

Handling delivery and failures

Automatic retries

If your webhook endpoint doesn’t respond, Svix will retry sending the message automatically based on their retry schedule. Retries stop if you remove or disable the endpoint.

See the Svix Retry Schedule for more details.

Replay past events

Missed a webhook due to downtime or a misconfiguration? You can replay messages directly from your Tolt dashboard:

  1. Open SettingsWebhooks.

  2. Select the relevant endpoint.

  3. Under Message Attempts, choose the message you want to resend.

  4. Select:

    • Replay this message only

    • Replay all failed messages since the first failure

    • Replay all missing messages in that time range

Keep your Webhooks secure

To make sure your webhook listener only accepts valid requests:

  • Verify the signature: Every webhook message is signed by Svix. Always verify the signature to confirm the request is authentic. See the Svix webhook verification guide or how to verify manually.

  • Limit by IP (optional): You can also restrict access to your endpoint by allowing only Svix’s IP ranges.

Did this answer your question?