Webhooks
Note
This page needs the Webhooks package. If your company does not use it, the integration is not in the list.
Tell another system of your company, such as the one that manages accounts, when a person is hired, changed or leaves. adsum sends a signed message to an address you choose.
Set it up
- Open Administration > Integrations and switch on Use for this company next to Webhooks.
- Open Administration > Webhooks and select Add an address.
- Enter a Name, the Address that receives the messages and choose the Events it is told about.
- Save. adsum shows the signing secret once. Copy it into the receiving system now; it cannot be shown again.
The events are: a person is hired, directory data of a person changes, an exit is recorded or changed, a person has left (on the day they leave) and a person is hired again. A message carries name, personnel number, work e-mail, department, position, manager and the date; nothing else of the personnel file.
What the receiver needs to know
Give the developer of the receiving system the address, the signing secret and these facts: every message is a signed
POST with a JSON document, the header Adsum- identifies it, and the receiver must answer with a status 2xx
within 30 seconds.
Check what was sent
Open the tab Deliveries. It lists the last 30 days with status, attempts and the answer of the receiver. Select Send again to send a delivery once more after you fixed the receiver.
Good to know
- A receiver that does not answer is tried again several times.
- When every message fails for 72 hours, the address is suspended and administrators get a notification. Fix the receiver, then ask whoever runs adsum for your company to resume the address.
- Only addresses on the internet are accepted.