WhatsApp Documentation
This documentation is specific to sending and receiving WhatsApp messages.Click here to learn more about all the features our WhatsApp integration offers.
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.

Send WhatsAppResend MessageSynchronizationRetrieve MessagesAuthentication |
Send WhatsApp APIThis API endpoint is used to send WhatsApp messages. Endpoint:GET POST https://api.smsmobileapi.com/sendsms
Parameters:
Example without media :
GET https://api.smsmobileapi.com/sendsms?apikey=YOUR_API_KEY&waonly=yes&recipients=191728660&message=Hello%20World
Example with media :
GET https://api.smsmobileapi.com/sendsms?apikey=YOUR_API_KEY&waonly=yes&recipients=191728660&message=Hello%20World&url_media=https://smsmobileapi.com/logo.png
Format Text in WhatsApp :
Resend an unsent WhatsApp messagesThis API endpoint is used to resend an unsent message (only if the message has an error status) Endpoint:Parameter:
Example:
GET https://api.smsmobileapi.com/resendwa/?apikey=YOUR_API_KEY&guid=GUID_OF_THE_MESSAGE
Synchronization to retrieve messageThis API endpoint is used to send a request to synchronize and retrieve WhatsApp messages. Endpoint:GET https://api.smsmobileapi.com/getwa/synchronisation/
Parameter:
Example:
GET https://api.smsmobileapi.com/getwa/synchronisation/?apikey=YOUR_API_KEY
Reply :
{
Retrieve WhatsApp MessageThis API endpoint is used to retrieve WhatsApp messages received. Endpoint:GET https://api.smsmobileapi.com/getwa
Parameter:
Example:
GET https://api.smsmobileapi.com/getwa/?apikey=YOUR_API_KEY
Reply :
{
AuthenticationThe SMSMobile API supports two authentication methods: using a simple API Key or the OAuth2 protocol with a client ID and client secret. 1. API Key AuthenticationTo send or retrieve WhatsApp messages via our API, authentication is required using an API key. This ensures secure and authorized access to the messaging service. Simply include your API key in the request to authenticate and start sending messages seamlessly.2. OAuth2 AuthenticationOAuth2 provides a more secure and scalable authentication method. Obtaining an Access TokenTo get an access token, send a POST request to the token endpoint with your client ID and client secret.
curl -X POST https://api.smsmobileapi.com/oauth2/token \
Using the Access Token:Once you have the access token, include it in the Authorization header of your API requests:
curl -X POST https://api.smsmobileapi.com/sendsms?waonly=yes \
Which Method Should You Use?- Use API Key Authentication for quick and straightforward integrations. - Use OAuth2 Authentication for enhanced security and scalability in your integrations. |
It is also possible to send a WhatsApp message and an SMS simultaneously.
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