Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Download Email Attachment

    Posted 06-05-2025 18:05

    Stan | 2017-05-18 01:30:45 UTC | #1

    Hi, Is there any way to download Attachment via attachmentId or contentUri? btw, I use .net sdk tks.


    tim.smith | 2017-05-18 13:19:52 UTC | #2

    If you use GET /api/v2/conversations/emails/{conversationId}/messages/{messageId} (or ConversationsApi.GetConversationsEmailMessage(...) in the SDK), the attachments property will contain the attachments for that message, and the contentUri property on each attachment will give you the URI at which the file can be retrieved. To download the file, use whatever procedure you prefer; the SDK is for interfacing with the API and does not perform file I/O operations.


    system | 2017-08-28 19:34:32 UTC | #3


    This post was migrated from the old Developer Forum.

    ref: 1302