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": "Attachment not found",
  "message": "Attachment not found"
}

Path Parameters

storageKey
string
required

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

Response

Redirect to signed URL