Extract data from a local document synchronously.
To get a quick "hello world" response to this endpoint, see the quickstart.
For a more detailed, step-by-step tutorial on calling this endpoint, see Try synchronous extraction.

There are two options for posting the document bytes.

  1. (often preferred) specify the non-encoded document bytes as the entire request body,
    and specify the content-type as one of "application/pdf", "image/jpeg", or "image/png", as appropriate.
  2. Base64 encode the document bytes, specify them in a body "document" field, and specify application/json for the content type.
Click Try It! to start a request and see the response here!