Skip to main content
GET
Get an attachment

Authorizations

Authorization
string
header
required

API key with an sk_live_ or sk_test_ prefix.

Path Parameters

publicId
string
required

Public inbound message ID (e.g. rcv_...).

index
integer
required

Zero-based index into the message's attachments array.

Required range: x >= 0

Response

The attachment's raw bytes, with the original Content-Type and a Content-Disposition: attachment header carrying the filename.

The response is of type file.