This API allows seamless integration with the Dialog SMS Gateway, enabling you to send and manage SMS communications programmatically.
- Dialog SMS Gateway integration.
- Send single or bulk SMS.
- Real-time message status tracking.
- RESTful API interface for easy integration.
-
Clone the repository: git clone https://github.com/yesenvidnath/SMSgatewayAPI.git cd SMSgatewayAPI
-
Install dependencies: npm install
-
Set up environment variables:
- API_KEY: Your Dialog SMS gateway service API key.
- API_URL: The base URL for the Dialog SMS service.
-
Start the application: npm start
To send an SMS, use the following HTTP request:
POST /api/send Content-Type: application/json
{ "recipient": "+123456789", "message": "Your message here" }
This project is licensed under the MIT License. See the LICENSE file for more details.