v1

latestOpenAPI 3.0.0Apache 2.02026-08-0610023171.4 KB
Formatted Documents

Validate formatted text

Validate plain text or an uploaded file before submitting it for a formatted text check. The endpoint parses the content, counts words and pages, checks UTF-8 and text length constraints, and applies language/letter-percentage validation.

This endpoint does not charge the account or create a text check. If group_id is supplied and the group disables language validation, the language and letter-percentage validations are skipped.

post/api/v2/text/validate/

Response

The formatted text is valid enough to submit for checking.

successboolean required
warningstring nullable required

Optional validation warning. An empty string means no warning was produced.

wordsinteger required

Number of words parsed from the submitted text or file.

pagesinteger required

Estimated page count calculated from the parsed word count.

Example response

{
  "success": true,
  "words": 18,
  "pages": 1
}