Skip to main content
POST
Add files to an underwriting submission

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Headers

Idempotency-Key
string
required

Client-chosen key for safe retries: 1-128 letters, digits, -, _, . or :. Use a new random UUID for each intended operation and the same key when retrying it. Do not put customer data or credentials in the key.

Required string length: 1 - 128
Pattern: ^[A-Za-z0-9\-_.:]+$

Path Parameters

submissionId
string<uuid>
required

The submission’s id.

Body

multipart/form-data
file
file[]
required

One part per file, each named file, at most 20.

Response

The documents added, and the extraction they started.

documents
object[]
required
rejected
object[]
required

Each file the file store refused, by its name. The rest are kept.

extraction
object
required