Team and workspace
Send events to your systems with webhooks
Add a webhook endpoint, check that deliveries really come from Coboost, and rotate its signing secret without missing events.
Updated
Webhooks send events, such as a post being approved or a payout being paid, to a URL on your own server as they happen. Set them up under Settings → Developers → Webhooks. Your plan decides whether webhooks are included and how many endpoints you can add. Managing them takes the permission to manage webhooks and, since webhooks carry every team's events, access to every team.
Add an endpoint
- Select Add endpoint.
- Enter the https:// URL that should receive events, then pick the events to send, or All events, including ones added later.
- Copy the signing secret shown once you've added it. You can reveal it again on the endpoint's page.
On the endpoint's page, select Send test event to check that your server answers. Deliveries lists every attempt with your server's response, and Redeliver sends one again. An endpoint that keeps failing is turned off and your admins are told: fix it, then turn it back on.
Check that a delivery is real
Every delivery is signed with the endpoint's secret, so your server can reject anything that didn't come from Coboost. The developer docs show how to check the signature, with sample code.
Rotate the signing secret
Rotate the secret when someone who knew it leaves, or on a schedule: open the endpoint and select Rotate secret. You get a new secret right away. The old secret keeps signing deliveries beside the new one for 24 hours, so your server keeps accepting events while you switch it to the new secret.
Before you rotate, check that your server accepts a delivery when any of the signatures on it matches, as the sample code in the developer docs does. A server that checks only one of them rejects deliveries for part of the time the old secret keeps signing. If it checks the last signature, the new secret's, that's from the moment you rotate until it uses the new secret. If it checks the first, the old secret's, it keeps working until you switch it to the new secret, then rejects every delivery until the old secret stops. So seeing no rejected deliveries after you rotate doesn't mean it's safe to switch.
If the secret leaked, tick Stop the current secret now before you rotate: the old secret stops at once, and your server rejects deliveries until it uses the new one. Rotating again before the old secret has stopped also stops it at once.
API keys and connected AI tools can rotate the secret too.
More in Team and workspace
- Invite team membersInvite people by email, choose their role and access, and manage seats and members.
- Roles, permissions and teamsWhat each system role can do, custom roles, and how teams limit what members see.
- Connect Claude or ChatGPT to your workspaceLet an AI assistant work in your workspace by signing in: who can connect one, what it can do, and how to disconnect it.
Still need help?
Write to the support team and we'll reply by email.