SMS sending from 3CX via an SMS server using an API

Status
Not open for further replies.

koshi

Forum User
Advanced Certified
Joined
Feb 13, 2023
Messages
4
Reaction score
0
I have an SMS server and setting up outbound SMS using 3CX app.

The server supports HTTP POST http://192.168.0.9/serv/sendsms/
{
"auth": {
"username": "user",
"password": "pass"
},
"provider": "Line1",
"number": "mobilenumber",
"content": "content message"
}

So this is the syntax of the API and working well using Postman.

I am wondering what the NUMBER identifier/variable of the mobile number to be entered when sending an SMS using the 3CX application and also the ID/variable value of the message entered in the app?
 
What is the exact variable name used in 3CX that stored the SMS recipient number as well as the SMS content/message?
I understand that variable name for active call is session.ani so I need similar info for SMS so I can completely test my API logic.

Thank you so much.
 
What is the exact variable name used in 3CX that stored the SMS recipient number as well as the SMS content/message?
I understand that variable name for active call is session.ani so I need similar info for SMS so I can completely test my API logic.

Thank you so much.
The CFD doesn't have access to any SMS features. Not sure what's your goal here but these two don't work together.

To send your SMS, you just send your API request directly to your provider's API.
 
Status
Not open for further replies.

Forum statistics

Threads
111,973
Messages
590,079
Members
164,898
Latest member
grahamaskew