Get attachments text
Authorizations
JWT Bearer token obtained from authentication. Pass as: Authorization: Bearer
Path Parameters
Unique attachment identifier
^[0-9a-z]+$Response
OK
Text extracted from a PDF, DOCX, or plain-text attachment
Unique identifier of the attachment
^[cC][^\s-]{8,}$Original filename of the attachment
Declared MIME type of the attachment
Outcome of extraction. EXTRACTED: text holds the content (possibly an empty string — a scanned PDF with no text layer extracts to nothing). UNSUPPORTED: no extractor for this file type; only PDF, DOCX, and plain-text formats are supported. FAILED: the bytes could not be parsed (malformed, encrypted, or too large). UNSUPPORTED and FAILED are final — the file never changes, so retrying returns the same answer. PENDING is never returned; it is the pre-extraction state of the stored row.
PENDING, EXTRACTED, UNSUPPORTED, FAILED Extracted plain text, or null unless status is EXTRACTED. Truncated at 1,000,000 characters. Extracted once and cached, so repeat reads are free.
