---
search:
  tags:
    - Documents
    - POST
seo:
  description: >-
    Completes a reserved document after you send the… Reference for the POST
    /context/brands/{slug}/documents/{documentId}/finalize endpoint in the
    AdCrunch API.
sidebar:
  label: Finalize a document upload
  badge: POST
title: Finalize a document upload
type: openapi-operation
---
Completes a reserved document after you send the bytes, and is the third of the three steps of an upload. AdCrunch reads the size and the content type from the stored file. It does not take them from you, because the upload URL applies no rules of its own. This call is the only point of validation: a file over 25 MB, or of a type this API does not accept, is refused here and discarded. Until it succeeds, the Document is in no listing and in no read.

`POST /context/brands/{slug}/documents/{documentId}/finalize`
