Endpoints
Process (async)
Send one or more documents for processing and receive the result later via webhook.
Returns immediately with an entry_id and status: "pending". When processing completes, Matil sends a POST request to your webhook URL with the result.
Request body
documents(required): Array of document objects.webhook(required): Object withurl(your endpoint),secret(optional, for HMAC signature verification), andincremental(optional, defaults totrue).metadata(optional): Custom key-value object stored with the result.
Webhook events
structurer.completed: Processing succeeded. Payload contains the extracted data.structurer.failed: Processing failed. Payload contains error details.
POST
Process (async)
Body
application/json
Request for asynchronous document processing via deployment.
Response
Successful Response
Response for async processing request creation.