Webhook Ingress
The ingress endpoint is the main entry point for receiving webhooks from external services.
POST /hooks/:slug
Receive and process a webhook event.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
slug | string | The unique endpoint slug |
Headers
| Header | Required | Description |
|---|---|---|
Content-Type | Yes | Must be application/json |
X-Hub-Signature-256 | Conditional | GitHub/Bitbucket HMAC-SHA256 signature (sha256= prefix) |
X-Dispatch-Signature | Conditional | Custom HMAC-SHA256 signature |
X-Slack-Signature | Conditional | Slack signature (with X-Slack-Request-Timestamp) |
X-Gitlab-Token | Conditional | GitLab secret token |
Linear-Signature | Conditional | Linear HMAC-SHA256 signature |
Stripe-Signature | Conditional | Stripe webhook signature (t= + v1=) |
Authorization | Conditional | Jira/Confluence JWT Bearer token, or Bearer dsp_<api-key> |
X-GitHub-Event | No | GitHub event type (auto-detected) |
X-Gitlab-Event | No | GitLab event type (auto-detected) |
X-Event-Type | No | Custom event type header |
At least one authentication header is required (signature or API key).
Limits
| Limit | Value |
|---|---|
| Maximum payload size | 10 MiB |
| Rate limit | 100 requests/sec per IP address (per /64 network for IPv6) |
| Maximum event type length | 120 characters (truncated, not rejected) |
Request Body
Any valid JSON object.
{
"action": "push",
"repository": {
"full_name": "owner/repo"
},
"sender": {
"login": "username"
}
}
Response
202 Accepted — Event received and queued for delivery.
{
"event_id": "550e8400-e29b-41d4-a716-446655440000"
}
An inactive (paused) source also answers 202 Accepted, with {"message": "endpoint is disabled"}, but doesn't store or deliver the request. A repeated delivery (same idempotency key) also answers 202, with the same event_id as the original.
Error Responses
| Status | Description |
|---|---|
400 Bad Request | Invalid JSON body |
401 Unauthorized | Invalid signature or API key, or the source has no signing secret and the request carries no valid API key |
403 Forbidden | The request's IP address isn't in the source's allowed IPs |
404 Not Found | The source doesn't exist or was just removed |
410 Gone | The source is archived |
413 Payload Too Large | The payload exceeds your plan's size limit |
429 Too Many Requests | Too many requests — the per-IP limit, or the source's ingress rate limit; see the Retry-After header |
503 Service Unavailable | Temporarily unavailable — for example, a new source's first delivery couldn't be recorded, or the queue is unavailable. Retry the request |
Processing Pipeline
- Endpoint lookup — find active endpoint by slug
- Authentication — verify signature or API key
- Payload validation — ensure valid JSON
- Slack challenge — if Slack URL verification, respond immediately
- Event type extraction — provider headers, then the configured header/path, then
X-Event-Type, then typing rules; extracted values are capped at 120 characters - Header collection — store all request headers
- Usage check — verify org hasn't exceeded event limits
- Event storage — persist the event
- Filter evaluation — if blocked, mark as filtered and stop
- Fan-out — create delivery jobs for all active linked destinations
- Queue — enqueue jobs for async delivery
Slack URL Verification
When Slack sends a URL verification challenge, Dispatch responds immediately:
// Incoming
{
"type": "url_verification",
"challenge": "abc123"
}
// Response (200 OK)
{
"challenge": "abc123"
}
This is handled before event storage, so no event is created for verification requests.
Response Headers
| Header | Description |
|---|---|
X-Request-ID | Unique request ID for tracing |