...
Code Block |
---|
{ "type": "webhook", "events": ["document_predict"], "target": "http://localhost:3000/alfred/document_predict", "headers": {"Authorization": "Bearer abcdefg1234567989"} } |
Upcoming extensions:
...
Retry logic with exponential backoff. In case of the webhook receiving anything besides a succes status code (200), the webhook will re-attempt it’s delivery with an exponential backoff system (2^n seconds) for a maximum of 10 attempts.
...
Additionally, we now have Inbox specific webhooks. A recent expansion allows to specifically configure webhooks per Inbox
...
, as well as pass this information along in the payload. The configuration for this will then look as follows:
Code Block |
---|
{ "type": "webhook", "events": ["document_predict"], "target": "http://localhost:3000/alfred/document_predict", "headers": {"Authorization": "Bearer abcdefg1234567989"} "inbox": "abcdef123456789abcdef123" } |
Upcoming extensions:
Retry logic with exponential backoff. In case of the webhook receiving anything besides a succes status code (200), the webhook will re-attempt it’s delivery with an exponential backoff system (2^n seconds) for a maximum of 10 attempts.