Quick start
Tip: keys go in headers, never in URLs.
In about ten minutes, a webhook from your provider will go through Route11 to your app, with its signature checked on the way in and a new signature added on the way out. The examples use Razorpay. Cashfree checks its own timestamped signature. Stripe, GitHub, and Shopify each use their own header. PhonePe, PayU, Juspay, Easebuzz and Paytm are in beta: Route11 checks their signatures, but test payments, missed-payment recovery and the payment header are Razorpay and Cashfree only.
1. Get an API key
No account yet? Start free with your work email; the link we send signs you in to the dashboard. Every request to the Route11 API carries a key in the Authorization header. Create one in the dashboard under API keys. Keys start with r11_live_ and are shown once, so store yours in a password manager.
Pick the smallest permission that does the job:
| Permission | Can |
|---|---|
read | See destinations, events and delivery attempts |
write | Also create and change destinations, replay events, open a tunnel |
admin | Also manage API keys and organization settings |
Send the key in a header only. Route11 refuses keys in URLs, because URLs end up in logs and browser history.
2. Create a destination
A destination tells Route11 where to deliver and how to check incoming signatures. Use the webhook secret from the Razorpay dashboard (Account & Settings → Webhooks). Route11 also makes a separate outbound secret, which your app uses to check what Route11 sends.
curl -X POST https://route11.dev/api/v1/targets \
-H "Authorization: Bearer $ROUTE11_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "orders-api",
"url": "https://api.example.com/webhooks/razorpay",
"verification_preset": "razorpay",
"signing_secret": "the webhook secret from the Razorpay dashboard"
}'
Leave out max_retries for a Razorpay or Cashfree destination: it then retries 32 times over about a day, like Razorpay itself. A small number such as 5 gives up within a minute.
The answer includes the destination's id and its outbound_secret. Copy the outbound secret now: Route11 shows it only once. If you lose it, make a new one with POST /api/v1/targets/<id>/outbound-secret and update your app straight away. You can also send your own outbound_secret when creating the destination.
Your Route11 address for this destination is:
https://route11.dev/api/v1/ingest/<id>
Other values for verification_preset: cashfree (use your Cashfree secret key), stripe, github, shopify, phonepe, payu, juspay, easebuzz and paytm (beta, see below) and generic_hmac (an HMAC-SHA256 of the raw body, sent as sha256=<hex> in X-Signature; the header name, algorithm and hex or base64 encoding can be changed).
PhonePe and PayU (beta)
For phonepe, set signing_secret to the webhook username and password from the PhonePe Business Dashboard, joined by a colon: username:password. PhonePe sends Authorization: SHA256(username:password), and Route11 compares it. That header is the same on every webhook and does not cover the body, so it proves the sender knows your credentials, not that the body is unchanged. Confirm the payment state with PhonePe's order status API before you ship an order.
For payu, set signing_secret to your PayU salt. Route11 reads the form or JSON fields PayU sends and checks hash against sha512(SALT|status||||||udf5|udf4|udf3|udf2|udf1|email|firstname|productinfo|amount|txnid|key), with additional_charges| in front when PayU sends it. Split-settlement hashes are not checked yet.
Both are built from the providers' published formats. Send one sandbox webhook through Route11 and check it shows signature checked before you rely on it.
Juspay, Easebuzz and Paytm (beta)
For juspay, set signing_secret to the webhook username and password from the Juspay dashboard as username:password. Juspay sends them as Authorization: Basic. Like PhonePe, that header does not cover the body.
For easebuzz, set signing_secret to your Easebuzz salt. Route11 checks hash against sha512(SALT|status|udf10|udf9|udf8|udf7|udf6|udf5|udf4|udf3|udf2|udf1|email|firstname|productinfo|amount|txnid|key).
For paytm, set signing_secret to your 16-character merchant key. Route11 checks CHECKSUMHASH on form callbacks the way Paytm's checksum library does. JSON requests signed in head.signature are not checked yet.
CCAvenue encrypts its response instead of signing it, so Route11 does not offer it as a check: decrypting without an integrity check would not prove who sent it.
All three come from the providers' official docs or libraries. Send one sandbox webhook through Route11 and check it shows signature checked before you rely on it.
3. Point your provider at it
In the Razorpay dashboard open Account & Settings → Webhooks → Add new webhook. Set the URL to your Route11 address, paste the same webhook secret you gave Route11, and turn on payment.captured.
Route11 answers 202 once the event is safely queued, so your provider sees a fast success even when your app is slow. A wrong or missing signature gets 401 and nothing is queued.
4. Keep your Razorpay check, or check Route11's
Already checking Razorpay's or Cashfree's signature? Change nothing
Route11 signs every delivery to a Razorpay or Cashfree destination the way the provider does, with the same webhook secret: X-Razorpay-Signature for Razorpay, x-webhook-signature and x-webhook-timestamp for Cashfree. The check already in your app keeps passing, including on retries, replays and recovered missed payments, because Route11 signs the exact bytes it sends. Razorpay's X-Razorpay-Event-Id is passed on, so de-duplication by event id keeps working too.
To switch it off, untick Keep my existing code working in the destination's Settings.
Verify Route11's signature
Each delivery carries an X-Route11-Signature header like t=1761131043,v1=9f2c…. v1 is the hex HMAC-SHA256 of <t>.<raw body>, made with your outbound secret. Check it against the raw body (before any JSON parsing), and reject old timestamps. Use that secret as the HMAC key exactly as it was given to you, including the whsec_ at the start. Do not base64-decode it. Answer 200 as soon as the signature checks, and 401 when it does not.
Node (Express)
const crypto = require('crypto');
const express = require('express');
function verifyRoute11(rawBody, header, secret, toleranceSec = 300) {
const parts = {};
for (const item of String(header || '').split(',')) {
const eq = item.indexOf('=');
if (eq === -1) continue;
parts[item.slice(0, eq).trim()] = item.slice(eq + 1).trim();
}
const t = Number(parts.t);
if (!parts.t || !Number.isFinite(t)) return false;
if (Math.abs(Math.floor(Date.now() / 1000) - t) > Number(toleranceSec)) return false;
const body = Buffer.isBuffer(rawBody) ? rawBody : Buffer.from(String(rawBody), 'utf8');
const signed = Buffer.concat([Buffer.from(String(t) + '.', 'utf8'), body]);
const expected = crypto.createHmac('sha256', String(secret)).update(signed).digest('hex');
const given = Buffer.from(parts.v1 || '', 'utf8');
const want = Buffer.from(expected, 'utf8');
if (given.length !== want.length) return false;
return crypto.timingSafeEqual(given, want);
}
const app = express();
app.post('/webhooks/route11', express.raw({ type: 'application/json' }), (req, res) => {
const secret = process.env.ROUTE11_OUTBOUND_SECRET || '';
if (!verifyRoute11(req.body, req.get('X-Route11-Signature'), secret)) {
res.status(401).end();
return;
}
res.status(200).end();
});
Python (Flask)
import hashlib
import hmac
import os
import time
from flask import Flask, request
app = Flask(__name__)
def verify_route11(raw_body: bytes, header: str, secret: str, tolerance_sec: int = 300) -> bool:
parts = {}
for item in str(header or "").split(","):
if "=" not in item:
continue
key, value = item.split("=", 1)
parts[key.strip()] = value.strip()
if not parts.get("t", "").isdigit():
return False
t = int(parts["t"])
if abs(int(time.time()) - t) > tolerance_sec:
return False
signed = str(t).encode("utf-8") + b"." + raw_body
expected = hmac.new(secret.encode("utf-8"), signed, hashlib.sha256).hexdigest()
return hmac.compare_digest(parts.get("v1", ""), expected)
@app.post("/webhooks/route11")
def route11_webhook():
secret = os.environ.get("ROUTE11_OUTBOUND_SECRET", "")
raw = request.get_data()
header = request.headers.get("X-Route11-Signature", "")
if not verify_route11(raw, header, secret):
return "", 401
return "", 200
PHP (Laravel)
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class Route11WebhookController extends Controller
{
public function __invoke(Request $request)
{
$raw = $request->getContent();
$header = (string) $request->header('X-Route11-Signature', '');
$secret = (string) env('ROUTE11_OUTBOUND_SECRET');
if (! $this->verify($raw, $header, $secret)) {
return response('', 401);
}
return response('', 200);
}
private function verify(string $raw, string $header, string $secret, int $tolerance = 300): bool
{
$parts = [];
foreach (explode(',', $header) as $item) {
$eq = strpos($item, '=');
if ($eq === false) {
continue;
}
$parts[trim(substr($item, 0, $eq))] = trim(substr($item, $eq + 1));
}
if (! isset($parts['t']) || ! ctype_digit($parts['t'])) {
return false;
}
if (abs(time() - (int) $parts['t']) > $tolerance) {
return false;
}
$expected = hash_hmac('sha256', $parts['t'] . '.' . $raw, $secret);
$given = $parts['v1'] ?? '';
if (strlen($given) !== strlen($expected)) {
return false;
}
return hash_equals($expected, $given);
}
}
Register it in routes/api.php, which Laravel does not CSRF-check: Route::post('/webhooks/route11', \App\Http\Controllers\Route11WebhookController::class);. A route in routes/web.php is refused with 419 before your code runs. To keep it there, exempt the path from CSRF (Laravel 11: $middleware->validateCsrfTokens(except: ['webhooks/route11']) in bootstrap/app.php).
PHP
<?php
$raw = file_get_contents('php://input');
$header = (string) ($_SERVER['HTTP_X_ROUTE11_SIGNATURE'] ?? '');
$secret = (string) getenv('ROUTE11_OUTBOUND_SECRET');
function verify_route11(string $raw, string $header, string $secret, int $tolerance = 300): bool {
$parts = [];
foreach (explode(',', $header) as $item) {
$eq = strpos($item, '=');
if ($eq === false) {
continue;
}
$parts[trim(substr($item, 0, $eq))] = trim(substr($item, $eq + 1));
}
if (!isset($parts['t']) || !ctype_digit($parts['t'])) {
return false;
}
if (abs(time() - (int) $parts['t']) > $tolerance) {
return false;
}
$expected = hash_hmac('sha256', $parts['t'] . '.' . $raw, $secret);
$given = $parts['v1'] ?? '';
if (strlen($given) !== strlen($expected)) {
return false;
}
return hash_equals($expected, $given);
}
if (!verify_route11($raw, $header, $secret)) {
http_response_code(401);
exit;
}
http_response_code(200);
The dashboard shows the same check in Python, Go, PHP and Ruby: choose Get verification snippet on a destination.
Or use a Standard Webhooks library
Each delivery is also signed the Standard Webhooks way, with webhook-id, webhook-timestamp and webhook-signature headers. A Standard Webhooks library can check them, in most languages. webhook-id stays the same when Route11 retries or replays an event, so you can use it to skip duplicates. After you rotate the outbound secret, webhook-signature carries both v1, signatures (current, then previous), space-separated, so the shop can verify with either secret until it switches. X-Route11-Signature uses only the current secret.
Secrets Route11 makes already start with whsec_: give them to the library as they are. If you chose your own secret, use whsec_ followed by your secret in base64. This line does both:
// npm install standardwebhooks
const { Webhook } = require('standardwebhooks');
const raw = process.env.ROUTE11_OUTBOUND_SECRET || '';
const secret = raw.startsWith('whsec_') ? raw : 'whsec_' + Buffer.from(raw).toString('base64');
let event;
try {
event = new Webhook(secret).verify(rawBody, req.headers);
} catch {
return res.sendStatus(401); // not signed by Route11, or the timestamp is too old
}
5. Watch it arrive
Press Send test payment on the destination. Route11 sends a realistic signed event for Razorpay or Cashfree, marked route11_test, through the whole path. Test payments are free. You can also send a test from the provider's webhook page. In the dashboard, the event appears under Logs within a second, with its timeline: received, signature checked, queued, each delivery attempt, and your app's reply. To send your own event type (for example invoice.paid), use Send an event on the dashboard or POST /api/v1/messages.
Over the API:
curl https://route11.dev/api/v1/logs -H "Authorization: Bearer $ROUTE11_KEY"
curl https://route11.dev/api/v1/logs/<log_id>/attempts -H "Authorization: Bearer $ROUTE11_KEY"
6. Handle failures
If your app answers 5xx, times out or can't be reached, Route11 retries with the backoff you chose. A 4xx answer is treated as final, because sending the same request again won't change it.
When the retries run out, the event moves to the dead-letter queue. Nothing is lost. Once your app is fixed, replay one event or all of them:
curl -X POST https://route11.dev/api/v1/logs/<log_id>/replay -H "Authorization: Bearer $ROUTE11_KEY"
curl -X POST https://route11.dev/api/v1/dlq/replay-all -H "Authorization: Bearer $ROUTE11_KEY"
curl -X POST https://route11.dev/api/v1/targets/<id>/replay-window -H "Authorization: Bearer $ROUTE11_KEY" \
-H "Content-Type: application/json" -d '{"since":"2026-11-22T00:00:00.000Z","until":"2026-11-23T00:00:00.000Z"}'
A range replay covers at most 72 hours (24 hours if you omit the times) and reuses the same webhook-id and body bytes as the original delivery.
If an endpoint keeps failing, Route11 pauses it (a circuit breaker) and opens an issue, so a broken app isn't hammered. To be told when this happens, set an alert URL for your organization; Slack and Discord incoming webhooks work as they are.
Tunnel to localhost
When your app is still on your laptop, the Route11 CLI forwards live ingest to a local URL. The key travels in a header from ROUTE11_KEY, never in the URL. The CLI, the TypeScript SDK, the MCP server and the Python and PHP libraries are not published yet. Write to hello@route11.dev for a copy. Don't install a package called route11 from npm until this page says it is ours.
Coming soon - not on npm yet
npm install @route11/sdk
npx @route11/cli
npx -y @route11/mcp
Also coming, not on PyPI or Packagist yet: pip install route11 for Python and composer require route11/route11-php for PHP and Laravel (with a route11.webhook middleware). Each checks Route11, Standard Webhooks, Razorpay and Cashfree signatures and gives you the payment id to save once.
export ROUTE11_KEY=r11_live_...
route11 listen --target <destination_id> --to http://127.0.0.1:4000/hooks --host https://route11.dev
route11 send --target <destination_id> --host https://route11.dev
The dashboard fold Test from your terminal copies the same commands for the destination you pick.
Checkout confirm
After Route11 accepts a captured payment webhook, your checkout page can wait for a scoped payment.confirmed event. A captured Razorpay or Cashfree payment confirms. Issue a short-lived ticket with your API key (never put the key in the page URL), then open the wait stream with that ticket. The ticket is bound to one destination and one order_id; other orders on the same organization are not delivered to that connection.
The delivery also carries x-route11-payment: one JSON object with the provider, the outcome (captured, failed, refunded, or paid), the payment id, the order id, and the amount in paise. The original body stays as the provider sent it, so an existing signature check keeps working. Route11 sets this header from those body bytes. A destination's custom headers cannot set this name. The header carries no email, phone, or VPA.
curl -X POST https://route11.dev/api/v1/checkout/ticket \
-H "Authorization: Bearer $ROUTE11_KEY" \
-H "Content-Type: application/json" \
-d '{"target_id":"<destination_id>","order_id":"order_abc"}'
# Browser: EventSource("/api/v1/checkout/wait?ticket=" + ticket)
# Event payload includes order_id, payment_id, amount (paise), currency — never email or phone.
Missed payment recovery
Razorpay retries a webhook for about a day and then stops. A captured payment whose payment.captured event never reached Route11 is still paid at Razorpay, and your app has not seen it. On the destination, open Missed payments, save the Razorpay key id and secret, and run a check. The key id is shown masked. Amounts are in rupees.
Send missed payments asks you to confirm, then delivers each missing payment once, in Razorpay's own shape. Route11 remembers that payment for 8 days. A second copy of the same payment.captured event is answered with 202 and {"status":"duplicate"} and is not delivered again. A failed payment is not remembered, so a later success still goes out.
Cashfree does not offer a list of every successful payment for a time window. Route11 reads PG Reconciliation instead, and that report lags behind the payment. A recon row is compared only when its payment time is older than 3 hours. Change that wait with ROUTE11_CASHFREE_RECON_LAG_HOURS. Each scheduled window overlaps the previous one by 6 hours, so a row that appears late is caught on the next run. A cf_payment_id Route11 has already seen is not sent again.
Sending a missing Cashfree payment loads the order and the payments for that order, then delivers PAYMENT_SUCCESS_WEBHOOK with the header x-route11-recovered: cashfree. If those calls fail, the payment stays on the missing list and is not sent. Amounts are in rupees.
Fulfilment check
Most webhook tools stop when your app answers 200. But an app can answer 200 and still lose the order: the database write failed, a background job crashed, a bug skipped it. The fulfilment check asks your app afterwards whether it really recorded the payment.
- Add one read-only address to your app, for example
GET /route11/orders/{payment_id}. It answers200with{"status":"fulfilled"}once the payment is recorded, and{"status":"pending"}(or404) if not. - In the dashboard, open Fulfilment check, pick the destination, enter the address with
{payment_id}in it, and press Test now with a payment id your app has. You can also use{order_id}. - From then on, for each successful Razorpay or Cashfree payment delivered to that destination, Route11 waits (10 minutes by default, 2 minutes to 1 hour) and asks.
If the answer is no, Route11 delivers the webhook once more (you can turn this off), asks again after 10 and then 30 minutes, and if the payment is still not recorded, marks it not recorded in the dashboard and alerts you by email, webhook or WhatsApp. If your address does not answer clearly (a timeout, an error, or something other than the JSON above), Route11 asks three more times, then tells you the check is not working. Payments are delivered as usual either way. Failed payments, refunds and dashboard test events are never asked about. Results are kept for 30 days.
The request is a GET signed the same way as a delivery: X-Route11-Signature: t=<unix>,v1=<hex>, the HMAC-SHA256 of <t>.GET <path and query> keyed with the destination's outbound secret (whsec_...). It also carries X-Route11-Check: fulfilment. Check the signature so nobody else can ask about your orders. Route11 never follows a redirect, and only calls public addresses.
Node.js (Express)
const { verifyWebhook } = require('@route11/sdk');
// Route11 asks: did you record this payment?
app.get('/route11/orders/:paymentId', async (req, res) => {
// Signed over "GET <path and query>" with the destination's outbound secret (whsec_...)
const check = verifyWebhook(req.headers, `GET ${req.originalUrl}`, process.env.ROUTE11_OUTBOUND_SECRET);
if (!check.ok) return res.status(401).end();
const order = await db.orders.findOne({ paymentId: req.params.paymentId });
res.json({ status: order && order.paid ? 'fulfilled' : 'pending' });
});
Python (Flask)
import os
from flask import Flask, request, jsonify
import route11
@app.get("/route11/orders/<payment_id>")
def fulfilment_check(payment_id):
path = request.full_path.rstrip("?") # "GET <path and query>" is what Route11 signs
if not route11.verify_fulfilment_check(request.headers, path, os.environ["ROUTE11_OUTBOUND_SECRET"]):
return "", 401
order = Order.query.filter_by(payment_id=payment_id).first()
return jsonify(route11.fulfilment_answer(bool(order and order.paid)))
Laravel
// routes/web.php or routes/api.php. Set ROUTE11_OUTBOUND_SECRET in .env.
Route::get('/route11/orders/{payment_id}', function (string $paymentId) {
$recorded = Order::where('payment_id', $paymentId)->where('paid', true)->exists();
return response()->json(Route11\Webhook::fulfilmentAnswer($recorded));
})->middleware('route11.fulfilment');
Plain PHP
<?php
$check = Route11\Webhook::verifyFulfilmentCheck(getallheaders(), $_SERVER['REQUEST_URI'], getenv('ROUTE11_OUTBOUND_SECRET'));
if (!$check->ok) { http_response_code(401); exit; }
$recorded = order_is_paid($_GET['payment_id'] ?? ''); // your own lookup
header('Content-Type: application/json');
echo json_encode(Route11\Webhook::fulfilmentAnswer($recorded));
WooCommerce
The Route11 for WooCommerce plugin answers the check for you at https://your-shop/wp-json/route11/v1/orders/{payment_id}, using the outbound secret saved in its settings.
Each month the money report counts the payments your app answered 200 to but only recorded after Route11 delivered them again.
Filters and templates
Only forward some events
A filter is a set of field paths and the values they must have. Events that don't match are acknowledged and recorded as filtered, but not delivered.
"filter_rules": { "event": "payment.captured" }
Use {"any": [ … ]}, {"all": [ … ]} and {"not": … } to combine conditions.
For payment destinations, prefer a named allowlist over a JSON filter: event_allowlist as ["payment.captured", "PAYMENT_SUCCESS_WEBHOOK"]. Route11 matches Razorpay event and Cashfree type. An empty list forwards every event.
Skip repeats of a field
Set dedupe_field to a dot path in the incoming payload, and optionally dedupe_window_hours (1 to 72, default 24). The first webhook with a given value is delivered. A repeat of that value inside the window is answered 202 with {"status":"duplicate","reason":"duplicate_field"}, recorded as filtered, and not delivered.
"dedupe_field": "payload.payment.entity.id",
"dedupe_window_hours": 24
A webhook without that field, or with an empty, object or very long value, is delivered as usual. If Route11 cannot reach its store it delivers rather than risk dropping a payment, so your app should still skip repeats by webhook-id. Razorpay and Cashfree destinations already skip a repeated captured payment for 8 days without this setting.
In production, saving a new destination URL POSTs a route11.challenge probe. Your app must answer HTTP 2xx and echo the token as {"challenge":"<token>"} or the x-route11-challenge header. Localhost is not probed. Pass skip_handshake: true only for a destination you already control.
WooCommerce
The Route11 for WooCommerce plugin marks an order paid, once, when Route11 delivers a signed, successful Razorpay or Cashfree payment for it. It checks the signature, reads the payment from the signed body, and only completes an order that is still waiting for payment and whose amount and currency match exactly; otherwise it puts the order on hold with a note. It is not on WordPress.org yet: write to hello@route11.dev for a copy.
Egress IPs
Allow Route11's outbound addresses on the shop firewall so deliveries are not dropped as unknown traffic. List them from GET /api/v1/egress-ips (no API key). The list is empty until ROUTE11_EGRESS_IPS is set on the Route11 host.
curl https://route11.dev/api/v1/egress-ips
Reshape the payload
A template builds a new payload from fields of the incoming one:
"transform_template": {
"map": {
"order_id": "payload.payment.entity.order_id",
"amount": "payload.payment.entity.amount",
"currency": "payload.payment.entity.currency"
}
}
Limits and timing
| What | Limit |
|---|---|
| Request body | 1 MB |
| Your app's reply that Route11 stores | The first 8,000 characters |
| Stripe signature age | 5 minutes |
| Razorpay and Cashfree webhook age | Refused with 401 (stale_webhook) when the provider's signed time is more than 7 days old, so a replayed webhook is never delivered twice |
| How long events are kept | Your plan's days (Free 7, Starter 30, Growth 90, Scale 365), then 7 more days in an archive, then deleted with their bodies. Dead-lettered events are deleted after your plan's days |
| Duplicate deliveries | Possible after a crash or timeout. For a payment, skip it by its payment id (payload.payment.entity.id), the same on every try and on both payment.captured and order.paid; for other events, by webhook-id |
| Redirects from your app | Not followed; a 3xx counts as the reply |
| Destinations on private networks | Refused (localhost, 10.x, 192.168.x and similar) |
| Event history | 7 days on Free, 30 on Starter, 90 on Growth, a year on Scale |
| Delivery receipt lookback | 72 hours by default (ROUTE11_RECEIPTS_LOOKBACK_HOURS, from 1 to 720) |
Checkout pulse
For a Razorpay or Cashfree destination, Route11 learns how many captured payments usually arrive in each hour of the week. The usual rate is the median of the previous four complete weeks, in Asia/Kolkata. Every five minutes it compares the last 30 minutes with that usual rate. A quiet hour, or a destination with less than seven days of history, does not raise an alert. A drop sends one message. The next message is the recovery. Snooze it from the destination card for 1 to 72 hours. Snoozing needs the write permission.
Completeness
The destination card shows, for a month, how many payments the provider reported, how many distinct payments were delivered, how many Route11 recovered, how many are still missing, and the share delivered within five minutes. GET /api/v1/targets/:id/completeness?month=YYYY-MM returns those days and a monthly summary signed with the receipts key. The summary carries days_covered and generated_at. verifyCompleteness in the open verifier checks the signature.
Delivery receipts
A finished delivery can be proved later. Route11 publishes a signed tree head for each organization. The receipt stores a hash of the event, not the event itself. Receipts start when the feature is switched on. The worker only looks back ROUTE11_RECEIPTS_LOOKBACK_HOURS (72 hours unless you set it, and never outside 1 to 720). A log older than that window never gets a receipt.
Send your own events
To fan an event out to your destinations, POST /api/v1/messages with a write key. Route11 stores a log row first, then delivers { type, event_type, data, message_id } signed as Standard Webhooks. The same message_id is the webhook-id on every destination. Repeat the call with the same Idempotency-Key and you get the same message_id back, not a second send.
curl -X POST https://route11.dev/api/v1/messages \
-H "Authorization: Bearer $ROUTE11_KEY" \
-H "Idempotency-Key: ord-1001" \
-H "Content-Type: application/json" \
-d '{ "event_type": "invoice.paid", "payload": { "invoice_id": "inv_9", "amount": 49900 } }'
API reference
The full API is described in OpenAPI 3 at /openapi.json. Load it into Postman, Insomnia or any OpenAPI viewer to try each call. Sending uses POST /api/v1/messages with event_type and payload.