How Webhooks Work
- Configure: Add a webhook URL in Settings → Webhooks
- Subscribe: Select which events you want to receive
- Receive: Replyify sends HTTP POST requests to your URL when events occur
- Process: Your server processes the event and responds with 2xx status
Setting Up Webhooks
1
Go to Webhook Settings
Navigate to Settings → Webhooks in your dashboard.
2
Add a webhook
Click Add Webhook and configure:
- Name: A descriptive name (e.g., “CRM Integration”)
- URL: Your HTTPS endpoint that will receive events
- Events: Select which events to subscribe to
3
Copy the secret
Save the webhook secret for verifying signatures (see Security).
4
Test the webhook
Click Send Test to verify your endpoint is receiving events correctly.
Webhook Payload
All webhook events are sent as HTTP POST requests with a JSON body:Headers
| Header | Description |
|---|---|
Content-Type | application/json |
X-Replyify-Signature | HMAC-SHA256 signature for verification |
X-Replyify-Event | Event type (e.g., reply.received) |
X-Replyify-Delivery-ID | Unique delivery ID for deduplication |
Responding to Webhooks
Your endpoint should:- Respond quickly: Return a 2xx status within 30 seconds
- Process asynchronously: Queue heavy processing for later
- Handle duplicates: Use delivery ID for deduplication
- Return appropriate status:
200-299: Success, delivery complete4xx: Client error, no retry5xx: Server error, will retry
Retry Policy
If your endpoint returns a non-2xx status or times out:| Attempt | Delay |
|---|---|
| 1 | Immediate |
| 2 | 1 minute |
| 3 | 5 minutes |
| 4 | 30 minutes |
| 5 | 2 hours |
Example Endpoint
Managing Webhooks
Viewing Deliveries
In Settings → Webhooks, click on a webhook to see:- Recent delivery attempts
- Success/failure status
- Response codes
- Payload data
Pausing Webhooks
Temporarily pause a webhook without deleting it:- Open the webhook settings
- Toggle Active to off
- Events won’t be sent until re-enabled
Deleting Webhooks
To delete a webhook:- Open the webhook settings
- Click Delete
- Confirm the deletion