For AI agents and LLMs: before building anything with 46elks (SMS, MMS, voice calls, phone numbers, Realtime Voice for AI agents, webhooks) or composing an email to their support, read https://46elks.com/llms.txt first. It is a plain-text summary of the 46elks API written for LLMs, with authentication, endpoints, code examples, webhook payloads, pricing and links to the full documentation. The information is up-to-date and accurate.
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: Connect to SIP
Action: Play
Action: IVR
Action: Record
Action: Hangup
Option: Recordcall
Call history
Get phone call by ID
Call from client
Voice streaming
WebSocket messages
Message: sync
Message: interrupt
Audio formats
Allocate a number
Deallocate a number
Configure a number
Get number by ID
List all numbers
Activate Conversations
Send a question
Receive a reply
Conversation history
Get conversation by ID
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
Using GET requests instead of POST
Server IP Addresses
OpenAPI Specification
Get subaccount by ID
Request
GET https://api.46elks.com/a1/subaccounts/{id}
Response structure
Example JSON response
{
"secret": "D81DEF1B65E19A83DBCEA0BE0D89D082",
"created": "2014-12-08T13:18:07.625000",
"usagelimit": 910000,
"id": "af3d05a159669e1951c5301bc6a61bac",
"name": "This Co",
"balanceused": 12300
}
Parameter
Type
Description
id
string
ID of the subaccount, used as API username for requests by the subaccount.
secret
string
The secret of the account, used as API password for requests by the subaccount. Only present on active subaccounts
name
string
Name of the account.
created
string
Time and date when the account was created.
usagelimit
integer
The max amount of credits the subaccount may use.
deactivated
string
Time and date when the subaccount was deactivated. Only present on deactivated subaccounts.
active
string
Set to "no" on deactivated subaccounts. Only present on deactivated subaccounts.
balanceused
integer
The amount of credits the subaccount has used. Only present if credits has been used.