Docs API & Developer GET /api/v1/sms

GET /api/v1/sms

Fetch your SMS sending history with status and cost per message.


GET /api/v1/sms

Returns paginated SMS sending history for your business.

Query parameters

ParameterTypeDescription
fromdate (Y-m-d)Filter from date
todate (Y-m-d)Filter to date
per_pageintegerResults per page (max 100)

Request

curl -X GET "https://app.6xcom.com/api/v1/sms?from=2026-06-01" \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Response

{
  "data": [
    {
      "id": 101,
      "to": "+447911123456",
      "message": "Hello from 6X API!",
      "status": "delivered",
      "cost": 0.04,
      "sent_at": "2026-06-20T11:00:00.000000Z"
    }
  ],
  "total": 101,
  "per_page": 20,
  "current_page": 1,
  "last_page": 6
}
Was this article helpful?