Documents

List the documents a packet was split into

Changed on

A packet is one PDF that held several separate documents (a scanned folder, a mailroom batch). With packet splitting on, each logical document becomes its own document with its own type and fields; the packet stays as the container and keeps the full text. Segments come back in page order, each a full document object whose parent.pages is the page range it was cut from. A document that was not split answers with an empty list.

get/v1/documents/{id}/segments

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890

Resource UUID.

Response

The packet's segments.

object required
document_id, string uuid
filename, string
pages, integer
is_packet, boolean
segment_count, integer
data, object[]
links, object

Changes