1. List message logs
PressOne eSIM Developer Platform
  • OVERVIEW
    • Introduction
    • Attribute descriptions
    • FAQ
    • User journeys
      • Top-up Journey
      • Purchase Journey
    • Guides
      • eSIM installation methods for API Partners
      • How to generate the QR code for an eSIM
  • REST API
    • Data / Data + Voice + SMS eSIM
      • Introduction
      • Error handling
      • Endpoints
        • Authenticate
          • Get token information
          • Refresh access token
          • Request access token
        • Check balance
          • Get balance
        • Compatible devices
          • Get compatible device lite list
        • Browse packages
          • Get packages
        • Place order
          • Submit order
        • Manage orders
          • Get order list
          • Get order
        • Manage eSIMs
          • Get eSIM by ICCID
          • Get eSIMs list
          • Get eSIM package history
        • Install eSIM
          • Get installation instructions
        • Monitor usage
          • Get usage (data, text & voice)
        • Place top up order
          • Get top-up package list
          • Submit top-up order
    • Voice-only eSIM
      • Getting Started
      • Error handling
      • Endpoints
        • List Available Numbers
        • Claim Number
        • Renew Number
        • List User
    • SMS
      • Introduction
      • Authentication
      • Conventions
        • Response envelope
        • Errors
        • Rate limits
        • Idempotency
        • Date ranges & timezone
        • Pagination
      • Endpoints
        • Send an SMS
          • Send SMS /api/sms/send
        • List message logs
          • List message logs /api/sms/logs
            GET
        • Get statistics
          • Get statistics /api/sms/statistics
        • Export logs (CSV)
          • Export logs (CSV) /api/sms/export
        • Analytics
          • Overview
            • Overview /api/sms/analytics/overview
          • Message volume
            • Message volume /api/sms/analytics/message-volume
          • Delivery status distribution
            • Delivery status distribution /api/sms/analytics/delivery-status
          • Delivery report
            • Delivery report - /api/sms/analytics/delivery-report
        • Check wallet balance
          • Check wallet balance /api/sms/balance
        • Send an OTP
          • Send an OTP /api/sms/otp/send
        • Verify an OTP
          • Verify an OTP /api/sms/otp/verify
      • Delivery webhooks
        • Delivery webhooks
      • Message lifecycle & statuses
        • Message lifecycle & statuses
      • Appendix: message object
        • Appendix: message object
  1. List message logs

List message logs /api/sms/logs

Developing
GET
/api/sms/logs
GET {BASE_URL}/api/sms/logs
Returns your organisation's sent messages, newest first, paginated.
Query params (all optional)
ParamDescription
qFree-text search across status, recipient, and body.
statusFilter by delivered, sent, or failed.
recipientFilter by a specific phone number.
message_idFilter by a message UUID (returns the single message).
from, toDate range (see Date ranges). Defaults to last 30 days.
page, perPagePagination (see Pagination).
Example
Success — 200 OK
{
  "success": true,
  "message": "Sms logs fetched successfully",
  "data": [
    {
      "message_id": "a3d5f0c1-9e22-4b7a-8f1c-2d6e9b0a4c77",
      "status": "delivered",
      "message_type": "one_way",
      "recipient": "+2348120191228",
      "message": "Your OTP is 4821",
      "cost": "4.00",
      "operator": "MTN",
      "error_message": null,
      "template": null,
      "otp": "Your OTP is 4821",
      "date": "2026-06-22T09:14:55.000Z",
      "created_at": "2026-06-22T09:14:55.000Z",
      "delivered_at": "2026-06-22T09:15:01.000Z"
    }
  ],
  "meta": {
    "current_page": 1, "next_page": null, "previous_page": null,
    "per_page": 20, "total": 1, "last_page": 1
  }
}
See the message object appendix for field meanings.

Request

Query Params

Header Params

Responses

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://prod.your-api-server.com/api/sms/logs?q=&status=delivered&recipient%09=undefined&message_id=undefined&from=2026-06-01&to=2026-06-22&page=1&perPage=20' \
--header 'x-api-key: {{x-api-key}}'
Response Response Example
{
  "success": true,
  "message": "Sms logs fetched successfully",
  "data": [
    {
      "message_id": "a3d5f0c1-9e22-4b7a-8f1c-2d6e9b0a4c77",
      "status": "delivered",
      "message_type": "one_way",
      "recipient": "+2348120191228",
      "message": "Your OTP is 4821",
      "cost": "4.00",
      "operator": "MTN",
      "error_message": null,
      "template": null,
      "otp": "Your OTP is 4821",
      "date": "2026-06-22T09:14:55.000Z",
      "created_at": "2026-06-22T09:14:55.000Z",
      "delivered_at": "2026-06-22T09:15:01.000Z"
    }
  ],
  "meta": {
    "current_page": 1, "next_page": null, "previous_page": null,
    "per_page": 20, "total": 1, "last_page": 1
  }
}
Modified at 2026-06-23 09:32:26
Previous
Send SMS /api/sms/send
Next
Get statistics /api/sms/statistics
Built with