RafikiSMSRafikiSMS API

Pagination

Endpoints that return lists support pagination. Paginated responses include metadata about the current page and totals.

Query Parameters

  • page - page number (default: 1)
  • per_page - items per page (default: 10, max: 100)

Response Format

Paginated responses follow this structure:

{
  "status": "success",
  "data": {
    "current_page": 1,
    "data": [...],
    "per_page": 10,
    "total": 100,
    "last_page": 10,
    "from": 1,
    "to": 10
  }
}

Example Request

GET /v1/sms-logs?page=2&per_page=20