Logo
Openapi.it Public API Documentation

{{baseUrl}}/messages/:id

GET {{baseUrl}}/messages/:id

This method allows you to see the single message related to the parameter passed in the path

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "data": [ { "test": false, "sender": "Simone", "body": "Production test 4 ", "recipients": { "valid": { "count": 1 }, "invalid": { "total": 0, "list": [] } }, "priority": 1, "options": { "flash": true, "realtime": true, "timestamp_send": "326152800000", "custom": { "test": 123, "best": 321, "trest": [ 12, 3, 12, 3 ] }, "callback_url": "https://test.ws.messaggisms.com/callbackTest.php" }, "transaction": false, "statistics": { "error": 0, "sent": 1, "delivered": 1, "total": 1, "sms_total": 1 }, "base_price": 0.03, "timestamp": "1559743507600", "last_update": "1559743510156", "price": 0.036, "state": 2, "id": "5cf7cc139f272546624d3795" } ], "message": "1 Result", "credit": "90.97149999999986", "success": true, "error": null }



Curl
curl -X GET 'baseUrl/messages/:id' -H 'Accept: application/json'

ENDPOINTS