Skip to main content
Matil offers three ways to process documents through a deployment. All three use the same document input format and return the same result structure.

Synchronous

The request blocks until processing completes. The result is returned directly in the response.
Use this when you need the result immediately and can wait for the response (typically 1-10 seconds).

Asynchronous

The request returns immediately with an entry_id and status: "pending". The result is delivered to your webhook URL when ready.
Include a webhook object in the request body:
Use this when you don’t need the result immediately and want to decouple submission from result handling.

Batch

Submit up to 100 items in a single request. Returns a batch_id and total item count. Results are delivered via webhook.
The incremental flag controls delivery: Check batch progress at any time: