How Webhooks Are Received
When an external service sends a webhook to your endpoint, agntdata:- Accepts the HTTP request
- Stores the payload, headers, and metadata as a “delivery”
- Returns a
200 OKresponse to the sender
What Gets Stored
Each delivery includes:| Field | Description |
|---|---|
id | Unique delivery identifier |
webhookEndpointId | The endpoint that received it |
rawPayload | The complete JSON body |
headers | HTTP headers from the request |
sourceIp | IP address of the sender |
createdAt | When the delivery was received |
acknowledgedAt | When you marked it as processed (null if pending) |
Supported Methods and Formats
HTTP Methods
agntdata webhook endpoints accept:POST— Standard webhook delivery
Content Types
application/json— Parsed and stored as JSON- Other content types — Stored as
{ raw: "..." }
JSON payloads are recommended for best compatibility.
Delivery Example
A Stripe webhook delivery might look like:Response to Senders
On success, agntdata returns:Handling Large Payloads
Payloads up to 1 MB are accepted. For larger payloads: If you need to receive larger payloads, consider:- Asking the sender to paginate or summarize data
- Using a different integration approach
- Contacting us about enterprise limits
Verifying Webhook Signatures
Many services sign their webhooks for security. The signature is typically in a header:| Service | Signature Header |
|---|---|
| Stripe | stripe-signature |
| GitHub | x-hub-signature-256 |
| Shopify | x-shopify-hmac-sha256 |
| Twilio | x-twilio-signature |
headers field:
Error Handling
If agntdata can’t process an incoming webhook:| Status | Meaning |
|---|---|
200 | Success — delivery stored |
404 | Endpoint not found — check the hookId in the URL |
413 | Payload too large — exceeds 1 MB limit |
500 | Server error — will be retried by most senders |
Next Steps
Managing Deliveries
Learn how to fetch and acknowledge deliveries.
Creating Endpoints
Set up more webhook endpoints.