Logo
Openapi.it Public API Documentation

{{baseUrl}}/messages/:id/recipients/

GET {{baseUrl}}/messages/:id/recipients/

This method allows you to see the recipients of a particular message

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "data": [ { "number": "+39-3xxxxx5018", "prefix": "+39", "send_id": "5e5e65429f272510fb6adcc0_0", "body": "test summary2", "sms": 1, "remaining_chr": 147, "state": "DELIVERED", "state_description": "DELIVERED_TO_HANDSET", "price": 0.03, "fields": [], "message_id": "5e5e65429f272510fb6adcc0", "i": 0, "state_detail": "Message delivered to handset", "timestamp_sent": { "$date": { "$numberLong": "1583244661371" } }, "real_cost": 0.03, "report": { "price": { "pricePerMessage": 0.03, "currency": "EUR" }, "status": { "id": 5, "groupId": 3, "groupName": "DELIVERED", "name": "DELIVERED_TO_HANDSET", "description": "Message delivered to handset" }, "error": { "id": 0, "name": "NO_ERROR", "description": "No Error", "groupId": 0, "groupName": "OK", "permanent": false }, "messageId": "5e5e65429f272510fb6adcc1", "doneAt": "2020-03-03T15:11:03.168+0100", "smsCount": 1, "sentAt": "2020-03-03T15:11:01.467+0100", "to": "393495155018" }, "timestamp_delivery": { "$date": { "$numberLong": "1583244663000" } }, "id": "5e5e65429f272510fb6adcc1" } ], "message": "1 Result", "credit": 90.20949999999985, "success": true, "error": null }



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

ENDPOINTS