Pipes.bot
BYON

Webhook Delivery

Configure per-App webhook URLs and understand dual delivery for BYON messages.

BYON Apps support dual delivery — messages are delivered to both your webhook URL and any connected WebSocket clients in parallel. This ensures maximum reliability.

Configuring a webhook

In your App's settings, set a Webhook URL — an HTTPS endpoint that Pipes.bot will POST messages to.

https://your-app.example.com/webhook/pipes

Messages from any sender on any of your App's BYON numbers will be delivered to this URL.

Delivery behavior

When a message arrives on a BYON number:

  1. Webhook: Pipes.bot sends an HTTP POST to your App's webhook URL
  2. WebSocket: Simultaneously delivered to any connected WebSocket clients authenticated with your ak_ key

Both deliveries happen in parallel. If one fails, the other still succeeds.

Delivery methodReliabilityLatencyBest for
WebhookHigh (with retries)Slightly higherStateless services, automation platforms
WebSocketReal-timeLowestAI agents, interactive apps

Retry policy

Failed webhook deliveries are retried with exponential backoff:

AttemptDelay
1st retry10 seconds
2nd retry60 seconds
3rd retry5 minutes

After 3 failed attempts, the delivery is marked as failed. You can view delivery logs in the App's dashboard.

Testing your webhook

Use the Test Webhook button in your App's settings to send a sample payload to your configured URL. This helps verify your endpoint is reachable and processing messages correctly before going live.

Webhook payload

BYON webhook payloads follow the same format as pool number webhooks. See the Webhooks documentation for full payload details, signature verification, and error handling.

Next steps

On this page