### Best Practices

- **Respond Quickly:** Webhook requests should be processed and responded to as quickly as possible to avoid call delays.
- **Idempotency:** A failed request is re-sent to the fallback URL, so the same event can arrive more than once. Make the handler idempotent and deduplicate on the `ce-id` and `ce-source` headers — see *Timeouts and failover* in the **Webhooks** section.
- **Logging:** Log incoming webhook requests and responses for troubleshooting and auditing.
- **Validation:** Validate incoming requests to ensure they are from the Voice API (see Security below).