Would love to see a dedicated batch processing endpoint in the API. Something like:
POST /v1/batch
{
"template_id": "inv_standard_v2",
"documents": [
{"url": "s3://bucket/doc1.pdf"},
{"url": "s3://bucket/doc2.pdf"},
...
],
"webhook": "https://myapp.com/batch-complete"
}
Returns a batch ID, processes all docs, sends one webhook when the whole batch is done with a summary + individual results.
This would be way more efficient than submitting 500 individual requests and tracking 500 webhooks.