Hello,
we would like to download attachments in incoming emails programmatically, in order to feed external systems.
In resource center I found that it is possible to generate a download link using download API (/api/v2/downloads/{downloadId}).
When calling the API with issueRedirect=false and redirectToAuth=false the following URL is generated:
https://inin-prod-euw1-conversation-services.s3.eu-west-1.amazonaws.com/postino/organizations/{orgId}/conversations/{conversationId}/messages/{messageId}/attachments/{attachId}?response-content-disposition=attachment%3Bfilename%3D"altro_dt_ex.pdf"&X-Amz-Security-Token=******&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240522T134131Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=***&X-Amz-Signature=****
How long will be the generated link valid ?
What are the admissible values for contentDisposition parameter in download API ?
Thanks, D.