Raw an inbound email
Returns the retained raw MIME of a message as base64 in JSON.
Returns the retained raw MIME of a message as base64 in JSON. Erased or expired messages have no raw response.
- Path
GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes/mailbox/inbound_emails/inbound-email:raw - Scope
notify:read - Effect
read— nothing is written. - Collection inbound_emails
Request
| Field | Type | What it is |
|---|---|---|
name | string | The inbound email resource name. Required. |
Response
| Field | Type | What it is |
|---|---|---|
raw | bytes | The original MIME bytes. Clients should treat the contents as untrusted. Output only. Never returned again. |
Errors
UNAUTHENTICATED— No valid key or token was presented.PERMISSION_DENIED— The key lacks the method's permission.RESOURCE_NOT_FOUND— The named Resource does not exist or is not visible.UNAVAILABLE— The Resource store, the owning service's backend, or the key verifier's snapshot is unavailable; retry after Retry-After.
Every error arrives in the body Errors describes.
Examples
curl "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes/mailbox/inbound_emails/inbound-email:raw" \
-H "Authorization: Bearer $SYLPHX_API_KEY"