Facebookpixel Dev DOC - SMSMobileAPI
SMSmobileAPI Developer Documentation

At SMSmobileAPI, we strive to make our API as compatible as possible with any architecture or platform.
Whether you’re using REST, SOAP, cURL, or various programming languages like Python, JavaScript, PHP, and more, our API is designed to integrate seamlessly into your projects.

We also have ready-to-use plugins for e-commerce solutions and software. Click here to discover them.

If you have any questions, suggestions, or need assistance, our team is here to help.
Feel free to reach out to us at api@smsmobileapi.com

API REST
cURL
JavaScript JavaScript
Python Python
Node.js Node.js
Ruby Ruby
WSDL

Send SMS API

This API endpoint allows sending an SMS via an HTTP request from the smartphone.

https://api.smsmobileapi.com/sendsms/?recipients=PHONE_NUMBER&message=MESSAGE_TO_SEND&apikey=YOUR_API_KEY

Parameters:

- recipients: The mobile number of the recipient.
- message: The message to send.
- apikey: The API key you have or will receive.

Note:

Due to obligations related to phone usage and Android's policies, we are required to increase the delay between sending two SMS messages if the application is running in the background or is closed. SMS messages can still be sent even when the mobile application is closed, but this will result in an increased dispatch delay.

Get SMS API

This API endpoint is used to retrieve SMS messages received on the smartphone.

https://api.smsmobileapi.com/getsms/?apikey=YOUR_API_KEY

Parameter:

- apikey: The API key.
Depending on the version of Android installed on a mobile phone, the operating system may hinder the proper functioning of automatic sending and receiving of SMS messages when the SmsMobileApi application is not in the foreground.
This issue arises from a process that attempts to run in the background when the application is not actively launched. However, due to Android's battery optimization measures, which vary across different versions, this background process may not initiate correctly. Android's battery optimization is designed to limit the background activity of apps to conserve battery life, which can inadvertently affect apps that require background processes to function properly.

To address this issue, users can manually configure their Android settings to allow the SmsMobileApi to use resources without restrictions.
This involves adjusting the battery optimization settings for the specific app, essentially instructing Android that the SmsMobileApi is permitted to run in the background and use resources as needed. By doing so, the application should be able to automatically send and receive SMS messages even when it is not the active application in the foreground. This adjustment ensures that the necessary background process can operate uninterrupted, circumventing the battery optimization features that might otherwise prevent its proper execution.


FAQ For Developer

Accordion Sample DescriptionTo generate an API key, download our application onto your mobile phone and create an account at no cost. An API key will be automatically generated and linked to your mobile phone. You will also receive an email with all the necessary information. This process ensures that you can quickly and easily start using our services with minimal setup.
In your mobile application, navigate to the SETTINGS or HELP menu, where your API key is visible at all times. This ensures that you can easily access your API key whenever you need it for integrating or using our services.
Yes, we do not require any proof of identity for creating an API key. The communication between our API and your mobile phone is therefore 100% anonymous. This approach allows users to maintain their privacy while utilizing our services.

Get Started with SMSmobileAPI Today!

Experience the freedom and flexibility of managing your SMS services on the go. Download our mobile app now and take the first step towards seamless SMS integration.

Download the App
Connect my Mobile
en_GBEnglish