Skip to main content
POST
Initiate a document upload

Authorizations

Authorization
string
header
required

HTTP Basic Auth using your API key. Send Authorization: Basic base64(key_id:key_secret).

Path Parameters

id
string
required

ID of the claim.

Body

application/json
content_type
enum<string>
required

MIME type of the file you're about to upload.

Available options:
application/pdf,
image/jpeg,
image/png,
image/webp
file_name
string
required

Original file name, including its extension. Truncated to 100 characters in the response if longer.

Response

Document registered. Upload the file to metadata.upload_url, then confirm it.

A claim document, as returned right after you initiate its upload.

id
string
required

Unique document ID. Hold onto this — you need it to confirm the upload.

claim_id
string
required
name
string
required

The file name you sent, truncated to 100 characters if longer (the extension is preserved).

type
string
required

File extension, derived from content_type (e.g. pdf, jpeg, png, webp).

status
enum<string>
required

Always PENDING_UPLOAD on this response — it only becomes CONFIRMED once you upload the file and confirm it.

Available options:
PENDING_UPLOAD,
CONFIRMED
uploaded_by
string
required

Always external for documents created through this API.

created_at
string<date-time>
required
organization_id
string
required
metadata
object
required
Last modified on September 14, 2026