Skip to navigation

/files/{id}/download/request-meta

Returns an authenticated request you can send to download the File with the given id straight from the third-party provider. The response gives you the url, method and headers to use. This is how you download a file with Merge. The content goes from the provider to you and never passes through our API. For how this works, see our direct file download help center article.

Authentication

AuthorizationBearer

Token-based authentication with required prefix “Bearer”

Path parameters

idstringRequiredformat: "uuid"

Headers

X-Account-TokenstringRequired
Token identifying the end user.

Query parameters

mime_typestringOptional
If provided, specifies the export format of the file to be downloaded.

Response

idstring
urlstring
methodstring
headersmap from strings to any

Field support by integration

See all supported fields

Use the /linked-accounts endpoint to pull platform support information