Screens
Webhooks
Let other systems know when a release is submitted, published or rejected, so they can react on their own. They live in Brand settings › Integrations.
The webhook lab
- Send a sample: a realistic event (submitted, published or rejected) signed with your endpoint’s real secret (or, for a chat or issue-tracker webhook, shaped for that app), with the request and your endpoint’s answer side by side. Marked as a test; not retried. A Jira or Linear webhook only takes the submitted-for-review sample, and makes a real issue marked [Test].
- See the request: exactly what arrives, signed with a demo secret, copyable as curl to replay against your own receiver.
- Check a signature: paste what your receiver got and it says whether it’s valid, and why not if it isn’t. It runs in your browser.
- Recipes: GitHub Actions, Vercel and Netlify deploys, Slack, Teams and Discord, Node and Python receivers, and no-code tools.
What they’re for
A webhook is a web address of yours that Stoaken calls when something happens. Use one to rebuild your app when a release is published, post in a team chat when one is waiting for review, or update a dashboard.
- Release submitted for review
- Release published
- Release rejected
Each message is small and signed, so your system can check it really came from Stoaken. It carries ids, not tokens: fetch the details from the API.
Adding one
- Open the Brand’s settings and go to Integrations. Webhooks are per Brand, up to 10 each, and need a Brand Admin.
- Add a webhook and choose the tool under Which tool?: Slack, Jira, GitHub, Vercel, Zapier and the rest, or Your own receiver. Stoaken sets the format and the events the tool needs. A deploy hook only takes Release published, so a review or a rejection never rebuilds your site.
- Paste the address the tool gives you. If it belongs to another tool, Stoaken says so (Looks like Vercel) and switches with one click.
- For your own receiver, copy the signing secret straight away: it’s only shown once. Your system uses it to check each message.
- Send test checks it arrives, and says what went wrong in plain words (for example, that a Slack link was removed). For a deploy hook or a pipeline it asks first, because the test starts a real build: Send test anyway.
Good to know: Test sends are limited to 10 a minute per webhook and 30 every 10 minutes per person, so Stoaken can’t be used to flood someone else’s server.
Tip: Use one address per job (CI, a chat bot, a dashboard). Each gets its own secret, and one failing doesn’t affect the others.
GitHub and Bitbucket take an Access token too. It’s stored encrypted, never shown again, and only ever sent to that host’s API. To change a webhook later, choose Edit from its menu: leave the address or token blank to keep the stored one.
Opening Integrations from a guide or a release (Brand settings with the tool picked) shows the tool’s setup: ticks for what Stoaken can see (the Team plan, Brand Admin, an API key, the webhook, a test that arrived) and the guide’s own steps, each marked In Stoaken or You do this in the other tool.
For GitHub, GitLab, Bitbucket, Azure DevOps, Vercel, Netlify and Cloudflare Pages it also builds the files: stoaken.config.json for your theme (one file per mode where a format holds one mode) and the CI file, to copy or download. Create a CI key makes an API key for the CI secret; it acts as you. With the GitHub webhook added, Add the workflow for me puts both files on a branch and opens a pull request (the token also needs Workflows: Read and write).
Chat and issue trackers
- Slack message, Microsoft Teams card and Discord message post “Release v1.4.0 of Brand · Theme needs review” (or is live, or was rejected, with the reason) and a link to the release. Paste the webhook address the app gives you. For Teams, that’s a workflow made with “When a Teams webhook request is received”.
- Jira issue makes an issue when a release is submitted for review. Give the Account email, an API token, the Project key and the Issue type.
- Linear issue does the same in Linear, with a personal API key and the Team id.
Good to know: A chat webhook address works like a password: anyone with it can post in that channel. Keep it out of code and screenshots.
Jira and Linear only act when a release is submitted for review, so that’s the only event they take, and they don’t update the issue later. Send test checks the connection without making an issue.
Keeping them healthy
- Recent deliveries shows each call, and whether it worked: a ring that’s still drawing is on its way, a tick delivered, a cross failed. Failed ones are retried for about a day.
- Addresses show only their start, since a hook address carries its own secret. Reveal shows the whole address.
- Disable pauses a webhook without deleting it.
- After 5 failed deliveries in a row Stoaken switches a webhook off. Its Brand Admins get a notice in the bell and by email, once (the notice’s Fix the webhook opens its setup), and the Releases list says so until it is fixed and turned back on.
- Rotate secret gives it a new secret. For a while, messages carry both signatures, so you have time to update your system. Only your own receiver and n8n check the signature, so other tools don’t offer it.
Good to know: Webhooks are part of the Team plan.