Skip to main content
POST
Rehydrate email message attachments from provider

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
messageId
string
required

Tether Message _id whose attachments should be re-downloaded from the provider.

Response

Attachments rehydrated

Returned after POST /api/email/messages/attachments/rehydrate re-uploads provider-side attachments into R2. Includes the updated message and the count of re-uploaded attachments.

message
object
required

Updated email message document with refreshed attachment URLs.

rehydrated
integer
required

Number of attachments re-uploaded.