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/v2Authentication
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
https://global.stampede.ai/v2/venuescurl https://global.stampede.ai/v2/venues \
--header 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'Conventions
- Responses are
{ "data": ... }. Lists addcursor, which is null on the last page. - Paging is
limit(1 to 100, default 25) andcursor. - 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_idfields: 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
RateLimitheaders 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"
}400invalid input,401no token or a bad one,403a scope missing or not allowed,404not found,409a conflict,429too many requests.502and504mean 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.
| Name | Type | Description |
|---|---|---|
organisation:read | Read | See your organisation's details |
venues:read | Read | See your venues |
guests:read | Read | See guests and their tags |
guests:write | Change | Create guests and change their tags |
activity:write | Change | Record bookings, orders, WiFi logins and form fills from other systems |
bookings:read | Read | See bookings, availability and booking setup |
bookings:write | Change | Block tables, and make, change and cancel bookings |
booking_setup:write | Change | Change how venues take bookings: booking types, events, special dates, ticketed events, areas, tables and booking settings |
tickets:read | Read | See tickets left, ticket orders and the door list |
tickets:write | Change | Sell tickets as staff, cancel and refund them, email passes again and check tickets in |
enquiries:read | Read | See enquiries, their stages, lost reasons, form questions and payment links |
enquiries:write | Change | Take, change, move and close enquiries, and send their payment links |
reviews:read | Read | See reviews, replies, review stats, review pages and the AI summaries |
reviews:write | Change | Mark reviews handled, get and edit the AI's reply drafts, and manage reply rules and review pages |
reviews:reply | Change | Post replies to reviews, in public under the venue name on Google |
inbox:read | Read | Read inbox conversations with guests, their messages and notes |
inbox:write | Change | Mark conversations read or closed, assign, tag and add staff notes |
inbox:send | Change | Email replies to guests from the inbox, under the venue's name |
marketing:read | Read | See email templates, audiences, campaigns, sign-up forms and brand kits, and preview emails |
marketing:write | Change | Create and change email templates, audiences, draft campaigns, sign-up forms and brand kits |
marketing:send | Change | Send and schedule email campaigns, and switch marketing workflows on and pause them. Given by name only |
workflows:read | Read | See marketing workflows, their steps and emails, and their runs |
workflows:write | Change | Build and change draft workflows (never switch one on) |
loyalty:read | Read | See loyalty schemes, members, points, rewards and scheme stats |
loyalty:write | Change | Add points and redeem rewards; for admins, also manage rewards and earning rules |
gift_cards:read | Read | See gift card products and the gift cards sold or issued |
gift_cards:write | Change | Redeem, resend, issue, deactivate and refund gift cards |
wifi:read | Read | See WiFi sign-in pages, paid plans, payments, sessions and SNAPguard setup |
wifi:write | Change | Change WiFi sign-in pages, paid plans and SNAPguard networks, and record WiFi payments |
ordering:read | Read | See menus, the Square catalogue they are built from, ordering settings and tables |
ordering:write | Change | Build draft menus, mark items sold out, pause menus and manage tables and QR codes |
ordering:publish | Change | Put menus live at venues, or take them off |
orders:read | Read | See orders taken through Stampede: pre-orders, table orders and collection |
orders:write | Change | Move orders through the kitchen |
payments:read | Read | Card payments and refunds as they happen (webhooks only) |
reports:read | Read | Report figures by day, week, month or hour: takings, bookings, WiFi, reviews and loyalty |
voice:read | Read | See your AI phone's calls, transcripts, figures, numbers and voices |
voice:write | Change | Change how your AI phone answers |
webhooks:read | Read | See your webhook endpoints and what was sent to them |
webhooks:write | Change | Add, 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.