Skip to main content
POST
Start a document upload

Authorizations

Authorization
string
header
required

A firm API key, shown once when it is made, or a connected app’s OAuth access token. Each operation lists the scope it needs, such as clients:write.

Path Parameters

client
string
required

The client id, from list_clients.

Required string length: 1 - 60

Body

application/json
file_name
string
required
Required string length: 1 - 200
checklist_item_id
string | null

The checklist item the file answers.

Required string length: 1 - 60
replaces_document_id
string | null

A document this file replaces.

Required string length: 1 - 60

Response

Created.

object
enum<string>
required
Available options:
document_upload
upload_url
string
required

PUT the file bytes here with a Content-Length header, within 15 minutes. The answer names the new document.

method
enum<string>
required
Available options:
PUT
expires_at
string
required

An ISO 8601 time in UTC.