Remote SMS Dispatcher
API Token (stored locally)
Required to authenticate requests. Set your token below.
| Job ID | Created | Status | Message | Total | Sent | Failed | Actions |
|---|---|---|---|---|---|---|---|
| Loading… | |||||||
All API endpoints require Authorization: Bearer <token> header (if token configured).
/api/jobsCreate a new SMS job
{
"phone": ["+66812345678", "+66898765432"],
"message": "Hello from SMS Gateway!"
}
/api/jobsList all jobs (query: limit, offset)
/api/jobs/:idGet job details and per-recipient status
/api/jobs/:idDelete a job and its recipients
Android Client Endpoints
/api/client/jobs?device_id=xxxClient polls for pending job. Returns job + recipients list.
/api/client/reportClient reports SMS send results
{
"job_id": "uuid",
"device_id": "android-xxx",
"results": [
{ "id": 1, "phone": "+668xxx", "status": "sent", "sim_slot": 0 },
{ "id": 2, "phone": "+668xxx", "status": "failed", "sim_slot": 1, "error": "..." }
]
}
/api/client/heartbeatRegister / update device status
{
"device_id": "android-xxx",
"label": "My Phone",
"sim_count": 2
}