Zum Inhalt springen
Leadtime
Deutsch
Esc
navigateopen⌘Jpreview

Download a workspace file

Downloads a private file from the authenticated workspace, including chat attachments and generated artifacts.

GET/workspace/files/{fileId}
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:read
or
AuthorizationBearer token (JWT) · headerrequired
Path parameters
fileIdstringrequired
File ID to download
Responses
200The requested file bytes
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
404File not found in this workspace
Request
curl -X GET "https://leadtime.app/api/public/workspace/files/string" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response
The requested file bytes