Aller au contenu

SMS

Send SMS messages via Android phone gateways.

Requires an Android gateway device registered in the dashboard. SMS messages are sent through the physical phone and support batch sending with variable substitution.

Endpoints

MethodPathPermission
GETsms.history
POSTsms.send
POSTsms.send
GETsms.history
GETsms.history

Send SMS

GET /api/v1/sms/gateways • POST /api/v1/sms/send

Request

Response

json
{
  "success": true,
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "status": "QUEUED",
    "to": "+33612345678",
    "scheduled_at": null,
    "costCents": 0,
    "billedFrom": "FREE"
  }
}

Check SMS Status

GET /api/v1/sms/messages/:id

Request

Response

json
{
  "success": true,
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "direction": "OUTBOUND",
    "from": "+33600000000",
    "to": "+33612345678",
    "body": "Hello! Your order #1234 has been shipped.",
    "simSlot": null,
    "status": "delivered",
    "errorMessage": null,
    "sentAt": "2026-03-18T10:00:03.000Z",
    "deliveredAt": "2026-03-18T10:00:05.000Z",
    "createdAt": "2026-03-18T10:00:00.000Z"
  }
}