The Open API specification for Synapse is now available for download!

Download Open API Spec

GET /message/{messageId}/file

Get the actual URL of the file associated with the message
Note: This call will result in a HTTP temporary redirect (307), to the actual file URL if the caller meets all of the download requirements.

Resource URL

https://repo-prod.prod.sagebase.org/repo/v1/message/{messageId}/file

Resource URL Variables
{messageId}
Parameters
redirect

optional

When set to false, the URL will be returned as text/plain instead of redirecting.
Resource Information
Authentication Required
Required OAuth Scopes download
HTTP Method GET
Request Object None
Response Object None