If your application can send emails, it can now send and receive incoming SMS!
TextMagic offers Email to SMS API and HTTPS API.
All you need to do is:
- Add your email address to the Email to SMS allowed list
- Start addressing your email to email@example.com
Here we describe how to interface your custom application with the TextMagic Bulk SMS Gateway using API queries.
You can use free SMS scripts for Java, Ruby, PHP, Python, Perl and C# to connect with our Bulk SMS Gateway.
To get started with API:
- Start a free trial.
- Generate an API password.
- Read the API manual.
The API manual provides you with all the information you need to successfully integrate the SMS Gateway with your system, including:
- Ready scripts.
- API commands and examples.
- API request error codes.
- SMS delivery codes.
- Callback URLs
You can send and receive text messages in any language as TextMagic supports Unicode:
The maximum length for each SMS is 918 standard characters or 402 Unicode characters.
All mobile phone numbers submitted via API should include the country code, with no preceding zeroes, and be without spaces. For example:
Learn about Sender settings.
To start sending SMS using a custom Sender ID:
- Apply for a Sender ID.
- Use the from parameter request.
You can test all API functions without spending any credit. You just need to send SMS to thefake mobile numbers that begin with a 999 prefix. For example, 99912345678, 99987654321 etc.
We also provide useful API query examples, such as these: