Emails
Download an attachment of a sent email
Changed onindex is the attachment’s zero-based position in the attachments array of GET /emails/{id} — the order the send request listed them in.
get/emails/{id}/attachments/{index}
Request
- Base URLhttps://api.poststack.dev
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://poststack.dev/oauth/authorizeToken URLhttps://poststack.dev/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Email public id (em_…).
indexinteger required
Zero-based position in attachments.
Response
Raw bytes with the attachment’s Content-Type and Content-Disposition.
Changes
- info
endpoint added
- info