Emails
Retrieve an attachment from an email
Changed onRetrieve one of the attachment linked to an email.
get/api/v1/emails/{email_id}/attachments/{attachment_id}
Request
- Base URLhttps://api1.unipile.com:13111
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
email_idstring required
The id of the email to which the attachment is linked. Either the Unipile id or the provider uid.
attachment_idstring required
A unique identifier. The id of the attachment to be retrieved.
Query parameters
account_idstring
The id of the account related to the email. Required when using the provider uid.
Response
OK. Request succeeded.
string binary required
Changes
- warning
added the new
errors/password_reset_requiredenum value to theresponse property for the response status
- warning