Overview
Send an SMS
Receive an SMS
SMS actions
Action: Forward
Action: Reply
SMS delivery reports
SMS history
Get SMS by ID
Send an MMS
Receive an MMS
MMS history
Get MMS by ID
Make a phone call
Receive a phone call
Call actions
Action: Connect
Action: Play
Action: IVR
Action: Record
Action: Recordcall
Action: Hangup
Call history
Call phone call by ID
Call from client
Allocate a number
Deallocate a number
Configure a number
Get number by ID
List all numbers
MMS image history
Get MMS image by ID
Get MMS image file
Recording history
Get recording by ID
Get recording .wav file
Get account details
Update account
Create a subaccount
Update a subaccount
Get subaccount details
Get all subaccounts
VOIP SIP
WebRTC SIP
Mobile Extension
Using GET requests instead of POST
Verify callback origin
OpenAPI Specification
Action: Connect
Connect the call to a given number, and in the case of an answer, let the
two callers speak to each other. The callerid indicates who is calling. You
can set it to one of your 46elks numbers. If you leave it out, it will
default to the incoming caller’s number.
Format
{
"connect": "+46766861004",
"callerid": "+46766861234", // Optional
"next": "https://yourapp.io/elks/calls", // Optional
}
Result
POST https://yourapp.io/elks/calls
Parameter
Description
callid
The unique id of the call in our systems.
result
The result of the connect. Can be ”success”, ”failed” or ”busy”.