Developer Tools & Integrations

Voice CPaaS API

Programmable voice layer for custom apps and CRM connectors. Initiate calls with chained verbs, control live calls, and receive real-time webhooks — plus no-code HTTP integration inside CX-Flows.

Quick Start

1. Generate API Credentials

Go to Settings → API Client in the admin portal and generate your apiKey and apiSecret. Use these to obtain an access token.

Get API Access

2. Make Your First Call

curl -X POST \
-H "Authorization: accessToken" \
-H "Content-Type: application/json" \
-d @payload.json \
https://api.nexafone.com/srmain/voice/call

Supported Verbs

play

Stream prerecorded audio to the callee

say

Text-to-speech message playback

gather

Collect DTMF input and POST to your webhook

dial

Bridge the caller to an agent or SIP endpoint

hangup

Clean call termination

See the full API reference for payload examples, webhook contracts, and an Express integration guide.

Voice API

Initiate outbound calls with chained verbs: Dial, Say, Play, Hangup. Supports Click-to-Call and IVR workflows.

POST/srmain/voice/call

Initiate a new voice call with action verbs

POST/auth/get-access-token/{accountId}

Authenticate with API key and secret to get access token

Call Control API

Manage live calls programmatically — mute, hold, hangup, and transfer.

POST/voice/call/{callId}/mute

Mute or unmute an active call leg

POST/voice/call/{callId}/hold

Place a call on hold or resume

POST/voice/call/{callId}/hangup

Terminate an active call

POST/voice/call/{callId}/transfer/init

Initiate a call transfer

Webhooks & Callbacks

Receive real-time call event notifications and DTMF gather results at your endpoints.

POSTYour webhook URL

Receive call status updates and gather DTMF payloads

POSTYour callback URL

Status callbacks for call lifecycle events

API Clients

Manage API key and secret pairs for integration authentication.

POSTSettings → API Client

Generate apiKey and apiSecret from the admin portal

No-Code Integration via CX-Flows

Beyond the REST API, Nexafone includes an API Request node inside CX-Flows that performs real-time HTTP lookups during live calls — ideal for CRM eligibility checks, routing decisions, and data enrichment without writing integration code.

Webhooks

Real-time Events

  • • Call status updates
  • • DTMF gather results
  • • Transfer status events
  • • Live call event notifications

Authentication

API clients authenticate with API key + secret. Access tokens are used for subsequent Voice API requests.

Ready to Integrate?

Get API access and start building voice workflows into your applications today.