File uploads

Complete a multi-part file upload

post/v1/file_uploads/{file_upload_id}/complete

Path parameters

file_upload_idstring required

Headers

Notion-Version'2026-03-11' required

The API version to use for this request. The latest version is 2026-03-11.

Response

object'file_upload' required

Always file_upload

idstring uuid required
created_timestring date-time required
last_edited_timestring date-time required
in_trashboolean required
expiry_timestring date-time nullable required
status'pending' | 'uploaded' | 'expired' | 'failed' required

One of: pending, uploaded, expired, failed

filenamestring nullable required
content_typestring nullable required
content_lengthinteger nullable required
upload_urlstring
complete_urlstring

Changes

Changed in 5 of the 17 revisions of this API.181

    • added the new idempotency_key_reused enum value to the allOf[subschema #2]/code response property for the response status 409

      response-property-enum-value-added

  • ae20477af71b11See the full diff
    • added subschema #1 subschema #2 subschema #3 to the response body oneOf list for the response status 403

      response-body-one-of-added

    • removed publicApiCommonErrorResponse subschema #2 from the response body allOf list for the response status 403

      response-body-all-of-removed

    • added the new agent_credit_limit_reached enum value to the allOf[subschema #2]/code response property for the response status 403

      response-property-enum-value-added

    • added the new workspace_credits_exhausted enum value to the allOf[subschema #2]/code response property for the response status 403

      response-property-enum-value-added

    • added the new invalid_beta enum value to the allOf[subschema #2]/code response property for the response status 400

      response-property-enum-value-added

    • added the new invalid_credit_limit enum value to the allOf[subschema #2]/code response property for the response status 400

      response-property-enum-value-added

    • added the new agent_deleted enum value to the allOf[subschema #2]/code response property for the response status 409

      response-property-enum-value-added

    • added the new directory_not_found enum value to the allOf[subschema #2]/code response property for the response status 404

      response-property-enum-value-added

    • added the new status_change_not_allowed enum value to the allOf[subschema #2]/code response property for the response status 403

      response-property-enum-value-added