Description
Show message details.
Request URL
Mail API v1.0 GET /v1/emails/(uuid:email_id)/messages/(uuid:message_id)
Request Paramters
| Parameter | Value | Style | Type | Description |
|---|---|---|---|---|
| X-Auth-Token | - | header | string | User Token |
| email_id | - | URI | UUID | Email ID |
| message_id | - | URI | UUID | Message ID |
Response Paramters
| Parameter | Value | Style | Type | Description |
|---|---|---|---|---|
| message | - | plain | dict | - |
| message_id | - | plain | UUID | Message ID |
| message | - | plain | string | Message |
| attachments | - | plain | list | - |
| attachment_id | - | plain | UUID | Attachment ID |
| attachment_file | - | plain | string | Attachment File Name |
Request Json
This operation does not accept a request body.
Normal response codes
200 - Success
Error response codes
401 - Access Denied
404 - Not Found
Repeatable
Yes
Example
curl -i -X GET \ -H "X-Auth-Token: 39be9f8d53044388b7f2e867eba8b140" \ https://mail-hosting.tyo1.cloud.z.com/v1/emails/8247d601-a528-44b2-b32f-8562b68edbeb/messages/c3ccccb90ca0af81e2c014b494b0c790
HTTP/1.1 200 Success
Date: Tue, 09 Dec 2014 01:46:58 GMT
Server: Apache
Content-Length: 1003
Content-Type: application/json
{
"message":{
"message_id": "c3ccccb90ca0af81e2c014b494b0c790",
"message": "message",
"attachments": [
{
"attachment_id": "1",
"attachment_file": ""
},
{
"attachment_id": "1",
"attachment_file": ""
}
]
}
}