Upload a file using the new v3 API endpoint
/v3/files endpoint to get a temporary upload URLid: The unique identifier for your fileuploadUrl: A temporary URL to upload your file contentuploadUrl from the previous step to upload your file content:
Authorization: Bearer token for authenticationx-compatibility-date: API version compatibility date (e.g., 2025-07-23)Content-Type header:
text/plain for text filesapplication/json for JSON filesimage/png, image/jpeg for imagesapplication/pdf for PDF filesvault:// URL scheme:
vault:// URL scheme provides secure access to your uploaded files. These URLs can only be accessed within your workspace context and are ideal for processing sensitive documents.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
API version compatibility date (e.g., 2025-07-23)
The name of the file to upload