Sign Up and send free SMS messages.

Get Outgoing Messages API

Get Messages

 /v2/messages

This api allows you to fetch previous messages. The messages limit per page is 20, use page parameter to get older messages.

Success Response Body


{
    "status": true,
    "data": {
            "links": {
                "self": "https://smspoh.com/api/v2/messages?page=2",
                "first": "https://smspoh.com/api/v2/messages?page=1",
                "prev": "https://smspoh.com/api/v2/messages?page=1",
                "next": "https://smspoh.com/api/v2/messages?page=3",
                "last": "https://smspoh.com/api/v2/messages?page=12"
            },
            "limit": 20,
            "size": 20,
            "start": 20,
            "messages": [
                 {
                   "id":"12345",
                    "create_at": 1535801846,
                    "message_to": "+959xxxxxxxxx",
                    "message_text": "Hello World",
                    "operator": "Operator",
                    "sender": "SMSPoh",
                    "is_delivered": true,
                    "is_queuing": false,
                    "test": false,
                    "num_parts": 1,
                    "credit": 1
                },
                 {
                    "id":"12346",
                    "create_at": 1535801846,
                    "message_to": "+959xxxxxxxxx",
                    "message_text": "Hello World",
                    "operator": "Operator",
                    "sender": "SMSPoh",
                    "is_delivered": true,
                    "is_queuing": false,
                    "test": false,
                    "num_parts": 1,
                    "credit": 1
                },
                    ...
        ]
    }
}