Webhook Payloads API - Fetch Captured Webhook Data
Retrieve every payload captured by a webhook inbox, including the request body, timestamp, and a unique payload ID. Returns up to 50 of the most recent payloads. REST-convention endpoint: simple GET request, no body needed. The inbox must have been created via the /v1/webhook/inbox/create endpoint.
Code examples
curl -X POST https://api.botoi.com/v1/webhook/inbox/:id/payloads \
-H "Content-Type: application/json" \
-d '{"id":"a1b2c3d4"}'When to use this API
Inspect the exact payload structure a webhook provider sends
After triggering a test event, fetch the inbox payloads to see the raw JSON body. Use this to build typed interfaces for your webhook handler without guessing at the schema.
Verify that your webhook forwarder passes payloads correctly
If you route webhooks through a proxy or queue, point the proxy output to a test inbox. Compare the listed payloads against the original provider payload to confirm nothing was altered.
Build automated integration tests for webhook consumers
Create an inbox in your test suite, send a simulated webhook payload, then fetch the payloads endpoint to assert delivery. No mock servers needed.
Frequently asked questions
What happens if the inbox ID does not exist or has expired?
Are payloads returned in chronological order?
Can I delete individual payloads from an inbox?
Does this endpoint return the full payload body?
Is there a POST version of this endpoint?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.