Best SMS API
Enable SMS facility on your internal software
SMS API
If you need to send SMS messages through your own applications without the cost of hosting an in-house SMS server, BestSMS provides several ways to send SMS over the internet.
BestSMS offers APIs for sending SMS messages over the internet, including HTTP, HTTPS, and a REST API interface. Contact us if you need another transfer method.
About SMS API
About SMS API
Why Use SMS API?
Efficient and scalable communication
Automation and Integration
SMS APIs integrate directly with your systems, so you can automate messaging based on triggers and events.
Scalability
APIs handle large volumes of messages, making them suitable for high-frequency messaging without the constraints of manual interfaces.
Efficiency
Automating message sending through an API reduces manual effort and the risk of errors, compared to more labour-intensive methods.
Real-time Reports
APIs provide real-time delivery reports through webhooks, so you can track performance and optimise campaigns.
HTTP/S API
RESTful API
"MessageData" :
{
"Message": "Hi [[Attention]], this is a test message from [[Custom1]]. Thank you.",
"Destinations" :
[
{ "Recipient": "+61431231234", "Attention": "Test Person", "Custom1": "Best SMS" }
]
}
}
Python Library
client = BestSMS(
AuthToken="[Your Auth Token]" # Auth Token
)
response = client.Messaging.SMS.SendMessage(
Reference = "Test", # Optional
MessageText = "Test SMS", # SMS Message
Recipients = [ # Recipient
"+61421111111",
"+61422222222"
]
)
print(response)
Node.JS / Javascript Library
const client = new BestSMS({
AuthToken: "[Your Auth Token]" // Auth Token
});
var callback = function(data) {
console.log("Response: ",JSON.stringify(data, null, " "));
};
client.Messaging.SMS.SendMessage({
Reference: "Test", // Optional
Message: "Test SMS", // SMS Message
Destinations: [ // SMS Recipients
{ Recipient: "+61411111111" },
{ Recipient: "+61422222222" }
]
}).then(callback); // Send Message
Webhooks
"Sender": "[email protected]",
"APIKey": "ta8wr7ymd",
"Type": "SMSReply",
"Destination": "+61431231234",
"MessageID": "js82hn8n",
"SubAccount": "SubAccount01",
"Department": "Department01",
"JobNumber": "10C7B9A0",
"SentTime": "2024-10-16 13:43:00",
"Status": "RECEIVED",
"Result": "RECEIVED",
"Message": "This is a reply.",
"Price": "",
"Detail": "",
"URL": "https://www.example.com/webhook",
"RESPONSEMODE": "JSON"
}
FAQs
What is an SMS API, and how can it benefit my business?
Why should I use the SMS API from BestSMS?
What are the different methods for sending SMS through the API?
How does the HTTP/S API work?
What is the RESTful API, and how do I use it?
What are the costs associated with using the SMS API?
Can I integrate BestSMS with any type of software?
Our Services
Support Articles
Contact Us
Any Questions?
Feel Free to Contact Us
Reach Out for Assistance
Have a question or want to know more about our services? Contact us and we'll get back to you with what you need.
Pricing Plans
Competitive SMS Pricing
Starter
For Small Size Business
- Welcome Credits (Free 25 Messages)Included
- PrepaidIncluded
- Email SMSIncluded
- Web SMSIncluded
- SMS APIIncluded
- Australian Long CodesNot included
Business
For Medium Size Business
- Welcome Credits (Free 25 Messages)Included
- PrepaidIncluded
- Email SMSIncluded
- Web SMSIncluded
- SMS APIIncluded
- Australian Long CodesIncluded
Enterprise
For Large Size Business
- Welcome Credits (P.O.A.)Included
- PrepaidIncluded
- Email SMSIncluded
- Web SMSIncluded
- SMS APIIncluded
- Australian Long CodesIncluded
Pricing is in Australian Dollars (AUD)