Retrieve a message

Get a previously sent message.

Resource URL:

GET https://api.essential.to/v2/account/messages/{sid}

Resource information:

Response formatJSON
Requires authentication?Yes

Sample code:

curl -X GET \
     -u '[SID]:[TOKEN]' \
     -H 'Content-Type: application/json' \
     'https://api.essential.to/v2/account/messages/3mesNha3El_vwtUUC-iW8Q'

# Sample response
{
  "status": "sent",
  "body": "Test API docs",
  "media_urls": null,
  "notified_received_at": null,
  "notified_received_result": null,
  "onstatus_url": null,
  "notified_status_at": null,
  "notified_status_result": "disabled",
  "status_updated_at": "2017-01-25T23:11:15.000Z",
  "created_at": "2017-01-25T23:11:10.000Z",
  "updated_at": "2017-01-25T23:11:16.000Z",
  "delivery_attempts": 1,
  "delivery_attempted_at": "2017-01-25T23:11:14.000Z",
  "msecs_in_flight": 5000,
  "received_at": null,
  "dr_received_at": null,
  "sid": "3mesNha3El_vwtUUC-iW8Q",
  "account_sid": "p03Gjl8Uzn0RkZSpHXHnrw",
  "channel_sid": "p03Gjl8Uzn0RkZSpHXHnrw",
  "transport_sid": "p03Gjl8Uzn0RkZSpHXHnrw",
  "subscriber_sid": "p03Gjl8Uzn0RkZSpHXHnrw",
  "to": "+12066666666",
  "from": "+12055555555"
}
Python coming soon.
Node coming soon.