Skip to main content

Quickstart

This guide takes you from a new account to your first delivered webhook in a few minutes, using the dashboard's guided Connect flow.

Prefer to watch first? The 90-second demo above covers the same flow end-to-end. More walkthroughs on our YouTube channel.

1. Sign up​

When you first sign in, Dispatch sets you up automatically: you get a default organization and a Default Project, and land on the project's overview page. Organizations are the top-level container for projects, members, and billing; the project is where you'll manage your sources, destinations, and templates. Both can be renamed in their settings pages, and you can create more of either at any time.

The overview shows a Project setup checklist — add a source, add a destination, connect them, and send your first event. It checks itself off as you go and disappears when the project is fully wired up.

note

Joining from a team invite? You're added to your team's organization instead — no default workspace is created.

2. Open Connect​

Click Connect a source on the Project setup card (it reads Continue setup once the project has a source). (Anywhere inside a project, you can also press G then C.)

The Connect page walks through three steps — Source, Destination, and Listen — and creates the route between your source and destination for you.

3. Choose a source​

Under New source, pick Manual webhook (it's first in the list) — or one of the integrations. Some, like Stripe, give you a URL to paste into the service's webhook settings; others, like GitHub, register the webhook for you once you've authorized them (authorizing a new one brings you straight back to this step with its setup open, so you can finish it and move on).

For a manual webhook:

  1. Keep the suggested name or enter your own.
  2. Choose how senders authenticate: Signing Secret (recommended), API Key, or None (Public).
  3. Click Create source.

Dispatch shows your source's URL — https://your-api.com/hooks/<slug> — and, for a signing-secret source, its signing secret. The secret is shown only once, so copy it now to configure your sending service later. Click Continue.

4. Choose a destination​

Under New destination, pick where events should go. For example:

  • Discord — authorize the Dispatch bot and pick a channel; you come straight back to Connect.
  • Webhook — paste any URL that should receive the raw JSON. The name is optional.

Slack, Telegram, Google Chat, Webex, and the Dispatch CLI are in the same list.

5. Listen and send an event​

The Listen step creates the route — with the defaults auto-format · all events — and starts listening on your source. Send something:

  • Click Send test event for a synthetic event, or
  • Copy the command under Send a real event and run it in a terminal. While the page stays open after you created the source, the command already contains your signing secret.

The listener updates live: Listening for events…, then Event received as the delivery is picked up and sent, then Delivered to your destination with the response status and latency. If the request is rejected, the listener says why and how to fix it — see Connect → Step 3.

tip

Test events are great for checking the route, but they don't complete the setup checklist — the first real event does.

6. See the delivery​

When the first event lands, the panel reads Connected. Click Open event to see the payload, headers, and each delivery attempt, or Customize route to add a template, transform, or filter. Every event also appears on the Events page.

Sending events yourself​

The command on the Listen step depends on how the source authenticates. Replace https://your-api.com/hooks/your-slug with your source's URL.

Signing secret — sign the exact request body with HMAC-SHA256 and send the hex digest in X-Dispatch-Signature, prefixed with sha256=. Keeping the body in one variable guarantees the bytes you sign are the bytes you send:

export DISPATCH_SIGNING_SECRET='your-signing-secret'
BODY='{"hello":"dispatch"}'
SIG=$(printf '%s' "$BODY" | openssl dgst -sha256 -hmac "$DISPATCH_SIGNING_SECRET" | awk '{print $NF}')
curl -X POST https://your-api.com/hooks/your-slug -H "Content-Type: application/json" -H "X-Dispatch-Signature: sha256=$SIG" -d "$BODY"

API key — send a project API key (create one under Settings → API keys):

curl -X POST https://your-api.com/hooks/your-slug -H "Content-Type: application/json" -H "Authorization: Bearer $DISPATCH_API_KEY" -d '{"hello":"dispatch"}'

Public — no credentials; the source's URL is the secret, so keep it private:

curl -X POST https://your-api.com/hooks/your-slug -H "Content-Type: application/json" -d '{"hello":"dispatch"}'

Prefer to set things up by hand?​

Everything Connect does is also available from the individual pages:

  1. On Sources, click Add Source and create a source — see Managing Sources.
  2. On Destinations, click Add Destination — see Managing Destinations.
  3. Back on Sources, link the destination to your source from the source's card, optionally picking a template.
  4. Click Send Test on the source — whether each destination received it shows right under the button — or send a request with one of the commands above, and check the Events page.

Next Steps​