Ingest a document via a standalone source API key
Multipart upload of one document (≤50 MB), authenticated by a source's own Authorization: Bearer tlnc_... API key — no source id in the path, the key resolves it. Duplicate files (by content hash) return a duplicate status with the existing document's id. A narrower sibling of POST /v1/sources/{id}/documents: the queued response has no processing_mode/source_id, and links carries only document (no source link). Accepts every file type the extraction pipeline reads (documents, spreadsheets, presentations, images, mail, text, HTML/XML/JSON and zip archives); any other type is refused with 400, and the message lists the accepted extensions.
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Request body multipart/form-data
The document file. Max 50 MB.
Optional caller grouping key stamped on the document (documents.client_batch_id).
Optional JSON string of a FLAT object { [key]: string | number | boolean | null } (nested objects/arrays rejected 400; ≤50 keys, key ≤128, string value ≤1024), stamped on the document as documents.client_metadata.
Response
Document ingested (or duplicate detected).
When status is duplicate, the id of the linked-duplicate row created for this upload (see existing_document_id for the canonical).
The uploaded file's own name.
The uploaded file's own size in bytes.
Present when status is duplicate — the canonical document this upload deduplicated to.
Present when status is duplicate.
Changes
No recorded changes to this operation across all 32 revisions of this API.