SMS Gateway API for Any Application
Choose our easy-to-use SMS API to seamlessly integrate text messaging with your existing business systems and applications.
Ready-to-Use API Scripts
Use our SMS API scripts for Java, Ruby, PHP, Python and Perl.
Text Directly from Your App
Send one, two or thousands of SMS messages directly from your app.
It’s Easy to Get Started
Create an account and integrate our API in less than one business day.
Powerful SMS API Features
Take your website and apps to the next level with integrated SMS messaging.
Send a single text message or thousands, any application can do it with API.
We can POST text message replies and delivery notifications directly to your application.
Send messages using Greek, Arabic or Asian character sets or include special characters.
Schedule SMS in Advance
You can easily schedule SMS messages to be sent later or to reoccur after a certain time period.
Retrieve inbound SMS as a separate API command or allow replies to be posted to your application.
Access your account to verify your balance and make sure you have enough credit for the next campaign.
Long Text Messages
Send up to 918 characters in a single message - very useful when you need to include more details.
Check Delivery Status
Check the delivery status for every message you send and ensure the delivery of your texts.
Frequently Asked Questions
If you’re not a developer, the concept of SMS API integration with third-party services may be a bit difficult to comprehend, so you might want to take a look at these frequently asked questions:
You can use the TextMagic SMS API to query information about inbound and outbound messages, send and receive SMS messages, manage contact lists, schedule recurrent texts, process bulk SMS messages and create templates.
Here’s how you can get started with the TextMagic SMS Gateway API:
Step #1: Obtain your SMS API credentials. The login credentials (X-TM-Username) are different from the API credentials (X-TM-Key).
Note: TextMagic has two SMS APIs (V1 and V2). If you already have a V1 key, it will not be compatible with the TextMagic REST API, so you will have to create a new key for the V2 endpoint.
Step #2: Connect to the API endpoint (https://rest.textmagic.com/api/v2).
Step #3: Try out the TextMagic Sandbox before you start writing your code.
An application-programming interface (API) is a set of programming rules, standards and instructions for accessing a web-based application. SMS APIs are generally released to the public to enable developers to power their services with the API.
The end user only sees one interface, but behind the scenes, many APIs are working together and integrating with SMS solutions to provide a seamless experience.
The TextMagic SMS API provides a means of communication between your service and the SMS gateway, thus allowing you to send and receive text messages, check reports and delivery states directly from your application’s interface. Our SMS API can be used in two ways:
Of course! Our team has prepared a comprehensive SMS API documentation that will help you build your own messaging app through our infrastructure. Our documentation includes information on sending, receiving and scheduling text messages, email to SMS capabilities, distribution lists, custom fields, accounts and sub-accounts, statistics, encoding and more.
Our developing team has also created a set of client libraries for the most common programming languages. They will allow you to integrate our SMS API into your source code in a matter of minutes.
SMS API Code Libraries: here (includes Node.js, PHP, Java, Python, Go, Delphi, Ruby, .NET, Perl, C++, Shell and C#)
Before you get started with the TextMagic REST API, you have to generate your API credentials and connect to the API endpoint. This can be done by creating an API key. Log in to your TextMagic account and navigate to the API settings. Click on the ‘Add new API key’ button and write down the API label to generate your API credentials. The API key should now appear as a green notification banner above the table.