Skip to content
Developer API · API v2

API v2

The current Stampede API: bookings, guests, reviews, marketing, loyalty, ordering, WiFi and more, over REST, with the whole reference as an OpenAPI document.

The full reference, every operation with its input, output and errors, is the OpenAPI 3.1 document at https://global.stampede.ai/v2/openapi.json. Import it into Postman, Insomnia or a client generator.

Base URL

https://global.stampede.ai/v2

Authentication

Create an API key in Stampede under Marketplace, then API Keys, and choose the scopes it needs. Exchange its client_id and client_secret for a bearer token with OAuth 2.0 client credentials, as in Authentication, and send the token on every call.

The token decides the organisation. No path or body field can choose another one, and every venue, guest and booking is checked against it before anything is returned or changed.

A first call

GEThttps://global.stampede.ai/v2/venues
curl https://global.stampede.ai/v2/venues \
  --header 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'

Conventions

  • Responses are { "data": ... }. Lists add cursor, which is null on the last page.
  • Paging is limit (1 to 100, default 25) and cursor.
  • Money is { "amount": 1250, "currency": "GBP" }, always in minor units: 1250 is £12.50.
  • Times are ISO 8601 instants, unless a field says it is a local time or date on the venue’s own clock.
  • Venues are venue_id fields: a Stampede venue ID, or your own ID mapped to it.
  • Field names are snake_case.
  • Rate limit is 300 requests a minute per token, with RateLimit headers on every response.
  • Tracing: every response carries X-Request-Id. Quote it when you contact us.

Errors

Errors are a list under errors. code is stable, so branch on it; detail is written for people and can change; field names the input at fault, when there is one.

{
  "errors": [
    {
      "category": "INVALID_REQUEST_ERROR",
      "code": "INVALID_VALUE",
      "detail": "Too small: expected number to be >=1",
      "field": "body.party_size"
    }
  ],
  "request_id": "9ebb248c-ed3f-48ef-82d6-40c7f8b27758"
}
  • 400 invalid input, 401 no token or a bad one, 403 a scope missing or not allowed, 404 not found, 409 a conflict, 429 too many requests.
  • 502 and 504 mean a Stampede service failed or timed out: try again with the same request.

Scopes

A key can do only what its scopes allow. Changes to bookings, setup, campaigns and most other areas also need the key to have been made by an admin or the owner of the organisation.

NameTypeDescription
organisation:readReadSee your organisation's details
venues:readReadSee your venues
guests:readReadSee guests and their tags
guests:writeChangeCreate guests and change their tags
activity:writeChangeRecord bookings, orders, WiFi logins and form fills from other systems
bookings:readReadSee bookings, availability and booking setup
bookings:writeChangeBlock tables, and make, change and cancel bookings
booking_setup:writeChangeChange how venues take bookings: booking types, events, special dates, ticketed events, areas, tables and booking settings
tickets:readReadSee tickets left, ticket orders and the door list
tickets:writeChangeSell tickets as staff, cancel and refund them, email passes again and check tickets in
enquiries:readReadSee enquiries, their stages, lost reasons, form questions and payment links
enquiries:writeChangeTake, change, move and close enquiries, and send their payment links
reviews:readReadSee reviews, replies, review stats, review pages and the AI summaries
reviews:writeChangeMark reviews handled, get and edit the AI's reply drafts, and manage reply rules and review pages
reviews:replyChangePost replies to reviews, in public under the venue name on Google
inbox:readReadRead inbox conversations with guests, their messages and notes
inbox:writeChangeMark conversations read or closed, assign, tag and add staff notes
inbox:sendChangeEmail replies to guests from the inbox, under the venue's name
marketing:readReadSee email templates, audiences, campaigns, sign-up forms and brand kits, and preview emails
marketing:writeChangeCreate and change email templates, audiences, draft campaigns, sign-up forms and brand kits
marketing:sendChangeSend and schedule email campaigns, and switch marketing workflows on and pause them. Given by name only
workflows:readReadSee marketing workflows, their steps and emails, and their runs
workflows:writeChangeBuild and change draft workflows (never switch one on)
loyalty:readReadSee loyalty schemes, members, points, rewards and scheme stats
loyalty:writeChangeAdd points and redeem rewards; for admins, also manage rewards and earning rules
gift_cards:readReadSee gift card products and the gift cards sold or issued
gift_cards:writeChangeRedeem, resend, issue, deactivate and refund gift cards
wifi:readReadSee WiFi sign-in pages, paid plans, payments, sessions and SNAPguard setup
wifi:writeChangeChange WiFi sign-in pages, paid plans and SNAPguard networks, and record WiFi payments
ordering:readReadSee menus, the Square catalogue they are built from, ordering settings and tables
ordering:writeChangeBuild draft menus, mark items sold out, pause menus and manage tables and QR codes
ordering:publishChangePut menus live at venues, or take them off
orders:readReadSee orders taken through Stampede: pre-orders, table orders and collection
orders:writeChangeMove orders through the kitchen
payments:readReadCard payments and refunds as they happen (webhooks only)
reports:readReadReport figures by day, week, month or hour: takings, bookings, WiFi, reviews and loyalty
voice:readReadSee your AI phone's calls, transcripts, figures, numbers and voices
voice:writeChangeChange how your AI phone answers
webhooks:readReadSee your webhook endpoints and what was sent to them
webhooks:writeChangeAdd, change and remove webhook endpoints

Using it from Claude

The same operations are offered to Claude and other AI assistants as an MCP server. See Stampede in Claude.