Download File
POST
Returns a short-lived authorized download URL, or bounded inline content for a generated artifact snapshot.
header
AuthorizationBearer <token>A signed-in SMB user's access token. Workspace-scoped operations also require SMB-Workspace-Id.
file_id*stringStable File ID.
Match
^fil_[0-7][0-9A-HJKMNP-TV-Z]{25}$SMB-Workspace-Id*stringWorkspace where this operation runs. Required for user tokens and Workspace API keys.
Format
uuidapplication/json- body
file_version_id?stringImmutable File version ID.
Match
^fvr_[0-7][0-9A-HJKMNP-TV-Z]{25}$Successful authorized response.
application/json- response
delivery*request_id*stringcurl -X POST 'https://example.com/v1/files/string/download' \ -H 'SMB-Workspace-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'{ "delivery": { "file_id": "string", "file_version_id": "string", "file_name": "string", "content_type": "string", "delivery_type": "signed_url", "url": "http://example.com", "expires_at": "2019-08-24T14:15:22Z", "content": {} }, "request_id": "string"}