Download Room File
POST
Returns authorized delivery for the File version a Room shows (its newest ready version).
header
AuthorizationBearer <token>A signed-in SMB user's access token. Workspace-scoped operations also require SMB-Workspace-Id.
room_file_id*stringStable Room File attachment ID.
Match
^rfl_[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
purpose?stringWhy the file is being opened. Recorded in the Room's activity as viewed or downloaded; defaults to download.
Value in
"preview""download"Successful authorized response.
application/json- response
delivery*request_id*stringcurl -X POST 'https://example.com/v1/room-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"}