post
https://api.apply.akahu.nz/v1/applications//documents
This endpoint creates a new document record in a pending state.
Each document represents a single file, which needs to be uploaded shortly after document creation.
If the document file is not uploaded before the expires_at timestamp included in the response, the record will be automatically deleted.
The document file can be uploaded by making a PUT request to the upload_url provided in the response.
Document uploads must meet the following criteria:
-
Files have a maximum size of 50MB
-
Files must have a
content-typeof 'application/pdf'