LogoHuk Relay Docs

Multiple Destinations

A single Forward in Huk Relay can send webhooks to multiple destinations simultaneously. This is known as "fan-out".

Use Cases

  • Redundancy: Send the same webhook to a primary and a backup server.
  • Integration: Process a payment webhook in your main application AND send a notification to Slack.
  • Logging: Forward to your app and an external logging service.

Configuration

To add multiple destinations:

  1. Open your Forward details page.
  2. Add your first destination (e.g., http://localhost:3000/hooks).
  3. Click "Add Destination" again.
  4. Add your second destination (e.g., https://hooks.slack.com/services/...).

When a webhook arrives, Huk Relay will split the request and send it to both destinations. The destinations function independently; a failure in one does not affect the other.

Table of Contents