Skip to main content
GET
Get a message attachment download URL

Authorizations

Authorization
string
header
required

Use a workspace API key in the Authorization header. Keys use pk_live_<key_id> for production and pk_test<key_id>_ for test mode.

Path Parameters

messageId
string
required
attachmentIndex
string
required
Pattern: ^[0-9]+$

Response

Short-lived signed download URL.

url
string<uri>
required
expiresAt
string<date-time>
required
filename
string
required
contentType
string
required
sizeBytes
integer
required