Webhook Delivery, Retries and Limits
API version
What counts as delivered
An event is delivered when your server answers an attempt with a 2xx status within 8 seconds. Everything else is a failed attempt: another status code, a timeout, a connection error or an invalid certificate. BeeForm does not follow redirects, so a 3xx answer fails too.
Retries
After a failed attempt BeeForm waits and tries again, up to five attempts in total. The waits grow so a server that is briefly down has time to recover.
| Attempt | When it is sent |
|---|---|
| 1 | Straight away |
| 2 | About 1 minute after attempt 1 failed |
| 3 | About 5 minutes after attempt 2 failed |
| 4 | About 30 minutes after attempt 3 failed |
| 5 | About 2 hours after attempt 4 failed |
Retries are checked every minute, so a retry can be up to a minute late. Each retry carries the same event, with the same delivery id and body, and a new timestamp and signature. If the fifth attempt fails the event is marked failed.
When a webhook is turned off
If 20 events in a row fail every attempt, BeeForm turns the endpoint off and emails the person who set it up. A single success resets the count. Test events do not count.
Fix your server, then turn the endpoint back on with the Active switch. This clears the count. Events that arrived while it was off are not sent afterwards, but you can Resend any event you still have from its details.
Seeing what happened
- The endpoint’s Events tab lists each event with its status, filtered as all, succeeded, pending or failed.
- Click an event to see the exact request headers and body, every attempt with the status code your server returned, how long it took and the first 2 KB of your answer.
- Resend sends a past event again as a new event with a new delivery id.
How long events are kept
Events are deleted 30 days after they were created, whatever their status, because they contain a copy of the respondent’s answers. When a form is deleted, its webhooks and their events are removed about a day later.
Limits
| Limit | Value |
|---|---|
| Endpoints per form | 5 |
| Time to answer | 8 seconds per attempt |
| Attempts per event | 5 |
| Largest event | About 900 KB. A bigger one fails and is not sent. |
| Simultaneous requests | At most 10 at a time, across all endpoints |
| response.failed events | At most one a minute per endpoint |
| File download links | Valid for 15 minutes |