Prerequisites
Before setting up a webhook, complete the following:Register with your company email
Use your official company email address to get started. This will be used for all communication and account verification.
Create your account
Sign up at app.astradial.com and verify your email address. You will receive a verification link — click it to activate your account.
Complete KYC
Complete the Know Your Customer (KYC) process from your dashboard. This is required before any webhook endpoints can be provisioned.You will need to provide:
- Business registration details
- Authorized contact information
- Use case description
Raise a webhook request
Once KYC is approved, raise a request to create your webhook endpoint. Navigate to Settings > Integrations in your dashboard, or contact your account manager.Provide the following details in your request:
- Your server’s static IP address (we will whitelist it on our end)
- Preferred webhook secret or let us generate one for you
- The events you want to receive (call logs, leads, tags, etc.)
Receive your webhook credentials
After your request is processed, we will share:
Your company code is a unique identifier assigned during this step.
| Credential | Description |
|---|---|
| Webhook URL | https://events.astradial.com/[your_company_code] |
| Webhook Secret | A shared secret for authenticating requests |
| AstraDial IPs | Our server IPs to whitelist on your firewall |
Sending data to AstraDial
Once your webhook endpoint is active, send data as aPOST request with Content-Type: application/json.
Authentication
Include the webhook secret in the request header.Payload format
All requests must be JSON with the following structure:| Field | Type | Required | Description |
|---|---|---|---|
customer_name | string | Yes | Full name of the customer |
phone_number | string | Yes | Phone number with country code |
event_date | string | No | Event date in ISO 8601 format |
register_date | string | No | Registration date in ISO 8601 format |
| custom params | any | No | Any additional fields specific to your use case |
Custom parameters are passed through as-is and stored alongside the standard fields. Use them to include any business-specific data you need.
Expected response
A successful request returns:| HTTP Status | Meaning |
|---|---|
200 | Data received successfully |
401 | Invalid or missing webhook secret |
415 | Content-Type is not application/json |
429 | Rate limit exceeded — slow down |
500 | Server error — retry later |
Receiving data from AstraDial
AstraDial sends webhook events to your server when activities occur on your account.Call log event
Sent when a call is completed.| Field | Type | Description |
|---|---|---|
call_id | string | Unique identifier for the call |
duration | integer | Call duration in seconds |
recording_url | string | URL to the call recording (if available) |
direction | string | inbound or outbound |
caller_id_number | string | Caller’s phone number (for inbound calls) |
call_to_number | string | Destination number (for outbound calls) |
bot_type | string | Type of bot handling the call (if applicable) |
answered_agent | object | Agent info if call was handled by an agent |
call_flow | array | Sequence of call events |
Lead created event
Sent when a new lead is created.Tag update event
Sent when tags are updated on a lead.Security
Whitelist AstraDial IPs
If you receive webhooks from AstraDial, whitelist the following IP addresses on your server firewall:| IP Address | Description |
|---|---|
3.7.225.55 | Production server |
61.2.96.163 | Production server |
Validate the webhook secret
Verify theX-Webhook-Secret header on incoming requests to confirm they originate from AstraDial.
Use HTTPS
Your webhook endpoint must use HTTPS to encrypt data in transit.Respond quickly
Return a200 response within 5 seconds. If you need to do heavy processing, acknowledge the webhook first and process asynchronously.
Rate limits
Webhook endpoints are rate limited to 60 requests per second per IP address. Exceeding this limit returns a429 Too Many Requests response.

