Skip to content

Instantly share code, notes, and snippets.

@acapps
Last active March 24, 2016 20:42
Show Gist options
  • Save acapps/3e1db7dc3e2438846754 to your computer and use it in GitHub Desktop.
Save acapps/3e1db7dc3e2438846754 to your computer and use it in GitHub Desktop.
Zipwhip - message/get
GET /message/get HTTP/1.1
HTTP: api.zipwhip.com
Parameters:
session={session}
uuid={Message ID}
$curl https://api.zipwhip.com/message/get
-d session=[sessionKey]
–d uuid=[id]
Response:
{
"response": {
"to": null,
"body": "Your sighting has been recorded. Thank you for participating in the crowd-source tracking of this endangered species.",
"bodySize": 117,
"visible": true,
"transmissionState": {
"enumType": "com.zipwhip.outgoing.TransmissionState",
"name": "DELIVERED"
},
"type": "MO",
"metaDataId": 0,
"scheduledDate": null,
"thread": "",
"carrier": "Zipwhip",
"deviceId": 226615603,
"lastName": "",
"hasAttachment": false,
"isParent": false,
"lastUpdated": null,
"loc": "",
"messageConsoleLog": "",
"deleted": false,
"contactId": 2833187503,
"uuid": "466380170547564544",
"isInFinalState": false,
"statusDesc": null,
"cc": null,
"subject": null,
"from": 2833187503,
"encoded": false,
"expectDeliveryReceipt": false,
"transferedToCarrierReceipt": null,
"version": 0,
"statusCode": 4,
"id": "466380170554564544",
"fingerprint": "575541455",
"parentId": 0,
"phoneKey": "",
"smartForwarded": false,
"dateDelivered": null,
"fromName": null,
"isSelf": false,
"firstName": "",
"sourceAddress": "5555551212",
"deliveryReceipt": null,
"dishedToOpenMarket": null,
"errorState": false,
"creatorId": 0,
"advertisement": null,
"bcc": null,
"fwd": "",
"smartForwardingCandidate": false,
"contactDeviceId": 2266433,
"destAddress": "4257772300",
"DCSId": "",
"latlong": "",
"new": false,
"messageTransport": 9,
"address": "ptn:\/55555551212",
"dateCreated": "2014-05-13T17:51:12-07:00",
"UDH": "",
"carbonedMessageId": -1,
"mobileNumber": "5555551212",
"channel": "",
"isRead": true
},
"sessions": null,
"success": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment