...
document_text: this event triggers the sending of the document text obtained by OCR
document_split: this event triggers the sending of section information for a document
document_predict: this event triggers sending all predictions made on a document
document_evaluate: this event triggers sending the final, reviewed version of a document once feedback has been received
document_delete: this event triggers sending a document id when it is deleted
document_reject: this event triggers to inform when a document is rejected. Includes the full payload like document_predict and document_evaluate, examples below.
In general, the payload sent by the webhooks has the following form:
...
Code Block |
---|
{ "type": "webhook", "events": ["document_predict"], "target": "http://localhost:3000/alfred/document_predict", "headers": {"Authorization": "Bearer abcdefg1234567989"} "inbox": "abcdef123456789abcdef123" } |
Upcoming extensions:
...