Webhooks
The schematic below shows a simple diagram of the use of webhooks in Pergamin.
Enable webhooks
Webhooks are disabled by default. To enable them please send an URL address to which the webhooks will be sent to the Pergamin support team
Retry policy
Pergamin will retry sending the webhook up to 5 times with a delay policy explained in the table below. If the webhook is not delivered after 5 attempts, it will be discarded.
| Attempt | Delay |
|---|---|
| 1 | 30 s |
| 2 | 3 min |
| 3 | 10 min |
| 4 | 30 min |
| 5 | 1 h |
Events
Document status change
-
Parameter Type Nullable Description dataStreamstringData stream name documentStatusenum( draft,sent,in_acceptance,in_sign,on_hold,rejected,finished
)Document status documentIdintegerDocument ID transactionIdstring (UUID)Transaction ID timestampintegerTimestamp in milliseconds
