What this is for
An inbound webhook is an address that another system calls to send events into Callgoose CORE. Use one when, for example, your online shop or point-of-sale system should create sales vouchers in CORE Financial, or when an HR tool should start an automation in CORE Agreements, such as drafting and sending an offer letter.
Each webhook has its own signing secret. CORE checks the signature on every call before acting on it, so only a system that holds the secret can use the address.
Create an inbound webhook
- From your home page open System admin, then API Integrations.
- Choose the Inbound Webhooks tab, then New inbound webhook.
- Choose the Target module:
- Financial, to create vouchers: each call creates a voucher in CORE Financial.
- Agreements, to trigger automation: each call runs the matching automation rules in CORE Agreements.
- Enter a Source label, a friendly name for the sending system, for example the shop's name. It is stamped on records created through this webhook, so people can see where they came from.
- Optionally add a Description.
- Choose Mint.
- The window shows the Webhook URL and the Signing secret (hex). Use Copy URL and Copy secret, and give both to the developer of the sending system. The secret is shown once.
- Choose I've stored it.
The window also shows a sample request your developer can use to test the address.
How the sending system signs a call
Each call is a POST with a JSON body and the header X-Callgoose-Signature: t=<ms>,v1=<hmac>, where t is the time in milliseconds and v1 is an HMAC-SHA256 of <t>.<body> made with the signing secret. Calls with a missing or wrong signature are refused.
Revoke an inbound webhook
On the Inbound Webhooks tab choose Revoke on the row. The address stops accepting calls. Each row also shows the Source, Target, part of the address, when it was Created and Last used, and its State.
Good to know
- Source label and Target module are required.
- The signing secret cannot be shown again. If it is lost, revoke the webhook and create a new one.
- Each address accepts up to 100 calls a minute by default; calls above that are slowed down, which protects your company if a secret leaks.
- A voucher created through a webhook appears in CORE Financial marked with where it came from.
- Only people allowed to manage API integrations can create or revoke webhooks. See Who can do what.