Eedesy
Book Demo
HomeProductsContact
Number Masking API
  • Introduction
  • Quick Start
  • Authentication
  • Call Lifecycle
  • Complete Example
  • Overview
  • Create a Session
  • Manage a Session
  • Dynamic Routing Webhook
  • Event Webhooks
  • Enroll Your Own Numbers
  • Overview
  • Initiate a Call
  • Get Call Status
  • Get Call Recording
  • List Call Logs
  • Get Usage Stats
  • Get Wallet Balance
  • Webhooks
  • Error Codes

Related Products

  • AI Voice Agent
  • AI Voice Assistant
  • Try Free
Number Masking API
  • Introduction
  • Quick Start
  • Authentication
  • Call Lifecycle
  • Complete Example
  • Overview
  • Create a Session
  • Manage a Session
  • Dynamic Routing Webhook
  • Event Webhooks
  • Enroll Your Own Numbers
  • Overview
  • Initiate a Call
  • Get Call Status
  • Get Call Recording
  • List Call Logs
  • Get Usage Stats
  • Get Wallet Balance
  • Webhooks
  • Error Codes
  1. Docs
  2. Number Masking API
  3. API Reference
  4. Webhooks

Webhooks

Subscribe to masked-call lifecycle events instead of polling. Signed JSON is POSTed to your endpoint on every state transition.

Webhooks

Subscribe to call lifecycle events instead of polling. We POST signed JSON to your endpoint at each state transition. Failed deliveries retry with exponential backoff, and every payload includes an HMAC SHA-256 signature for verification.

Configure your webhook endpoint URL on the portal.

Events

Event Description
call.initiated Party A is being dialed. Call has not yet connected.
call.ringing Party A's phone is ringing.
call.answered Party A answered. We are now dialing Party B to bridge.
call.bridged Both parties are connected and talking.
call.completed Call ended normally. Includes duration and recording URL.
call.failed Call failed. Includes hangup_cause for diagnostics.
call.no-answer Party A did not answer within the timeout window.
recording.ready Recording is processed and available for download.

Sample payload (call.completed)

{
  "event": "call.completed",
  "call_sid": "d28be7cd-9840-4b23-9627-199f1ef81fc6",
  "data": {
    "caller_number": "917969002802",
    "target_number": "9876543210",
    "masked_number": "917969002802",
    "direction": "click_to_call",
    "status": "completed",
    "started_at": "2026-05-11T08:30:00Z",
    "answered_at": "2026-05-11T08:30:08Z",
    "ended_at": "2026-05-11T08:31:42Z",
    "duration_sec": 94,
    "bill_duration_sec": 120,
    "price": 3.0,
    "recording_url": "recordings/2026/05/11/d28be7cd.wav"
  }
}

Verifying signatures

Each request includes an HMAC SHA-256 signature computed over the raw request body using your webhook signing secret (from the portal). Recompute the HMAC on your side and compare it to the signature header before trusting the payload. Always respond with a 2xx status quickly; do any heavy processing asynchronously so deliveries are not retried unnecessarily.

Previous
Get Wallet Balance
Next
Error Codes

On this page

  • Events
  • Sample payload (`call.completed`)
  • Verifying signatures

Stay Updated

Get the latest updates on AI voice technology, product releases, and exclusive resources.

Get Started

Try our products for free
AI Voice Agent
Build voice AI for calls
WhatsApp AI Bot
Automate WhatsApp chats
Website Chatbot
AI chat for websites
Edesy CRM
Manage leads & customers
Book a DemoCall UsEmail Us
Eedesy

Your all-in-one platform for digital innovation. We build AI-powered solutions that transform how businesses operate.

[email protected]+91 95475 31359

Products

  • AI Voice Assistant
  • Voice AI Suite
  • Telephony Suite
  • Messaging Suite
  • Business Apps Suite
  • WhatsApp Voice AI
  • WhatsApp Bot Builder
  • AI Website Chatbot
  • AI-SDR
  • Number Masking
  • Shopify Apps
  • View All Products

Solutions

  • For E-commerce
  • For Healthcare
  • For Real Estate
  • For Restaurants
  • For Appointments
  • View All Use Cases

Services

  • AI Chatbot Development
  • Voice AI Development
  • Shopify Development
  • SaaS Development
  • WhatsApp API Integration
  • View All Services

Resources

  • Documentation
  • Voice Agent Docs
  • API Reference
  • Number Masking API Docs
  • Blog
  • Changelog
  • Book a Demo

Company

  • About Us
  • Contact
  • Careers
  • Privacy Policy
  • Terms of Service

Products

  • AI Voice Assistant
  • Voice AI Suite
  • Telephony Suite
  • Messaging Suite
  • Business Apps Suite
  • WhatsApp Voice AI
  • WhatsApp Bot Builder
  • AI Website Chatbot
  • AI-SDR
  • Number Masking
  • Shopify Apps
  • View All Products

Solutions

  • For E-commerce
  • For Healthcare
  • For Real Estate
  • For Restaurants
  • For Appointments
  • View All Use Cases

Services

  • AI Chatbot Development
  • Voice AI Development
  • Shopify Development
  • SaaS Development
  • WhatsApp API Integration
  • View All Services

Resources

  • Documentation
  • Voice Agent Docs
  • API Reference
  • Number Masking API Docs
  • Blog
  • Changelog
  • Book a Demo

Company

  • About Us
  • Contact
  • Careers
  • Privacy Policy
  • Terms of Service
  • AI Voice Assistant
  • Voice AI Suite
  • Telephony Suite
  • Messaging Suite
  • Business Apps Suite
  • WhatsApp Voice AI
  • WhatsApp Bot Builder
  • AI Website Chatbot
  • AI-SDR
  • Number Masking
  • Shopify Apps
  • View All Products
  • For E-commerce
  • For Healthcare
  • For Real Estate
  • For Restaurants
  • For Appointments
  • View All Use Cases
  • AI Chatbot Development
  • Voice AI Development
  • Shopify Development
  • SaaS Development
  • WhatsApp API Integration
  • View All Services
  • Documentation
  • Voice Agent Docs
  • API Reference
  • Number Masking API Docs
  • Blog
  • Changelog
  • Book a Demo
  • About Us
  • Contact
  • Careers
  • Privacy Policy
  • Terms of Service

Popular Free Tools

Compress PDFMerge PDFPDF to WordGST CalculatorEMI CalculatorSIP CalculatorJSON FormatterBase64 EncoderImage CompressorQR Code GeneratorVoice AI ROI CalculatorAmazon FBA CalculatorAI Email WriterVideo to GIFPrivacy Policy GeneratorCRM ROI CalculatorMeeting Cost Calculator
Categories:PDF ToolsDeveloper ToolsFinance CalculatorsImage ToolsVideo ToolsAI Writing ToolsAudio ToolsWhatsApp ToolsDocument GeneratorsVoice AI ToolsE-commerce ToolsView All Tools

© 2026 Edesy Technology Labs Pvt Ltd

SSL Secured
99.9% Uptime