DOCUMENTATION
You can use our rest api for,
SEND SMS
You can use this endpoint directly to send SMS to a contact number.
ENDPOINT | http:///api/v2/send.php |
---|---|
TYPE | GET OR POST |
RETURN TYPE | JSON |
Key | Value | YES |
---|---|---|
user_id | User ID from your profile page | YES |
api_key | API key from your profile page. | YES |
sender_id | Your approved Sender ID. Use “DemoSender” for testing. This one is case sensitive. | YES |
to | The number of the recipient | YES |
message | The message. Max: 480 chars | YES |
{
"status": "success",
"result": "sent"
}
GET ACCOUNT STATUS
You can use this API endpoint to retrieve account status and the account balance
ENDPOINT | http:///api/v2/status.php |
---|---|
TYPE | GET OR POST |
RETURN TYPE | JSON |
Key | Value | Required |
---|---|---|
user_id | User ID from your profile page | YES |
api_key | API key from your profile page. | YES |
{
"status": "success",
"result": {
"account_balance": "5000.00"
}
}