Skip to content

Deel: Create a file upload — request body — body data

Create a file upload: request body, field body / data. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Create a file upload — request body — body data

FieldTypePresenceDescription and constraints
$objectRoot
expirynumberOptionalPresigned URL expiry in seconds.
Format: double
filenamestringRequired within parentOriginal filename with extension; used to detect the content type.
is_attachmentbooleanOptionalWhether the file should be served as an attachment (download) rather than inline.
sizenumberOptionalActual file size in bytes (max 1GB). Drives the server-side multipart decision when x-upload-method: multipart is set.
Format: double

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.