Skip to main content
GET
/
api
/
messaging
/
sms
/
stats
Get SMS Stats
curl --request GET \
  --url https://api.example.com/api/messaging/sms/stats/
{
  "success": true,
  "stats": {
    "total_sent": 1500,
    "total_delivered": 1450,
    "total_failed": 50,
    "delivery_rate": 96.67,
    "total_cost": 75.00,
    "currency": "USD",
    "period": {
      "start": "2025-11-01T00:00:00Z",
      "end": "2025-11-27T23:59:59Z"
    }
  }
}
Get SMS statistics for the current period.

Success Response (200)

success
boolean
Operation success status
stats
object
Statistics data
{
  "success": true,
  "stats": {
    "total_sent": 1500,
    "total_delivered": 1450,
    "total_failed": 50,
    "delivery_rate": 96.67,
    "total_cost": 75.00,
    "currency": "USD",
    "period": {
      "start": "2025-11-01T00:00:00Z",
      "end": "2025-11-27T23:59:59Z"
    }
  }
}