Send events to your systems with webhooks
Add a webhook endpoint, choose the events it receives, verify signatures, and replay failed deliveries.
Webhooks send a signed message to your system when something happens in Sertin, for example a run changes. Only an Owner can manage them. Events carry identifiers only, never photos.
Add an endpoint
In the left menu, under Organization, select Integrations.
Select Add endpoint.
Enter the URL. It must use HTTPS. Private and internal addresses are refused.
Optionally add a Description.
Under Events to send, tick the events you want.
Select Add endpoint.
Copy the Signing secret now. It is shown once. Select I have stored it.
The events
| Event | Sent when |
|---|---|
workflow.published | A workflow version is published. |
assignment.created | Work is assigned. |
run.changed | A run changes, for example a step is submitted or the run finishes. |
evidence.admitted | A photo or value is received and accepted for checking. |
verification.recorded | A criterion gets a result. |
agent_action.changed | A follow-up is proposed, approved, rejected or executed. |
entitlement.changed | The organization's access changes. |
Verify each delivery
Each delivery carries a Sertin-Signature header in the form t=<unix time>,v1=<signature>. The signature is an HMAC-SHA256 of <t>.<body> with your signing secret.
Reject a delivery whose signature does not match.
Reject one whose timestamp is more than five minutes old.
Deliveries can repeat. Use the
Sertin-Event-Idheader to ignore duplicates.
Manage endpoints
On each endpoint's row:
Deliveries: what was sent, the result and the number of attempts. Select Send again to replay one.
Pause and Resume.
Rotate secret: issues a new secret, shown once.
Remove.
If deliveries keep failing, the row shows how many failed in a row.