Skip to content

SMS Balance & Delivery Logs ​

Check SMS Balance ​

GET /api/v1/sms/balance

Returns the current SMS credit balance in BDT.

bash
curl -X GET "https://pingoline.com/api/v1/sms/balance" \
  -H "Authorization: Bearer YOUR_API_TOKEN_HERE"

Response ​

json
{
  "success": true,
  "data": {
    "balance": 450.50,
    "currency": "BDT"
  }
}

Query SMS Logs ​

GET /api/v1/sms/logs

Retrieve historical SMS records with delivery status.

Query Parameters ​

ParameterTypeDescription
phonestringFilter by recipient phone number
statusstringsent, delivered, failed
per_pageintegerResults per page (default: 25)
bash
curl -X GET "https://pingoline.com/api/v1/sms/logs?status=delivered&per_page=10" \
  -H "Authorization: Bearer YOUR_API_TOKEN_HERE"

Released under the MIT License.