Integration

Number Masking REST API

The Edesy number masking REST API: create two-way sessions, place masked click-to-calls, pause or end sessions, enroll numbers, set routing, and read call logs, recordings, usage and wallet balance. Bearer API keys, JSON over HTTPS.

Number masking at a glance

ShopifyAmazonStripeSlackNotionVercel

Quick Start

From API key to first masked call

  1. Step 1 of 4: Get an API key

    Sign up at masking.edesy.in, complete KYC and create an API key (prefix vp_).

  2. Step 2 of 4: Create a session

    POST /v1/masking/sessions with party_a and party_b. You get a virtual number back; either party can call it.

  3. Step 3 of 4: Parties call

    Whoever dials the virtual number is bridged to the other party. Both see only the virtual number.

  4. Step 4 of 4: Track calls

    GET /v1/masking/call-logs, a single call, its recording, usage stats and wallet balance.

Endpoints at a Glance

Every call uses Authorization: Bearer with your vp_ API key.

# Base URL: https://voice-api.edesy.in/v1   Auth: Authorization: Bearer vp_...

# Two-way session: either party dials the virtual number
curl -X POST https://voice-api.edesy.in/v1/masking/sessions \
  -H "Authorization: Bearer $EDESY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"party_a":"9876543210","party_b":"9123456789","reference":"ORD-4821","expiry_minutes":60}'

# Click-to-call: ring Party A, then bridge Party B on a masked caller ID
curl -X POST https://voice-api.edesy.in/v1/masking/calls \
  -H "Authorization: Bearer $EDESY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"party_a":"9876543210","party_b":"9123456789"}'

# Pause, extend or end a session
curl -X PATCH  https://voice-api.edesy.in/v1/masking/sessions/SESSION_ID \
  -H "Authorization: Bearer $EDESY_API_KEY" -H "Content-Type: application/json" \
  -d '{"status":"paused"}'
curl -X DELETE https://voice-api.edesy.in/v1/masking/sessions/SESSION_ID \
  -H "Authorization: Bearer $EDESY_API_KEY"

# Call logs, one call, its recording, usage and wallet balance
curl "https://voice-api.edesy.in/v1/masking/call-logs?page=1&per_page=20" -H "Authorization: Bearer $EDESY_API_KEY"
curl https://voice-api.edesy.in/v1/masking/calls/CALL_SID           -H "Authorization: Bearer $EDESY_API_KEY"
curl https://voice-api.edesy.in/v1/masking/calls/CALL_SID/recording -H "Authorization: Bearer $EDESY_API_KEY"
curl https://voice-api.edesy.in/v1/masking/stats                    -H "Authorization: Bearer $EDESY_API_KEY"
curl https://voice-api.edesy.in/v1/masking/billing                  -H "Authorization: Bearer $EDESY_API_KEY"

Capabilities

Sessions

Two-way sessions with reference, expiry_minutes (up to 30 days), max_calls and metadata. Create is idempotent on reference.

Click-to-call

POST /v1/masking/calls rings Party A, then bridges Party B on a masked caller ID, with an optional max_duration_sec.

Routing modes

Per number: internal sessions, your routing webhook (masking.route), or extension codes.

Logs and recordings

Paginated call logs with status and date filters, call status by call_sid, recordings via the API.

FAQ

Simple Per-Minute Pricing

Rs 1.50/min in 60-second pulses, 1-minute minimum, plus number rental (Rs 499/month mobile, Rs 449/month landline). Prices exclude 18% GST. New accounts get a Rs 20 welcome credit; no card needed to sign up.

Most Popular
Pay As You Go
₹1.50/ min
Prepaid INR wallet, billed per bridged minute
  • Two-way masking sessions
  • Extension codes and QR
  • Optional call recording
  • Analytics and CSV export
  • REST API and signed webhooks
  • Self-serve portal
  • Number rental billed separately
Get Started
Enterprise
Custom
For high volume and custom requirements
  • Everything in Pay As You Go
  • Volume pricing on request
  • Help with integration
  • GST invoices with your GSTIN
Contact Sales
Done-For-You
Don't want to integrate this yourself?
Want help setting up Edesy number masking: API integration, webhook handlers, routing or migration from another provider? Setup work is quoted per project. The self-serve product is Rs 1.50/min plus number rental for teams who prefer DIY.

Ready to Protect User Privacy?

Get started on the self-serve portal. Rs 1.50 per minute plus number rental. New accounts get a Rs 20 welcome credit; no card needed to sign up.