A live menu and bookable tables on your website.
The restaurant runs its day in Brigly. Read its menu and its free tables with a plain JSON API, paste in a ready-made widget, or get a signed webhook when something changes.
100% free on every plan, including Brigly Free, Brigly Team, Brigly Pro (and Founding 100), Brigly + Custom Website and the 14-day trial. No per-call fees, no per-cover fees.
curl -X GET "https://impartial-toad-141.convex.site/v1/menu?service=Dinner&r=YOUR_RESTAURANT_ID"One dish from the answer
{"name": "Burrata & heirloom tomatoes","price": 16,"allergens": ["Gluten", "Milk"],"available": false,"availability": { "label": "Out · Burrata" }}
The kitchen ran out of burrata, so the dish comes back with available false until it is back in.
- Base URL
https://impartial-toad-141.convex.siteevery endpoint starts with/v1- Format
- JSON over HTTPS. Reads answer any origin, so a browser can call them with the public token.
What you can build.
The restaurant keeps its menu, its sold-out dishes and its bookings in Brigly. Everything below reads or writes those same records.
A booking form, pasted in
One script tag puts a booking form, the menu or tonight’s specials on a WordPress, Squarespace, Wix, Webflow or hand-built site. No key is ever on the page.
The live menu
The menu the kitchen runs: categories, prices, the fourteen allergens, and whether each dish can be ordered right now. A dish that sells out comes back unavailable at once.
Your own booking flow
Free tables by the half hour, a booking written to the floor plan like one the host takes, and the meal chosen ahead with its temperatures, sides and notes.
Another system, kept in step
A signed JSON post within seconds of a menu change, a sold-out dish, a booking or a special. Nothing to poll.
Conventions
Everything the API answers is produced by the same server code that runs the Brigly app. Every endpoint lives under /v1 and speaks UTF-8 JSON.
| Convention | Behavior |
|---|---|
| Prices | Decimals in the workspace’s currency, named in restaurant.currency or currency. |
| Times & dates | Times use local 24-hour HH:MM at the restaurant. Calendar dates use YYYY-MM-DD. |
| Browser CORS | Routes accept GET, POST, PUT, PATCH, DELETE, and OPTIONS from any origin so websites can read public endpoints and submit guest actions directly. |
| Request tracing & ETag | Every response includes X-Request-Id (req_…) and X-RateLimit-*. GET responses carry a stable ETag: send If-None-Match to receive 304 Not Modified with an empty body when unchanged. |
| Idempotency | Send Idempotency-Key (up to 128 chars) on POST writes. Keys are isolated per caller and path for 24 hours: matching retries return the stored status and Idempotency-Replayed: true (with single-use manageKey/manageUrl stripped at rest); mismatched bodies return 409 idempotency_conflict. |
| Pagination & limits | List endpoints accept limit and cursor, returning nextCursor and hasMore. JSON request bodies are capped at 64 KiB (larger payloads receive 413 payload_too_large). |
| Security headers | Every response sets X-Content-Type-Options: nosniff and Referrer-Policy: no-referrer. Bearer-authenticated responses always force Cache-Control: private and Vary: Authorization. |
Free on every plan · Zero cover fees
The API, drop-in widgets, and outbound webhooks are 100% free on every Brigly plan, including Brigly Free. There are no per-call fees, no integration charges and no per-cover fees: a booking taken through the API or a widget costs the restaurant nothing extra.
| The restaurant’s plan | A month | API, widgets and webhooks |
|---|---|---|
| Brigly Free | $0 | Included |
| Brigly Team | $49 | Included |
| Brigly Pro | $129, or $99 at the Founding 100 price | Included |
| Brigly + Custom Website | $199 | Included |
| The 14-day trial | No charge | Included |
Production keys, the public token, and webhook delivery stay active on every restaurant plan (even when a paid plan returns to Brigly Free) and are equally free with unlimited connected restaurants on Brigly Vendor (/v1/vendor). See the plans.
Authentication & scopes
Open Developer & API from the Brigly account switcher to create scoped keys and webhooks. Restaurant managers can also invite an external developer via Manage → Restaurant access → Developers; invited developers sign in with that email and work strictly inside the scopes, webhook events, and expiry granted by the manager.
Secret API keys start with brigly_live_ (restaurants) or brigly_vendor_ (suppliers) plus 32 hex characters. They are shown once on creation and stored as SHA-256 hashes. Send them from your backend over HTTPS:
Authorization: Bearer brigly_live_9a7b2c4d…Public tokens are simply the restaurant id (?r=) or supplier id (?vendor=). They are safe in browser JavaScript and HTML embeds because they can only read intentionally public surfaces and submit bounded guest requests (at tighter visitor rate limits). Revoked keys are refused immediately with 401 and never fall back to public access.
| Scope | Allows | Public token (?r=) |
|---|---|---|
restaurant:read | GET /v1/restaurant | Yes |
menu:read | GET /v1/menu, /v1/menu/items, /v1/menu/items/:id, /v1/menu/86 | Yes |
menu:write | PATCH /v1/menu/items/:id/limit, POST /v1/menu/86, DELETE /v1/menu/86/:id | No |
specials:read | GET /v1/specials, /v1/happy-hours, /v1/events, /v1/catering, /v1/memberships | Yes |
reservations:read | Availability, listing and reading bookings, event reservations, catering requests and membership requests | Availability only |
reservations:write | Create, update and cancel bookings; submit catering, event and membership requests | Create; read/update/cancel one record with its manage key |
waitlist:read | GET /v1/waitlist | Wait quote only (GET /v1/waitlist/quote) |
waitlist:write | POST /v1/waitlist, DELETE /v1/waitlist/:id | No |
floor:read | GET /v1/floor-plan (including ?private=true) and /v1/waitlist/quote | Published floor plan and wait quote only |
floor:write | PATCH /v1/floor-plan | No |
stock:read | GET /v1/stock/items, /v1/stock/orders | No |
schedule:read | GET /v1/schedule, /v1/briefings | No |
feedback:read | GET /v1/feedback | No |
feedback:write | POST /v1/feedback | Yes |
jobs:read | GET /v1/jobs | Yes |
applications:read | GET /v1/applications, /v1/applications/:id | One application’s status with its manage key |
applications:write | POST /v1/applications, DELETE /v1/applications/:id | Submit; withdraw active application with its manage key |
webhooks:manage | GET, POST, PATCH, DELETE /v1/webhooks, plus ping, deliveries and replay | No |
Rate limits
API keys use the workspace’s configured limit (60 calls/minute by default, adjustable from 10 to 600). Unauthenticated public tokens allow 30 reads and 10 writes per minute per visitor IP, plus an hourly cap of 60 new guest records per restaurant (5 per visitor IP, shared with Brigly hosted booking/application pages). Only saved writes consume the hourly cap.
Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset (Unix epoch seconds). Exceeding a bucket returns 429 with Retry-After in seconds. Workspaces can pause API access at any time, returning 403 api_disabled.
Try it live
Enter a restaurant or supplier id from Developer & API or stay in demo mode, pick an endpoint and send. Live calls use your public token (?r= or ?vendor=) or a pasted key; demo mode reads static sample files so nothing is written.
Pick an endpoint and send a request.
The answer appears here.
GET/v1/menu/86menu:read · public
Live 86 board broken down into items (explicit dish 86s), ingredients (out-of-stock ingredients plus affected dishes in affects), soldOut (dishes whose service limit hit zero), and unavailable (combined list).
curl -X GET "https://impartial-toad-141.convex.site/v1/menu/86?r=YOUR_RESTAURANT_ID"POST/v1/menu/86menu:write · key only
Mark a dish or stock ingredient 86’d with an optional substitute, or restore it with DELETE /v1/menu/86/:id. Fires item.86ed and menu.updated.
curl -X POST "https://impartial-toad-141.convex.site/v1/menu/86" \
-H "Authorization: Bearer brigly_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"itemId": "mi-pasta",
"reason": "Ran out of basil",
"service": "Dinner",
"substituteItemId": "mi-steak"
}'Reservations & table booking
GET/v1/reservations/availabilityreservations:read · public
Real-time free slots calculated against floor tables and existing bookings. Returned slots show available rooms, suggested tables, and joined: true when adjacent tables combine. Past times for today are omitted.
| Query | Meaning |
|---|---|
daterequired | YYYY-MM-DD |
guestsrequired | 1 to 20 |
service | Defaults to the active or final service on that day. |
duration | Turn time in minutes (30 to 360); defaults to floor setting. |
step | Slot interval in minutes: 15, 30 or 60 (default 30). |
curl -X GET "https://impartial-toad-141.convex.site/v1/reservations/availability?date=2026-11-14&guests=4&service=Dinner&r=YOUR_RESTAURANT_ID"{
"date": "2026-11-14",
"service": "Dinner",
"guests": 4,
"turnMinutes": 120,
"stepMinutes": 30,
"open": "16:00",
"lastSeating": "22:00",
"rooms": [{ "id": "main", "name": "Main dining", "tables": 12, "seats": 50 }],
"availableSlots": [
{
"time": "18:00",
"available": true,
"rooms": [{ "id": "main", "name": "Main dining", "tablesAvailable": 3 }],
"suggestedTables": ["3"],
"joined": false
}
]
}POST/v1/reservationsreservations:write · public
Creates a booking with optional kitchen pre-orders, honoring table capacity, turn times, and allergen checks, and emits reservation.created. To list bookings in bulk from a server integration, call GET /v1/reservations (reservations:read) with date, from, to, service, status, limit, and cursor.
| Body field | Meaning |
|---|---|
date, time, guests, name required | Date (YYYY-MM-DD), arrival (HH:MM), party size (1 to 20), and guest name. |
service | Defaults to the service covering the requested time. |
email, phone, contact | Guest contact details. contact defaults to phone or email. |
note, occasion, tags[] | Host note, occasion (Birthday, Anniversary), and seating/visit tags. |
allergies[], allergyNote | Allergen names or codes plus a 200-char note. Flags the table and returns allergyWarnings[] for matching pre-ordered dishes. |
roomPreference | Preferred dining room id or name. |
duration | Turn time in minutes. |
preorders[] | See Kitchen pre-orders. |
curl -X POST "https://impartial-toad-141.convex.site/v1/reservations?r=YOUR_RESTAURANT_ID" \
-H "Content-Type: application/json" \
-d '{
"date": "2026-11-14",
"time": "19:30",
"guests": 2,
"name": "Ada Lovelace",
"email": "ada@example.com",
"phone": "+1 555 0100",
"occasion": "Anniversary",
"roomPreference": "courtyard",
"note": "Window if possible.",
"allergies": [
"Peanuts"
],
"allergyNote": "Carries an EpiPen.",
"preorders": [
{
"itemId": "mi-rib-eye-steak",
"qty": 1,
"modifiers": [
{
"group": "temp",
"option": "Medium rare"
},
{
"group": "side",
"option": "Fries"
}
],
"notes": "Crispy fries"
},
{
"itemId": "mi-chocolate-tart",
"qty": 2
}
]
}'Responds 201 with the saved reservation (bookingId, assigned tables, room, priced preorders) plus single-use manageKey and manageUrl.
GET/v1/reservations/:idreservations:read · manage key
Read one booking’s details and pre-orders. Bearer keys with reservations:read can inspect any booking of the restaurant (without receiving guest manageUrl capabilities); public requests require the booking’s manageKey via X-Brigly-Manage-Key or ?key=.
curl -X GET "https://impartial-toad-141.convex.site/v1/reservations/res-3f9a1c2b?key=MANAGE_KEY&r=YOUR_RESTAURANT_ID"PATCH/v1/reservations/:idreservations:write · manage key
Modify time, date, party size, note, allergies or pre-orders (preorders: [] clears them). Rescheduling re-runs the slot engine excluding this booking. Trusted reservations:write bearer keys can also transition status (Confirmed, Seated, Completed, Cancelled, No-show). Fires reservation.updated.
curl -X PATCH "https://impartial-toad-141.convex.site/v1/reservations/res-3f9a1c2b?r=YOUR_RESTAURANT_ID" \
-H "Content-Type: application/json" \
-d '{
"manageKey": "MANAGE_KEY",
"time": "20:00",
"note": "Running a little late.",
"preorders": [
{
"itemId": "mi-chocolate-tart",
"qty": 2
}
]
}'DELETE/v1/reservations/:idreservations:write · manage key
Cancel a confirmed booking and immediately release its table. Emits reservation.cancelled; cancelling a non-confirmed booking returns 409.
curl -X DELETE "https://impartial-toad-141.convex.site/v1/reservations/res-3f9a1c2b?key=MANAGE_KEY&r=YOUR_RESTAURANT_ID"Kitchen meal pre-orders
Pre-ordered items resolve prices, modifiers, course assignments, and live 86 checks on the server at submission time, never from client-supplied amounts. Unavailable dishes or missing required modifiers fail cleanly with a guest-ready 400 message.
"preorders": [
{
"itemId": "mi-rib-eye-steak",
"qty": 2,
"modifiers": [
{ "group": "temp", "option": "Medium rare" },
{ "group": "side", "option": "Fries" }
],
"notes": "Dressing on the side",
"guestIndex": 1
}
]Returned lines include resolved name, course, unit price, priced modifiers, and lineTotal, alongside preorderCount and preorderTotal. The API collects no money; pre-orders prepare the kitchen and settle at the table.
Course pacing & dietary flags
Lines automatically group by kitchen course (Drinks, Starters, Mains, Sides, Desserts) on floor sheets. Combine /v1/menu allergen arrays with allergyWarnings[] returned on reservations to alert guests before booking.
Specials, happy hours & events
GET/v1/specialsspecials:read · public
Daily specials, happy hours, and events with descriptions, prices, start/end times, images, allergen arrays, and notes.
| Query | Meaning |
|---|---|
date | YYYY-MM-DD; defaults to today at the restaurant. |
service | Filter to one service. |
kind | special, happy_hour, or event. |
curl -X GET "https://impartial-toad-141.convex.site/v1/specials?date=2026-11-14&r=YOUR_RESTAURANT_ID"GET/v1/happy-hoursspecials:read · public
Happy hours starting from ?from= with recurring weekday windows, terms, and live activeNow flag.
curl -X GET "https://impartial-toad-141.convex.site/v1/happy-hours?r=YOUR_RESTAURANT_ID"GET/v1/eventsspecials:read · public
Upcoming events with eventsUrl and optional online booking configuration (open, available, minParty, maxParty, terms, menuGroups, version). The retained ticket fields are inactive: ticketed and soldOut are false, numeric ticket fields are 0, and checkoutUrl is empty.
curl -X GET "https://impartial-toad-141.convex.site/v1/events?r=YOUR_RESTAURANT_ID"POST/v1/events/:id/reservationsreservations:write · public
Reserve seats at an open event by sending the current event version, guest count, contact details, and required meals selections. Changed event details respond 409; list all event reservations via GET /v1/events/:id/reservations (reservations:read), or read/cancel a guest spot at /v1/events/reservations/:id with its manageKey.
curl -X POST "https://impartial-toad-141.convex.site/v1/events/tasting-evening/reservations?r=YOUR_RESTAURANT_ID" \
-H "Content-Type: application/json" \
-d '{
"version": "5f3a91c2",
"guests": 2,
"name": "Ada Lovelace",
"email": "ada@example.com",
"dietary": "One vegetarian.",
"meals": {
"main": [
"herb-chicken"
]
}
}'Catering, private dining & memberships
Display public catering packages, private room offerings, and membership programs on your own site and send guest requests straight into Brigly.
GET/v1/cateringspecials:read · public
Published catering and private-event packages with guest bounds, lead days, service hours, selectable menus, and terms.
| Query | Meaning |
|---|---|
channel | catering or private-event; both if omitted. |
curl -X GET "https://impartial-toad-141.convex.site/v1/catering?r=YOUR_RESTAURANT_ID"POST/v1/catering/requestsreservations:write · public
Submits an event or catering request. Returns 201 with status requested and single-use manageKey; staff reply with a quote in Catering. Emits catering.requested. Server keys with reservations:read can list requests at GET /v1/catering/requests.
curl -X POST "https://impartial-toad-141.convex.site/v1/catering/requests?r=YOUR_RESTAURANT_ID" \
-H "Content-Type: application/json" \
-d '{
"offeringId": "private-dining",
"name": "Ada Lovelace",
"email": "ada@example.com",
"service": "on-site",
"date": "2026-12-05",
"time": "18:00",
"guests": 14,
"occasion": "Birthday",
"note": "One long table if you can.",
"dietary": "Two vegetarians, one nut allergy."
}'GET/v1/catering/requests/:idmanage key
Check status and active quote (offered) using X-Brigly-Manage-Key or ?key=. Send DELETE on the same route to withdraw within notice rules.
GET/v1/membershipsspecials:read · public
Public plan catalog with pricing cadence, benefits, and requestable. Plans joined in person at the restaurant report requestable: false; no member PII or balances ever leave this endpoint.
curl -X GET "https://impartial-toad-141.convex.site/v1/memberships?r=YOUR_RESTAURANT_ID"POST/v1/memberships/requestsreservations:write · public
Submits a join request (waiting) for a requestable plan and returns a one-time manageKey. Server keys with reservations:read can list requests at GET /v1/memberships/requests.
curl -X POST "https://impartial-toad-141.convex.site/v1/memberships/requests?r=YOUR_RESTAURANT_ID" \
-H "Content-Type: application/json" \
-d '{
"planId": "regulars",
"name": "Ada Lovelace",
"email": "ada@example.com"
}'GET/v1/memberships/requests/:idmanage key
Check join request status (waiting, accepted, declined, withdrawn) or send DELETE to withdraw a waiting request.
Jobs & applications
GET/v1/jobsjobs:read · public
Open positions with pay ranges, shift schedules, requirements, and custom screening questions; candidate details are omitted.
| Query | Meaning |
|---|---|
station | Filter by kitchen station or role name. |
type | Full-time, Part-time, Seasonal or Contractor. |
curl -X GET "https://impartial-toad-141.convex.site/v1/jobs?r=YOUR_RESTAURANT_ID"POST/v1/applicationsapplications:write · public
Submit a job application directly into Team, returning 201 with single-use manageKey and manageUrl. Paused boards, closed roles, or duplicate active applications return 409.
curl -X POST "https://impartial-toad-141.convex.site/v1/applications?r=YOUR_RESTAURANT_ID" \
-H "Content-Type: application/json" \
-d '{
"jobId": "job-line-cook",
"name": "Mateo Alvarez",
"email": "mateo@example.com",
"availability": "Wed–Sun, evenings",
"experience": "Three years on sauté and grill.",
"answers": [
{
"questionId": "q-1",
"answer": "Sauté and grill."
}
]
}'GET/v1/applicationsapplications:read · key only
List submitted applications from a backend integration (bearer key only).
| Query | Meaning |
|---|---|
jobId | Limit results to one role id. |
status | new, reviewing, interview, offered, hired, declined or withdrawn. |
curl -X GET "https://impartial-toad-141.convex.site/v1/applications" \
-H "Authorization: Bearer brigly_live_YOUR_KEY"GET/v1/applications/:idmanage key or applications:read
Read application progress or send DELETE to withdraw an active application and erase candidate contact fields. Missing or mismatched keys answer 404.
Restaurant profile & operations
GET/v1/restaurantrestaurant:read · public
Workspace profile, hours, address, service windows, dining rooms, party limits, allergen code map, and enabled public features. Also use GET /v1/floor-plan (public published floor or ?private=true with floor:read) and PATCH /v1/floor-plan (floor:write) to inspect or adjust floor layouts.
curl -X GET "https://impartial-toad-141.convex.site/v1/restaurant?r=YOUR_RESTAURANT_ID"GET/v1/waitlist/quotefloor:public · public
Live walk-in wait estimates (estimatedMinutes, partiesAhead, tableReady) for website banners or host stands, alongside operational endpoints for waitlist management, pantry stock, shifts, briefings, and guest feedback.
curl -X GET "https://impartial-toad-141.convex.site/v1/waitlist/quote?guests=4&r=YOUR_RESTAURANT_ID"| Endpoint | Scope | Description |
|---|---|---|
GET, POST /v1/waitlist | waitlist:read / write · key | List active waitlist parties or add a walk-in party. |
DELETE /v1/waitlist/:id | waitlist:write · key | Remove a party from the waitlist. |
GET /v1/stock/items | stock:read · key | Inventory counts, par levels, low-stock flags, and locations (paginated). |
GET /v1/stock/orders | stock:read · key | Purchase orders placed by the restaurant with suppliers (paginated). |
GET /v1/schedule | schedule:read · key | Published crew and kitchen shifts across a date range (up to 31 days). |
GET /v1/briefings | schedule:read · key | Approved pre-shift briefings and highlights by date and service. |
POST /v1/feedback | feedback:write · public | Collect a 1 to 5 guest rating and comment from a site or QR flow. |
GET /v1/feedback | feedback:read · key | Read submitted feedback, average rating summary, and handling state. |
Outbound webhooks
Subscribe an https:// endpoint in Developer & API › Webhooks or with webhooks:manage. Creation returns the signing secret (whsec_…) once. Manage endpoints via GET /v1/webhooks, PATCH /v1/webhooks/:id, DELETE /v1/webhooks/:id, POST /v1/webhooks/:id/ping, GET /v1/webhooks/:id/deliveries, and POST /v1/webhooks/:id/deliveries/:deliveryId/replay.
curl -X POST "https://impartial-toad-141.convex.site/v1/webhooks" \
-H "Authorization: Bearer brigly_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/hooks/brigly",
"events": [
"item.86ed",
"reservation.created",
"reservation.updated",
"reservation.cancelled"
]
}'import { createHmac, timingSafeEqual } from 'node:crypto';
export function verify(rawBody, signatureHeader, secret) {
const expected = 'sha256=' + createHmac('sha256', secret).update(rawBody).digest('hex');
return expected.length === signatureHeader.length
&& timingSafeEqual(Buffer.from(expected), Buffer.from(signatureHeader));
}Event types & payloads
{
"id": "evt_6b1c0f2e-…",
"event": "reservation.created",
"restaurantId": "k57…",
"timestamp": 1763164800000,
"data": {
"bookingId": "res-3f9a1c2b",
"status": "Confirmed",
"date": "2026-11-14",
"time": "19:30",
"guests": 2,
"tables": ["12"],
"preorderCount": 3
}
}| Event | Trigger | Payload data |
|---|---|---|
menu.updated | A dish, price, category or modifier changed, or availability moved. | reason (price, item, 86, availability…), itemId, name, price, active when one dish is concerned |
item.86ed | A dish or ingredient went on the 86 board, was approved, got a substitute or came back. | id, name, itemId, stockId, reason, status, active, date, service, station, substitute, affects[] |
restaurant.updated | Restaurant identity, contact details, hours, booking windows or turn times changed. | restaurantId, name, fields[] |
reservation.created | A booking was made on the floor, through the API or via a widget. | Same shape as GET /v1/reservations/:id, plus change (new, walk-in, api, widget). Never includes manageKey or manageUrl. |
reservation.updated | Time, party size, table, pre-orders or status changed. | The booking plus change (details, preorders, seat, assign, seated, completed) |
reservation.cancelled | Booking cancelled or marked a no-show. | The booking plus change (cancelled, no-show) |
specials.updated | A special, happy hour or event was added, edited, paused or resumed. | The item as returned by /v1/specials |
floor.updated | Floor rooms, tables or public visibility changed. | restaurantId, change |
catering.requested | A guest submitted a catering or private dining inquiry. | id, channel, name, date, guests, status |
catering.updated | A catering or private dining request was quoted, updated or cancelled. | id, channel, status |
membership.requested | A guest asked to join a membership plan. | id, planId, plan, name, status |
membership.updated | A membership request changed status. | id, planId, status |
jobs.updated | Careers settings changed, or a role was posted, edited, paused, closed or removed. | change (settings, job, status, deleted) and accepting summary |
application.received | A job application arrived through the careers page, widget, API or Team. | id, jobId, jobTitle, role, station, name, email, phone, availability, source, status, submittedAt (never manageKey) |
application.updated | An application changed stage, was hired, withdrawn or cleared. | id, jobId, jobTitle, status, change, restaurantId (and hiredPersonId once hired) |
feedback.received | Guest feedback was submitted from a web flow, receipt or API call. | id, rating, text, locale, at |
Drop-in website widgets
One script, no dependencies, under 40 KB, free to embed on any WordPress, Squarespace, Wix, Webflow or custom site on every Brigly plan, Brigly Free included: no plugin to buy, no booking fee on the tables it fills. The widgets read your restaurant through the public token, so no key is ever on the page. The booking widget walks a guest through party and time, seating, the meal pre-selected from your live menu with allergen warnings, their details, and a confirmation with a calendar file and a cancel link.
<div id="brigly-booking" data-restaurant="YOUR_RESTAURANT_ID" data-theme="dark"></div>
<div id="brigly-menu" data-restaurant="YOUR_RESTAURANT_ID"></div>
<div id="brigly-specials" data-restaurant="YOUR_RESTAURANT_ID"></div>
<div id="brigly-jobs" data-restaurant="YOUR_RESTAURANT_ID"></div>
<script src="https://brigly.app/assets/js/brigly-embed.js" defer></script>Below, the widgets run against the demo sample data; bookings and applications stay in the preview and reach no team.
Configuration & theming
| Attribute | Values | Meaning |
|---|---|---|
data-restaurant | your restaurant id | Required. Copied automatically under Developer & API › Website widgets. |
data-theme | dark · light · auto | Match dark pages, light pages, or follow prefers-color-scheme. |
data-accent | orange · sage · chalk | Button and primary highlight color. |
data-service | a service name | Initial service shown in the booking and menu widgets. |
data-station | a station or role | Filter the jobs widget (#brigly-jobs) by station or role. |
data-type | employment type | Filter #brigly-jobs to Full-time, Part-time, Seasonal or Contractor. |
data-api | https:// base URL | Optional alternate Brigly API origin for self-hosted/staging tests. |
data-demo | sample JSON folder | Preview mode reading static JSON files; no live bookings are written. |
Widgets expose CSS variables (--bw-bg, --bw-bg2, --bw-ink, --bw-accent, --bw-line, --bw-r) on .brigly-widget so your stylesheet can tailor radius and palette cleanly with zero inline scripts.
Supplier API (Brigly Vendor)
Food suppliers running on Brigly Vendor use /v1/vendor to power wholesale websites, ERP inventory syncs, warehouse pick sheets, delivery routing, and automated order confirmations. Secret server keys use prefix brigly_vendor_ and carry scoped permissions configured under Supplier Settings → Developer & API.
| Supplier scope | Allows | Public (?vendor=) |
|---|---|---|
vendor:read | Profile, category, delivery schedule, cutoff, and announcements | Profile & opt-in news/contact |
vendor.catalog:read | Catalog products, categories, search, and price history | Only when publicCatalog is true |
vendor.catalog:write | Create/update/delete products, today stock counts, and news | No |
vendor.orders:read | Purchase orders, pick lists, and delivery routes | No |
vendor.orders:write | Acknowledge, decline, or advance order fulfillment statuses | No |
vendor.restaurants:read | Connected restaurants, terms, credit holds, and standing orders | No |
vendor.invoices:read | Tracked invoices and statuses (Brigly tracks invoices, never money) | No |
vendor.recalls:read | Sent lot recalls and restaurant acknowledgements | No |
vendor.jobs:read | Open roles on the supplier careers board | Yes |
vendor.applications:write | Submit job applications to the supplier team | Yes (hourly cap applies) |
vendor.webhooks:manage | Register, test, inspect and replay supplier webhooks | No |
Supplier profile, catalog & availability
GET/v1/vendorvendor:read · public
Returns supplier identity, category, delivery weekdays, cutoff time, lead days, order minimum, privacy flags, and opt-in contact details.
curl -X GET "https://impartial-toad-141.convex.site/v1/vendor?vendor=YOUR_VENDOR_ID"GET/v1/vendor/catalogvendor.catalog:read · opt-in public
Paginated product catalog with category filters, text search, availability filters, and optional priceHistory (bearer keys only).
| Query | Meaning |
|---|---|
category | Filter to one product category. |
q | Search substring on product name, SKU, or description. |
available | Set true or false. |
featured | Set true to show highlighted items only. |
include_history | Bearer keys only: pass true to include priceHistory. |
limit | Page size (1 to 200). |
cursor | Opaque cursor from nextCursor. |
curl -X GET "https://impartial-toad-141.convex.site/v1/vendor/catalog?available=true&vendor=YOUR_VENDOR_ID"POST/v1/vendor/catalogvendor.catalog:write · key only
Add a wholesale SKU to the catalog, update individual items via GET, PATCH, DELETE /v1/vendor/catalog/:id, or batch-set daily counts at PUT /v1/vendor/catalog/availability. Emits vendor.catalog.updated.
curl -X POST "https://impartial-toad-141.convex.site/v1/vendor/catalog" \
-H "Authorization: Bearer brigly_vendor_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Seeded Sourdough Baguette",
"sku": "JB-204",
"category": "Bakery",
"pack": "12 loaves",
"unit": "case",
"price": 32.5,
"available": true,
"catchWeight": false,
"description": "Stone-baked overnight levain baguettes."
}'curl -X PUT "https://impartial-toad-141.convex.site/v1/vendor/catalog/availability" \
-H "Authorization: Bearer brigly_vendor_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"items": [
{
"sku": "JB-101",
"qty": 18
},
{
"sku": "JB-204",
"qty": 10
}
]
}'GET/v1/vendor/newsvendor:read · opt-in public
Reads the seasonal broadcast note (publicNews), or publishes a new one via PUT /v1/vendor/news (vendor.catalog:write).
curl -X GET "https://impartial-toad-141.convex.site/v1/vendor/news?vendor=YOUR_VENDOR_ID"Orders, routes, tracked invoices & recalls
GET/v1/vendor/ordersvendor.orders:read · key only
Inspect incoming purchase orders filtered by status (open, closed, or exact stage), delivery_date, or restaurant_id. Inspect one order by id or PO number at GET /v1/vendor/orders/:id, and acknowledge, propose changes, decline, or advance fulfillment with PATCH /v1/vendor/orders/:id.
curl -X PATCH "https://impartial-toad-141.convex.site/v1/vendor/orders/:id" \
-H "Authorization: Bearer brigly_vendor_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"status": "acknowledged"
}'| Endpoint | Scope | What it does |
|---|---|---|
GET /v1/vendor/pick-list | vendor.orders:read · key | Aggregated warehouse pick totals and shortage lines for ?delivery_date=. |
GET /v1/vendor/restaurants | vendor.restaurants:read · key | Connected restaurants with account numbers, terms, holds, and agreed price overrides. |
GET /v1/vendor/standing-orders | vendor.restaurants:read · key | Active recurring standing orders and next scheduled delivery dates. |
GET /v1/vendor/routes | vendor.orders:read · key | Delivery routes, weekdays, assigned drivers, and ordered restaurant stops. |
GET /v1/vendor/invoices | vendor.invoices:read · key | Tracked invoices synchronized with restaurants. Brigly tracks status only and moves no money. |
GET /v1/vendor/recalls | vendor.recalls:read · key | Batch/lot recall notices and per-restaurant acknowledgement timestamps. |
GET /v1/vendor/jobs | vendor.jobs:read · public | Open roles on the supplier careers board. |
POST /v1/vendor/applications | vendor.applications:write · public | Submit a job application directly into the supplier workspace. |
curl -X GET "https://impartial-toad-141.convex.site/v1/vendor/jobs?vendor=YOUR_VENDOR_ID"Supplier webhooks
Supplier webhooks manage registrations at /v1/vendor/webhooks (GET, POST, PATCH, DELETE, plus /ping, /deliveries, and /deliveries/:deliveryId/replay) and use the same constant-time HMAC-SHA256 X-Brigly-Signature header and 6-attempt transient retry schedule as restaurant webhooks.
curl -X POST "https://impartial-toad-141.convex.site/v1/vendor/webhooks" \
-H "Authorization: Bearer brigly_vendor_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://erp.example/hooks/brigly-vendor",
"events": [
"vendor.order.received",
"vendor.order.updated",
"vendor.catalog.updated"
]
}'| Event | When | Payload data |
|---|---|---|
vendor.profile.updated | Company details, delivery weekdays, cutoff, or logo updated. | vendorId, name, fields[] |
vendor.catalog.updated | Catalog item created/edited/removed, bulk import, price change, availability count, or seasonal note changed. | vendorId, action, sku, id |
vendor.order.received | A connected restaurant placed a new purchase order. | orderId, poNumber, restaurantId, restaurantName, deliveryDate, subtotal |
vendor.order.updated | Purchase order was acknowledged, declined, proposed, dispatched, delivered, or adjusted. | orderId, poNumber, restaurantId, status |
vendor.connection.requested | A restaurant requested to order from this supplier. | connectionId, restaurantId, restaurantName |
vendor.connection.updated | A connection was accepted, paused, ended, or agreed prices changed. | connectionId, restaurantId, status |
vendor.invoice.updated | A tracked invoice was created, issued, refreshed, approved, disputed, paid, or voided. | invoiceId, orderId, number, version, status, totalCents |
vendor.recall.sent | A lot/batch recall notice was sent to connected restaurants. | recallId, sku, name, lots[], restaurants |
Supplier website widgets
Embed a searchable wholesale catalog, company profile, seasonal notice banner, or careers board onto any site with brigly-vendor-embed.js (zero dependencies, credentials: "omit"). All catalog and pricing visibility follows your toggles in Supplier Settings → Developer & API.
<div id="brigly-vendor-profile" data-vendor="YOUR_VENDOR_ID" data-theme="light"></div>
<div id="brigly-vendor-news" data-vendor="YOUR_VENDOR_ID" data-theme="light"></div>
<div id="brigly-vendor-catalog" data-vendor="YOUR_VENDOR_ID" data-theme="light"></div>
<div id="brigly-vendor-jobs" data-vendor="YOUR_VENDOR_ID" data-theme="light"></div>
<script src="https://brigly.app/assets/js/brigly-vendor-embed.js" defer></script>| Element id | Reads from | Requires toggle |
|---|---|---|
#brigly-vendor-profile | GET /v1/vendor | Always available when API is enabled (contact opt-in) |
#brigly-vendor-news | GET /v1/vendor/news | publicNews |
#brigly-vendor-catalog | GET /v1/vendor/catalog | publicCatalog (and publicPrices for wholesale rates) |
#brigly-vendor-jobs | GET /v1/vendor/jobs | Careers board open |
AI agent skill & llms.txt
Building an integration with Claude Code, Antigravity, Cursor, or Codex? Download Brigly’s official API skill package or point your assistant at /llms.txt and /v1/skill.md so it gets restaurant and supplier auth, wholesale privacy rules, idempotency keys, and HMAC verification right on the first pass.
# Claude Code / Antigravity / Codex skill package
curl -L https://brigly.app/assets/docs/skill/brigly-api-skill.zip -o brigly-api-skill.zip
unzip brigly-api-skill.zip -d ~/.claude/skills/
# Single-file discovery & context endpoints
curl https://impartial-toad-141.convex.site/v1
curl https://brigly.app/llms.txt
curl https://impartial-toad-141.convex.site/v1/skill.mdErrors & status codes
Every error answers JSON with three fields: a human-readable error sentence safe to show to guests or staff, a stable machine code, and a matching requestId (also in X-Request-Id).
{
"error": "That booking does not exist.",
"code": "not_found",
"requestId": "req_7c1d9e4a2b80"
}| Status | Code(s) | Meaning |
|---|---|---|
200 / 201 | None | Request completed. Newly created bookings, requests, applications, catalog items, and webhooks answer 201. |
304 | None | Not Modified when If-None-Match matches ETag. Returned with no response body. |
400 | validation_error | Missing required field, invalid date/party, 86’d dish, or over-length Idempotency-Key. |
401 | invalid_key, revoked_key | Missing credentials, unknown key, revoked key, or endpoint requires a bearer key. |
403 | insufficient_scope, catalog_private, news_private, api_disabled, forbidden | Key lacks required scope, manage key does not match, supplier catalog sharing is private, or workspace paused the API. |
404 | not_found | No such workspace, dish, SKU, booking, order, or webhook. |
409 | conflict, idempotency_conflict | Booking/order state cannot transition, event terms version changed, or an Idempotency-Key was reused with a different JSON body. |
413 | payload_too_large | Request JSON body exceeds the 64 KiB limit. |
429 | rate_limited | Per-key, public visitor, or hourly workspace cap reached. Inspect Retry-After for wait seconds. |
OpenAPI description
Download the full OpenAPI 3.1 schema for SDK generation, Postman, or Insomnia: download brigly-openapi.json, or fetch GET /v1/openapi.json directly from any Brigly deployment to pre-fill its server URL. GET /v1 returns the live discovery manifest.
| Endpoint | What it does | Who can call it |
|---|---|---|
GET /v1 | API root discovery index | API key |
GET /v1/llms.txt | Concise LLM/agent API guide (text/plain) | API key |
GET /v1/skill.md | Installable AI Agent Skill definition (text/markdown) | API key |
GET /v1/restaurant | Public restaurant profile, address, hours, services and dining rules | API key or public token |
GET /v1/menu | The live menu with photos, 86 status, pairings, alternatives and allergen filtering | API key or public token |
GET /v1/menu/items | The menu as one flat list with allergen/search filtering | API key or public token |
GET /v1/menu/items/:id | Single dish details with photo, allergens, pairings and live availability | API key or public token |
PATCH /v1/menu/items/:id/limit | Set or clear remaining portions on a dish (menu:write bearer key) | API key |
GET /v1/menu/86 | What is sold out right now | API key or public token |
POST /v1/menu/86 | Mark a dish or ingredient 86’d (menu:write bearer key) | API key |
DELETE /v1/menu/86/:id | Restore an 86’d dish or ingredient back onto the menu (menu:write bearer key) | API key |
GET /v1/reservations/availability | Free time slots for a party | API key or public token |
GET /v1/reservations | List reservations across dates and statuses (reservations:read bearer key) | API key |
POST /v1/reservations | Book a table, optionally with the meal pre-ordered | API key or public token |
GET /v1/reservations/:id | Read a booking | API key or public token |
PATCH /v1/reservations/:id | Change a booking (time, party, note, pre-orders, or status with bearer key) | API key or public token |
DELETE /v1/reservations/:id | Cancel a booking | API key or public token |
GET /v1/waitlist/quote | Estimated walk-in wait time quote | API key or public token |
GET /v1/waitlist | List current waitlist parties (waitlist:read bearer key) | API key |
POST /v1/waitlist | Add a party to the waitlist (waitlist:write bearer key) | API key |
DELETE /v1/waitlist/:id | Remove a party from the waitlist (waitlist:write bearer key) | API key |
GET /v1/specials | Today’s specials, happy hours and events | API key or public token |
GET /v1/happy-hours | Happy hours from a day on | API key or public token |
GET /v1/events | Upcoming public events | API key or public token |
GET /v1/events/:id/reservations | List bookings for a specific event (reservations:read bearer key) | API key |
POST /v1/events/:id/reservations | Take places at an event | API key or public token |
GET /v1/events/reservations/:id | An event reservation | API key or public token |
DELETE /v1/events/reservations/:id | Cancel an event reservation | API key or public token |
GET /v1/catering | Catering and private dining the restaurant offers | API key or public token |
GET /v1/catering/requests | List catering and private-dining inquiries (reservations:read bearer key) | API key |
POST /v1/catering/requests | Send a catering or private dining request | API key or public token |
GET /v1/catering/requests/:id | Where a request stands | API key or public token |
DELETE /v1/catering/requests/:id | Withdraw a request | API key or public token |
GET /v1/memberships | The membership plans the restaurant offers | API key or public token |
GET /v1/memberships/requests | List membership join requests (reservations:read bearer key) | API key |
POST /v1/memberships/requests | Ask to join a membership plan | API key or public token |
GET /v1/memberships/requests/:id | Where a membership request stands | API key or public token |
DELETE /v1/memberships/requests/:id | Withdraw a membership request | API key or public token |
GET /v1/stock/items | List inventory items and par levels (stock:read bearer key) | API key |
GET /v1/stock/orders | List supplier purchase orders (stock:read bearer key) | API key |
GET /v1/schedule | Published staff shifts (schedule:read bearer key) | API key |
GET /v1/briefings | Approved service briefings (schedule:read bearer key) | API key |
GET /v1/feedback | List guest feedback (feedback:read bearer key) | API key |
POST /v1/feedback | Submit guest feedback (public token or feedback:write key) | API key or public token |
GET /v1/jobs | Open roles for a restaurant or supplier team | API key or public token |
GET /v1/applications | Submitted job applications (bearer API key only) | API key |
POST /v1/applications | Apply for an open role | API key or public token |
GET /v1/applications/:id | Check an application’s status or inspect an application | API key or public token |
DELETE /v1/applications/:id | Withdraw an active application | API key or public token |
GET /v1/webhooks | List webhooks | API key |
POST /v1/webhooks | Register a webhook | API key |
PATCH /v1/webhooks/:id | Update a webhook URL, subscribed events, or active state | API key |
DELETE /v1/webhooks/:id | Remove a webhook | API key |
POST /v1/webhooks/:id/ping | Send a signed test ping delivery to a webhook | API key |
GET /v1/webhooks/:id/deliveries | List delivery attempts for a webhook | API key |
POST /v1/webhooks/:id/deliveries/:deliveryId/replay | Replay a failed or stopped webhook delivery while retained | API key |
GET /v1/floor-plan | Published restaurant geometry and table availability | API key or public token |
PATCH /v1/floor-plan | Change a restaurant layout through its shared reducer | API key |
GET /v1/vendor | Supplier profile, delivery schedule, cutoff rules and privacy flags | API key or public token |
GET /v1/vendor/catalog | Supplier product catalog (public opt-in or bearer key) | API key or public token |
POST /v1/vendor/catalog | Create a catalog product (vendor.catalog:write bearer key) | API key |
PUT /v1/vendor/catalog/availability | Set daily stock counts for today or tomorrow (vendor.catalog:write bearer key) | API key |
GET /v1/vendor/catalog/:id | Single supplier catalog product by id or SKU | API key or public token |
PATCH /v1/vendor/catalog/:id | Update a catalog product (vendor.catalog:write bearer key) | API key |
DELETE /v1/vendor/catalog/:id | Delete a catalog product (vendor.catalog:write bearer key) | API key |
GET /v1/vendor/news | Supplier seasonal announcement note | API key or public token |
PUT /v1/vendor/news | Update the announcement sent to restaurants and websites (vendor.catalog:write bearer key) | API key |
GET /v1/vendor/orders | List incoming restaurant purchase orders (vendor.orders:read bearer key) | API key |
GET /v1/vendor/orders/:id | Single purchase order details with customer card (vendor.orders:read bearer key) | API key |
PATCH /v1/vendor/orders/:id | Acknowledge, decline, or advance order fulfillment status (vendor.orders:write bearer key) | API key |
GET /v1/vendor/pick-list | Aggregated warehouse pick list for a delivery date (vendor.orders:read bearer key) | API key |
GET /v1/vendor/restaurants | Connected restaurants, terms, credit holds and price overrides (vendor.restaurants:read bearer key) | API key |
GET /v1/vendor/standing-orders | Recurring standing orders from connected restaurants (vendor.restaurants:read bearer key) | API key |
GET /v1/vendor/routes | Delivery routes, weekdays, drivers and stop sequences (vendor.orders:read bearer key) | API key |
GET /v1/vendor/invoices | Tracked invoices with version and payment status (vendor.invoices:read bearer key) | API key |
GET /v1/vendor/recalls | Sent batch recalls and restaurant acknowledgement status (vendor.recalls:read bearer key) | API key |
GET /v1/vendor/jobs | Open roles on the supplier’s team | API key or public token |
POST /v1/vendor/applications | Submit a job application to a supplier team | API key or public token |
GET /v1/vendor/webhooks | List supplier webhooks (vendor.webhooks:manage bearer key) | API key |
POST /v1/vendor/webhooks | Register a signed supplier webhook (vendor.webhooks:manage bearer key) | API key |
PATCH /v1/vendor/webhooks/:id | Update a supplier webhook | API key |
DELETE /v1/vendor/webhooks/:id | Delete a supplier webhook | API key |
POST /v1/vendor/webhooks/:id/ping | Send a test ping to a supplier webhook | API key |
GET /v1/vendor/webhooks/:id/deliveries | List delivery attempts for a supplier webhook | API key |
POST /v1/vendor/webhooks/:id/deliveries/:deliveryId/replay | Replay a failed or stopped supplier webhook delivery | API key |
Connect a restaurant.
If you manage the restaurant, open Developer tools from the account switcher in Brigly. If you’re building for a client, ask its manager for a developer invitation: you sign in with the invited email and make keys and webhooks within the scopes they set.
Live keys and webhooks are free on every plan, Brigly Free included. No restaurant yet? Start a restaurant trial.