Advanced Voice Call Control
The Advanced call control APIs allow you to hold or resume, transfer, and forward a call. This feature is particularly useful in contact and support centers where inbound and outbound calls can be transferred or forwarded to another agent or attendant.
Voice API for Call Management
The Voice APIs allow you to hold, resume, transfer, and forward a call.
Voice API to hold or resume Call
PUT https://api.enablex.io/voice/v1/call/voice_id/holdAuthorization: Basic XXXXXXContent-Type: application/json{Hold : true // true - call hold , false - call resume}
Voice API to transfer Call
PUT https://api.enablex.io/voice/v1/call/voice_id/transferAuthorization: Basic XXXXXXContent-Type: application/json{from : "919999988888", // EnableX numbertransfer_to : "919999922222"}
Voice API to forward Call
PUT https://api.enablex.io/voice/v1/call/voice_id/forwardAuthorization: Basic XXXXXXContent-Type: application/json{from : "919999988888", // EnableX numbertransfer_to : "919999922222"}
Voice API for Conference
The Conference API allows you to create a conference and add inbound or outbound calls to an existing conference.
Create Outbound Conference
POST https://api.enablex.io/voice/v1/conferenceAuthorization: Basic XXXXXXContent-Type: application/json{name : "conference app name",from : "919999999999",to : "919999988888",event_url : "String", // webHook URL for event notifications}
Dial-out & join ongoing Conference
PUT https://api.enablex.io/voice/v1/conference/$conference_idAuthorization: Basic XXXXXXContent-Type: application/json{from : "919999988888", // EnableX numbertransfer_to : "919999922222"}
Accept incoming Call and create Inbound Conference
POST https://api.enablex.io/voice/v1/conference/$voice_idAuthorization: Basic XXXXXXContent-Type: application/json
Accept Incoming Call and join ongoing Conference
PUT https://api.enablex.io/voice/v1/conference/$voice_id/$conference_idAuthorization: Basic XXXXXXContent-Type: application/json
Call Recording is another useful feature provided by EnableX voice service. You can utilize EnableX voice APIs to start/stop/retrieve a recording. The recordings are encrypted for security reasons and their storage location can be configured by the developer.
Voice API for Call Recording
You can record a call. The Voice API allows you to start, stop, and retrieve the recording of a call. The recordings are encrypted for security reasons and their storage location can be configured by application developers.
Start/Stop Call Recording
PUT https://api.enablex.io/v1/call/voice_id/recordingAuthorization: Basic XXXXXXContent-Type: application/json{"start": true,"stop": true,"recording_name": "my_recording.wav" //Optional Parameter}
Retrieve Call Recording
GET `https://api.enablex.io/voice/v1/recording/:serviceId/:recordingId`Authorization: Basic XXXXXXContent-Type: application/json