Developer Services

APIs for Modern Communications

Build powerful voice and messaging applications with our developer-friendly APIs and SDKs. Try the live examples below.

  • Voice API
  • Messaging API
  • Number Management
  • Official SDKs

Voice API

Build programmable voice applications with call control, IVR, recording, and real-time transcription across 180+ countries.

  • Programmable call control
  • Interactive Voice Response (IVR)
  • Call recording and storage
  • Real-time transcription
  • Conference calling
  • Call analytics and CDRs
Get API Access
outbound-call.js
1import { AlfaCall } from '@alfacall/sdk';
2
3const client = new AlfaCall({ apiKey: process.env.ALFACALL_API_KEY });
4
5// Place an outbound call with an IVR menu
6const call = await client.calls.create({
7 to: '+14155550142',
8 from: '+18005550199',
9 answerUrl: 'https://your-app.com/ivr',
10 record: true,
11 machineDetection: 'enable',
12});
13
14console.log('Call SID:', call.sid);
15console.log('Status:', call.status);
output
// Press "Run" to execute this example

Messaging API

Send and receive SMS, MMS, and WhatsApp messages globally with delivery tracking, templates, and webhooks.

  • SMS and MMS support
  • Two-way messaging
  • Delivery webhooks
  • Message templates
  • Shortcode support
  • Unicode and concatenation
Get API Access
send-sms.js
1import { AlfaCall } from '@alfacall/sdk';
2
3const client = new AlfaCall({ apiKey: process.env.ALFACALL_API_KEY });
4
5// Send a transactional SMS with a delivery webhook
6const message = await client.messages.create({
7 to: '+14155550142',
8 from: 'ALFACALL',
9 body: 'Your verification code is 480913',
10 statusCallback: 'https://your-app.com/sms/status',
11});
12
13console.log('Message ID:', message.id);
14console.log('Segments:', message.segments);
output
// Press "Run" to execute this example

Number Management

Search, provision, and manage local, mobile, and toll-free numbers programmatically across 100+ countries.

  • Number search and filtering
  • Instant provisioning
  • Number configuration
  • Porting management
  • Regulatory compliance
  • Number lifecycle management
Get API Access
buy-number.js
1import { AlfaCall } from '@alfacall/sdk';
2
3const client = new AlfaCall({ apiKey: process.env.ALFACALL_API_KEY });
4
5// Search and instantly provision a local number
6const [available] = await client.numbers.search({
7 country: 'US', type: 'local', areaCode: '212',
8});
9
10const number = await client.numbers.buy(available);
11
12console.log('Provisioned:', number.phoneNumber);
output
// Press "Run" to execute this example
Industries We Power

Built for every communication workflow

From OTP delivery to global contact centers, teams across industries build on AlfaCall.

Contact Centers & BPO

Scale inbound and outbound campaigns with least-cost routing, IVR, and real-time CDRs.

Retail & E-commerce

Order confirmations, delivery alerts, and abandoned-cart SMS with global delivery rates.

Healthcare

HIPAA-conscious appointment reminders, secure voice, and two-way patient messaging.

Banking & Fintech

OTP delivery, fraud alerts, and verified caller ID to build customer trust.

Logistics & Mobility

Driver-rider masked calling, dispatch notifications, and proof-of-delivery messaging.

SaaS & Platforms

Embed voice, verification, and notifications into your product with a few API calls.

Official SDKs

Get started quickly with our official libraries for your favorite language.

JS
Node.js
PY
Python
PHP
PHP
RB
Ruby
JV
Java
C#
C#

RESTful APIs

Clean, well-documented REST APIs with predictable resource-oriented URLs.

Webhooks

Real-time event notifications for call status, message delivery, and more.

Documentation

Comprehensive guides, tutorials, and API references.

Ready to start building?

Sign up for a free account and start integrating voice and messaging into your applications.