Read a document’s textComing soon
Returns the text Matchai read from the file, page by page. With find, only the pages containing those words.
Coming soon. Returns the text Matchai read from the file, page by page. With find, only the pages containing those words.
Scopes: documents:read
Pricing: Included with the connection.
AuthorizationBearer <matchai_<base62>>A personal API key, sent as Authorization: Bearer matchai_…. Create keys in Matchai under Settings → Connectors → Advanced (for developers). A key starts with matchai_ followed by letters and digits, carries the scopes chosen when it was created, and can be revoked at any time. Keys reach only the account that created them: to serve other professionals, use Connect with Matchai.
Scope: documents:read
document_id*stringDocument id.
1 <= length <= 64find?stringWords to find.
length <= 120The text.
application/json- response
document_id*stringDocument id.
1 <= length <= 64pages*array<>Pages, or only those containing find when you passed it.
truncated*booleanTrue when there was more text than one response holds.
curl -X GET 'https://api.matchai.co/v1/documents/string/content'{ "document_id": "string", "pages": [ { "number": 1, "text": "string" } ], "truncated": true}