Download the original message
GET/v1/received-emails/{id}/raw
The message exactly as it arrived, as an .eml file. Kept for messages up to 15 MB.
Required scope: inbound:manage
Parameters
| Name | In | Description |
|---|---|---|
idrequired | path | The received email id. |
Example
curl -X GET 'https://api.sendsend.email/v1/received-emails/ID/raw' \
-H "Authorization: Bearer $SENDSEND_API_KEY"Returns 200.
Errors
| Status | Code | When |
|---|---|---|
| 404 | not_found | No such resource in this project. |
| 401 | unauthorized | The API key is missing, invalid or revoked. |
| 403 | forbidden | The key does not have the scope this endpoint needs. |
Every error has the same shape. See Errors.