Get a received email attachment

One attachment's details and a download_url that works for 5 minutes, in Resend's shape.

On this page
GEThttps://app.usenotix.dev/api/v1/emails/receiving/{id}/attachments/{attachmentId}

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

One attachment's details and a download_url that works for 5 minutes, in Resend's shape. Scoped like the email itself; anything the key may not read answers 404.

Path parameters

idstringrequired
attachmentIdstringrequired

Headers

Authorizationstringrequired

Bearer followed by your API key.

Errors

403

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

404

No such email or attachment that the key may read.

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

curl -X GET "https://app.usenotix.dev/api/v1/emails/receiving/<id>/attachments/<attachmentId>" \
  -H "Authorization: Bearer $NOTIX_API_KEY"
Response200
{
  "id": "cm1x8f3k20001qz7v5b9d2e4a",
  "filename": "Acme",
  "content_type": "string",
  "content_id": "string",
  "content_disposition": "inline",
  "size": 1
}
Open in ClaudeOpen in ChatGPT