Download the original message

Download the original message exactly as it arrived, as an .eml file.

GEThttps://app.usenotix.dev/api/v1/inbound/messages/{id}/raw

Full access and read only keys can call this. Sending access keys cannot. Key permissions lists the extra rules some calls have.

Download the original message exactly as it arrived, as an .eml file. Notix keeps originals for 30 days; after that this answers 422. A key made by a team member reads only the mail of the inboxes that member belongs to; a key made by an admin or the owner, every inbox; a key made before Notix recorded who made each key, the whole team's, as before. A key whose creator left the team answers 403 FORBIDDEN.

Path parameters

idstringrequired

Headers

Authorizationstringrequired

Bearer followed by your API key.

Errors

403

`FORBIDDEN`: the key's creator has left the team.

404

No received message with this id that the key may read.

422

The original is no longer kept (raw messages are kept for 30 days).

Every error has the same shape. See all error codes.

curl -X GET "https://app.usenotix.dev/api/v1/inbound/messages/<id>/raw" \
  -H "Authorization: Bearer $NOTIX_API_KEY"
Open in ClaudeOpen in ChatGPT