Skip to main content
GET
/
api
/
messages
/
attachment
/
{storageKey}
Get attachment by storage key (redirects to signed URL)
curl --request GET \
  --url https://your-instance.example.com/api/messages/attachment/{storageKey}
{
  "error": "<string>",
  "message": "<string>",
  "data": "<unknown>"
}

Path Parameters

storageKey
string
required

Full R2 storage key (e.g. messages/{orgId}/{msgId}/{filename})

Response

Redirect to signed URL