Reserve a file upload
Registers a file’s metadata and returns a short-lived upload URL plus the file_reference an upload tool takes. No bytes move here; send them to the upload URL next.
Authentication
AuthorizationBearer
Token-based authentication with required prefix “Bearer”
Request
This endpoint expects an object.
filename
Name the file will carry into the connector.
content_type
MIME type of the bytes; defaults to application/octet-stream.
size_bytes
Optional. Rejects a file over the limit before you send any bytes; the upload enforces the limit regardless.
Response
file_reference
Pass this as the file_reference argument of an upload tool once the bytes are uploaded.
upload
Where and how to send the file's bytes.
max_size_bytes
Largest file this upload accepts, in bytes.
expires_at
When the upload URL and the file reference both stop working.
Errors
400
Bad Request Error