Skip to content
Square and integrations

Create API keys and webhooks

Create a client ID and secret for an app that uses the Stampede API, and send customer events to your own URL.

2 min read

In short: click New API key and copy the client secret straight away. It is never shown again.

where to find it

Create an API key

  1. Go to Marketplace & API › API Keys & Webhooks.
  2. Click New API key.
  3. Enter an Application name and click Create.
  4. Copy the Client ID and Client secret, then click I've saved my credentials.

Add a webhook

  1. Under Webhooks, click New webhook.
  2. Enter the URL that should receive events.
  3. Choose a Venue or All venues.
  4. Choose an Event (On customer create or On interaction create), then click Create.
a venue or all venues

What the API can do

The API is built around your guests. With it, an app can:

  • List your venues.
  • Find, create and tag guests.
  • Add a guest's orders, bookings, Wi-Fi visits and form answers to their profile.
  • Send events into your automated workflows.

It does not read your booking diary, table plans, deposits or reports, so calls for those are expected to fail. It is for sending guests and visits as they happen. To bring in a list of past guests, import a CSV instead.

Every endpoint is in the developer guide at https://stampede.ai/developer, also linked from Documentation in the same menu.

Check it worked

A webhook's dot is grey until the first event is sent, and green once deliveries succeed.

If it does not work

Only some guests come back

Long lists come back a page at a time. Use the cursor in each response to ask for the next page, until there are none left.

A guest search returns an error

Check the limit you pass is a whole number, such as 100.

Calls fail with your key

Lost a client secret, or has someone who had it left? Remove the key and create a new one. A red webhook dot means every delivery so far has failed: check your endpoint is online and accepts the request.

You need a venue's ID

It is in the web address of any venue page in Stampede, straight after venues/.

Email support at agent@stampede.ai with:

  • The application name or webhook URL.
  • The request you sent and the error that came back.

Good to know

  • An API key lets your own app read and write your organisation's data.
  • FOH and IT cannot see Marketplace & API.

Still stuck, or have account-specific questions?

  1. Log in to stampede.aiWith your usual details.
  2. Hold Command, press /On Windows, hold Control (Ctrl) and press /.
  3. Ask the agentIt answers about your own venues and account.
Log in to stampede.ai