Get history
Base URL:GET: https://api.smsgatewayapi.com/v1/message/history
Parameters:
Parameter | Input | Description | |
---|---|---|---|
Required | client_id | API client ID | Can be found in your api documentation |
Required | client_secret | API client secret | Can be found in your api documentation |
Optional | limit | Maximum results per page | Default up to 1000, can't be bigger than 2000 |
Optional | page | Page of results | Default up to 1 |
Example success response:
{ "total": 20, "shown": 20, "page": 1, "limit": 1000, "messages": [ { "ID": "19951477", "message": "test 123", "to": "{nr}", "sender": "1111111111", "date": "2018-09-02 11:24:02", "amount": "1", "type": "single", "status": "DELIVERED" }, { "ID": "21214666", "message": "Test group sms", "to": "{group id}", "sender": "11111111111", "date": "2018-12-06 13:12:01", "amount": "1", "amountdelivered": "0", "amountnotdelivered": "10", "type": "group", "status": "DELIVERED" }, ... ] }