Dashboard
Welcome back! Here's your SMS overview
SMS Activity (Last 7 Days)
Delivery Status
Recent Messages
View All| Recipient | Message | Status | Date |
|---|---|---|---|
| No messages yet | |||
Send SMS
Compose and send messages to your recipients
Quick Stats
SMS History
View all your sent messages
| Recipient | Message | Sender ID | Status | Date |
|---|---|---|---|---|
| Loading... | ||||
Contacts
Manage your contact list
| Name | Phone Number | Created | Actions | |
|---|---|---|---|---|
| Loading... | ||||
Groups
Organize your contacts into groups
No groups yet
Buy SMS Credits
Purchase credits to send messages
Custom Amount
Sender IDs
Manage your sender identities
| Sender ID | Purpose | Status | Requested Date |
|---|---|---|---|
| Loading... | |||
API Keys
Manage your API access keys
API keys allow you to integrate SMS functionality into your applications. Keep your keys secure and never share them publicly.
| Name | Key | Created | Last Used | Status | Actions |
|---|---|---|---|---|---|
| Loading... | |||||
Developer API Documentation
Integrate TAPSA SMS into your applications
Introduction
The TAPSA SMS API allows you to send SMS messages programmatically from your applications. This RESTful API uses JSON for request and response bodies.
https://api.smstapsa.site
Authentication
All API requests require authentication using an API key. Include your API key in the request header:
x-api-key: your_api_key_here
Generate your API key from the API Keys page.
Send SMS
Send SMS messages to one or multiple recipients.
Request Body
{
"phoneNumbers": ["255712345678", "255787654321"],
"message": "Hello from TAPSA SMS!",
"senderId": "TAPSA"
}
Response
{
"success": true,
"message": "SMS sent successfully",
"data": {
"messageId": "msg_abc123",
"recipients": 2,
"cost": 2
}
}
Code Examples
curl -X POST https://api.smstapsa.site/v1/sms/send \
-H "Content-Type: application/json" \
-H "x-api-key: your_api_key" \
-d '{
"phoneNumbers": ["255712345678"],
"message": "Hello from TAPSA!",
"senderId": "TAPSA"
}'
const response = await fetch('https://api.smstapsa.site/v1/sms/send', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': 'your_api_key'
},
body: JSON.stringify({
phoneNumbers: ['255712345678'],
message: 'Hello from TAPSA!',
senderId: 'TAPSA'
})
});
const data = await response.json();
console.log(data);
import requests
url = "https://api.smstapsa.site/v1/sms/send"
headers = {
"Content-Type": "application/json",
"x-api-key": "your_api_key"
}
payload = {
"phoneNumbers": ["255712345678"],
"message": "Hello from TAPSA!",
"senderId": "TAPSA"
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.smstapsa.site/v1/sms/send",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: your_api_key"
],
CURLOPT_POSTFIELDS => json_encode([
"phoneNumbers" => ["255712345678"],
"message" => "Hello from TAPSA!",
"senderId" => "TAPSA"
])
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Check Balance
Retrieve your current SMS balance.
Response
{
"success": true,
"data": {
"balance": 1500,
"currency": "SMS"
}
}
Error Codes
| Code | Description |
|---|---|
400 |
Bad Request - Invalid parameters |
401 |
Unauthorized - Invalid or missing API key |
402 |
Payment Required - Insufficient balance |
403 |
Forbidden - Sender ID not approved |
429 |
Too Many Requests - Rate limit exceeded |
500 |
Internal Server Error |
Admin Panel
Manage sender ID requests
| User | Sender ID | Purpose | Status | Date | Actions |
|---|---|---|---|---|---|
| Loading... | |||||
Profile Settings
Manage your account settings
User Name
user@email.com