provider Attachments GET /messages/{message_id}/download/{attachment_link_id}
@utdk/front /messages/{message_id}/download/{attachment_link_id}
Download attachment for a message
Download an attachment file for a given message id. Should be used by partner channels. Required scope: `attachments:read`
message_id path required
The Message ID
string
attachment_link_id path required
The Attachment ID
string

Try it

Authentication
Configure credentials for Core API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

downloadAttachmentForAMessage
GET/messages/{message_id}/download/{attachment_link_id}
Download an attachment file for a given message id. Should be used by partner channels. Required scope: `attachments:read`

Parameters

required

The Message ID

required

The Attachment ID

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import front from '@utdk/front';

await front.downloadAttachmentForAMessage({
  "message_id": "msg_12345",
  "attachment_link_id": "fil_55c8c149"
})