Guild and Grog

Developers

The Guild and Grog API

A small, versioned JSON API for the things shops and partners ask for: show upcoming events and listings on your own site, keep events in sync with your other tools, and pull your own members into your systems. Every request needs a scoped key, and a shop key only ever sees its own shop.

Quick start

Base URL: https://guildandgrog.app/api/v1. Responses are JSON, UTF-8.

export GG_API_KEY="gg_live_…"   # keep it in your server's environment

curl "https://guildandgrog.app/api/v1/events?shop=dragons-den&limit=5" \
  -H "Authorization: Bearer $GG_API_KEY"
{
  "data": [ { "id": "…", "title": "Friday Night Magic: Draft", "starts_at": "2026-12-05T01:00:00.000Z", … } ],
  "meta": { "request_id": "req_…", "next_cursor": "eyJz…" }
}

Getting a key

Shops

Shop owners on Pro and up: open your admin, Settings → API keys, choose a name and the scopes you need, and copy the key. It is shown once.

Vorn staff

Owners and admins create platform keys under Platform → API keys, for Vorn's own sites and tools.

Keys look like gg_live_<key id>_<secret>. We store only the key id and a SHA-256 hash of the secret, so we can never show a key again: if you lose one, rotate it. Keys expire (1 year by default, at most 2). gg_test_ is reserved for a future sandbox.

Authentication

Send the key in the Authorization header on every request. Cookies are ignored: the API never uses a signed-in session, and which shop you act for comes only from the key (never from the host name or a parameter).

Authorization: Bearer gg_live_4f9c2a1b7d3e8f60_…

Check what a key can do with GET /api/v1/me.

Scopes

ScopeKeysGives
public:readplatform, shopShops' public listings and published events (the same data anyone sees on the site). Browser use allowed with listed origins.
hub:readplatform, shopUpcoming game releases and card search, with source attribution. Browser use allowed with listed origins.
leads:readplatformVorn staff only: game-store leads from OpenStreetMap (ODbL) with outreach status.
shop:readshopYour shop profile, all your events (drafts included), ticket types and posts.
events:writeshopCreate, update and cancel your shop's events. Cancelling refunds tickets, as in the admin.
members:readshopYour member list with the fields you already see in your admin; emails only for members with email on. Every call is recorded in your audit log.
analytics:readshopAggregate counts only (members, events, tickets, check-ins). No personal data.

Rate limits

Each key has a limit per UTC minute (120 by default; shops can set up to 300). It is counted exactly in our database, across all our servers. Every response says where you stand; over the limit you get a 429 with Retry-After (seconds).

X-RateLimit-Limit: 120
X-RateLimit-Remaining: 117
X-RateLimit-Reset: 1795107660   # Unix time the window resets
Retry-After: 23                # only on 429

Errors

Errors use the HTTP status and a stable code. Messages are for humans and may change; branch on the code. Never a stack trace. Every response has an X-Request-Id: quote it if you contact us.

HTTP/1.1 403 Forbidden
{
  "error": {
    "code": "insufficient_scope",
    "message": "This API key needs the members:read scope.",
    "request_id": "req_5f0c9a1b2c3d4e5f6a7b8c9d",
    "details": { "required_scope": "members:read" }
  }
}
StatusCodeMeaning
400bad_requestA parameter is missing or malformed.
400invalid_cursorThe cursor isn't one we issued for this endpoint.
401missing_api_keyNo Authorization: Bearer header.
401invalid_api_keyThe key doesn't exist or the secret is wrong.
401key_revokedThe key was revoked.
401key_expiredThe key passed its expiry date.
402plan_requiredThe shop's plan no longer includes the API.
403insufficient_scopeThe key lacks the scope this endpoint needs (see details.required_scope).
403wrong_key_typeA shop key on a platform endpoint, or the other way round.
403ip_not_allowedThe request came from outside the key's IP allowlist.
403origin_not_allowedA browser request from an origin the key doesn't list.
403shop_suspendedThe shop is suspended.
404not_foundNo such resource (or not yours).
405method_not_allowedThat HTTP method isn't supported here.
409conflictThe resource's state doesn't allow the change.
409idempotency_in_progressA request with the same Idempotency-Key is still running.
415unsupported_media_typeSend Content-Type: application/json.
422validation_failedFields failed validation; see details.
422idempotency_key_reusedThat Idempotency-Key was used with a different body.
429rate_limitedOver the key's per-minute limit; wait Retry-After seconds.
500internal_errorOur fault. Retry with backoff and quote the request_id.

Pagination

Lists take limit (1-100, default 25) and return meta.next_cursor. Pass it back as cursor with the same filters until it is null. Cursors are opaque; don't build or edit them. Times are ISO 8601 in UTC (render them in the shop's timezone); money is integer cents.

curl "https://guildandgrog.app/api/v1/events?limit=100&cursor=eyJzIjoi…" -H "Authorization: Bearer $GG_API_KEY"

Idempotency

POST and PATCH accept an Idempotency-Key header (a UUID is ideal). We keep the result for 24 hours: a retry with the same key and body gets the same answer (with Idempotent-Replayed: true) instead of creating a second event. The same key with a different body is a 422; a retry while the first request is still running is a 409.

Versioning and deprecation

Security practices

  • Keep keys on your server, in environment variables or a secret manager. Never put a key in a web page, mobile app, or a code repository.
  • One key per integration, with only the scopes it needs. Add an IP allowlist (IPv4/IPv6 CIDR) when your server has fixed addresses.
  • Browser use is possible only for keys with public scopes only, and only from the origins you list. Requests from other origins are refused.
  • Rotate keys at least yearly and whenever someone with access leaves: rotating issues a new key and keeps the old one working for a grace period you choose. Revoke a leaked key at once.
  • Watch each key's usage (requests, errors, 429s) on the key page. Creating, rotating and revoking keys, and every member-list or lead request, are written to the audit log.
  • Members' contact details belong to your shop's relationship with them: honour their email/SMS choices and your privacy obligations.
  • Found a vulnerability? Email support@vornbuilt.com.

Endpoints

Your key

GET/api/v1/me

The key you are using

Who the key belongs to, its scopes, limits and expiry. Works with any valid key.

Any key
Example request and response
curl "https://guildandgrog.app/api/v1/me" \
  -H "Authorization: Bearer $GG_API_KEY"
{
  "data": {
    "key_id": "gg_live_4f9c2a1b7d3e8f60",
    "name": "Website events feed",
    "owner": {
      "type": "shop",
      "shop": {
        "slug": "dragons-den",
        "name": "Dragon's Den Games"
      }
    },
    "scopes": [
      "shop:read",
      "public:read"
    ],
    "rate_limit_per_minute": 120,
    "created_at": "2026-11-20T17:00:00.000Z",
    "expires_at": "2027-11-20T17:00:00.000Z"
  },
  "meta": {
    "request_id": "req_5f0c9a1b2c3d4e5f6a7b8c9d"
  }
}

Public listings and events

GET/api/v1/shops

Search shop listings

Active shops' public listings. Filter by text (name, city or postal code), game, or distance. With near, results are the nearest shops first in a single page; otherwise ordered by slug with cursor pagination.

Scope public:readPaginatedBrowser OK
q
Name, city or postal code.
game
Game slug from the hobby taxonomy, e.g. magic-the-gathering.
near
lat,lng to search around (rounded coordinates are fine).
radius_km
Search radius with near, 1-500 km (default 40).
limit
Page size, 1-100 (default 25).
cursor
next_cursor from the previous page.
Example request and response
curl "https://guildandgrog.app/api/v1/shops?q=denver&game=magic-the-gathering" \
  -H "Authorization: Bearer $GG_API_KEY"
{
  "data": [
    {
      "id": "8f1c2a4e-1b7d-4f3a-9c55-2b8e4d6a1f00",
      "slug": "dragons-den",
      "name": "Dragon's Den Games",
      "url": "https://dragons-den.guildandgrog.app/",
      "listing_url": "https://guildandgrog.app/shops/dragons-den",
      "address": {
        "line1": "1550 Larimer St",
        "city": "Denver",
        "region": "CO",
        "postal_code": "80202",
        "country": "US"
      },
      "phone": "+1 303 555 0100",
      "website": "https://dragonsden.example",
      "location": {
        "lat": 39.7486,
        "lng": -104.9997
      },
      "timezone": "America/Denver",
      "claimed": true,
      "verified_hobby_store": true
    }
  ],
  "meta": {
    "request_id": "req_5f0c9a1b2c3d4e5f6a7b8c9d",
    "next_cursor": null
  }
}
GET/api/v1/shops/{slug}

One shop listing

A shop's public listing with description, opening hours and the games it plays.

Scope public:readBrowser OK
slug *
The shop's slug.
Example request and response
curl "https://guildandgrog.app/api/v1/shops/dragons-den" \
  -H "Authorization: Bearer $GG_API_KEY"
{
  "data": {
    "id": "8f1c2a4e-1b7d-4f3a-9c55-2b8e4d6a1f00",
    "slug": "dragons-den",
    "name": "Dragon's Den Games",
    "url": "https://dragons-den.guildandgrog.app/",
    "listing_url": "https://guildandgrog.app/shops/dragons-den",
    "address": {
      "line1": "1550 Larimer St",
      "city": "Denver",
      "region": "CO",
      "postal_code": "80202",
      "country": "US"
    },
    "phone": "+1 303 555 0100",
    "website": "https://dragonsden.example",
    "location": {
      "lat": 39.7486,
      "lng": -104.9997
    },
    "timezone": "America/Denver",
    "claimed": true,
    "verified_hobby_store": true,
    "description": "Board games, Magic and Warhammer in LoDo.",
    "hours": {
      "mon": "12:00-22:00"
    },
    "games": [
      {
        "slug": "magic-the-gathering",
        "name": "Magic: The Gathering"
      }
    ]
  },
  "meta": {
    "request_id": "req_5f0c9a1b2c3d4e5f6a7b8c9d"
  }
}
GET/api/v1/events

Upcoming public events

Published events at active shops, soonest first. Defaults to the next 30 days; from/to can span up to 366 days.

Scope public:readPaginatedBrowser OK
shop
Only this shop (slug).
game
Game slug from the hobby taxonomy, e.g. magic-the-gathering.
near
lat,lng to search around (rounded coordinates are fine).
radius_km
Search radius with near, 1-500 km (default 40).
from
Start of the window (default now).
to
End of the window (default from + 30 days).
limit
Page size, 1-100 (default 25).
cursor
next_cursor from the previous page.
Example request and response
curl "https://guildandgrog.app/api/v1/events?shop=dragons-den&game=magic-the-gathering" \
  -H "Authorization: Bearer $GG_API_KEY"
{
  "data": [
    {
      "id": "3d5a7c9e-2f4b-4d6a-8c1e-5f7a9b2c4d6e",
      "title": "Friday Night Magic: Draft",
      "description": "Three rounds of Swiss. Prizes in store credit.",
      "status": "published",
      "starts_at": "2026-12-05T01:00:00.000Z",
      "ends_at": "2026-12-05T05:00:00.000Z",
      "capacity": 32,
      "games": [
        "magic-the-gathering"
      ],
      "ticket_types": [
        {
          "id": "0c6f5c1e-3c51-4e0b-8a7e-7d1f0a2b9c31",
          "name": "Entry",
          "price_cents": 1500,
          "quantity": 32,
          "sales_start": null,
          "sales_end": "2026-12-05T01:00:00.000Z"
        }
      ],
      "shop": {
        "slug": "dragons-den",
        "name": "Dragon's Den Games",
        "timezone": "America/Denver"
      },
      "url": "https://dragons-den.guildandgrog.app/events/3d5a7c9e-2f4b-4d6a-8c1e-5f7a9b2c4d6e"
    }
  ],
  "meta": {
    "request_id": "req_5f0c9a1b2c3d4e5f6a7b8c9d",
    "next_cursor": "eyJzIjoiMjAyNi0xMi0wNVQwMTowMDowMC4wMDBaIiwiaSI6IjNkNWE3YzllLTJmNGItNGQ2YS04YzFlLTVmN2E5YjJjNGQ2ZSJ9",
    "from": "2026-12-01T00:00:00.000Z",
    "to": "2026-12-31T00:00:00.000Z"
  }
}

Community Hub

GET/api/v1/hub/releases

Upcoming game releases

Set releases, pre-order and prerelease dates from the Community Hub calendar, soonest first.

Scope hub:readPaginatedBrowser OK
from
First release date (default today).
to
Last release date.
game
Game slug from the hobby taxonomy, e.g. magic-the-gathering.
limit
Page size, 1-100 (default 25).
cursor
next_cursor from the previous page.
Example request and response
curl "https://guildandgrog.app/api/v1/hub/releases?from=2026-12-01&game=magic-the-gathering" \
  -H "Authorization: Bearer $GG_API_KEY"
{
  "data": [
    {
      "id": "6a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
      "name": "Example Set",
      "release_date": "2027-01-23",
      "kind": "set",
      "game": {
        "slug": "magic-the-gathering",
        "name": "Magic: The Gathering"
      },
      "source_url": "https://magic.wizards.com/",
      "image_url": null,
      "notes": null,
      "updated_at": "2026-11-18T10:00:00.000Z"
    }
  ],
  "meta": {
    "request_id": "req_5f0c9a1b2c3d4e5f6a7b8c9d",
    "next_cursor": null
  }
}
GET/api/v1/hub/cards

Search cards

Card search across the Community Hub's card data (Magic from Scryfall, Pokémon from TCGdex). Every card carries its attribution block; show it wherever you show the card. Card data is free and never paywalled.

Scope hub:readPaginatedBrowser OK
q *
Card name (at least 2 characters).
game
mtg or pokemon.
set
Set code.
limit
Page size, 1-100 (default 25).
cursor
next_cursor from the previous page.
Example request and response
curl "https://guildandgrog.app/api/v1/hub/cards?q=lightning%20bolt&game=mtg" \
  -H "Authorization: Bearer $GG_API_KEY"
{
  "data": [
    {
      "game": "mtg",
      "id": "e3285e6b-3e79-4d7c-bf96-d920f973b80f",
      "name": "Lightning Bolt",
      "set": {
        "code": "m11",
        "name": "Magic 2011"
      },
      "collector_number": "149",
      "type_line": "Instant",
      "mana_cost": "{R}",
      "text": "Lightning Bolt deals 3 damage to any target.",
      "colors": [
        "R"
      ],
      "rarity": "common",
      "images": {
        "small": "https://cards.scryfall.io/small/front/e/3/e3285e6b.jpg",
        "normal": "https://cards.scryfall.io/normal/front/e/3/e3285e6b.jpg"
      },
      "artist": "Christopher Moeller",
      "legal_formats": [
        "modern",
        "legacy",
        "vintage"
      ],
      "released_at": "2010-07-16",
      "price_usd_cents": 125,
      "price_updated_at": "2026-11-18T04:13:00.000Z",
      "url": "https://guildandgrog.app/hub/cards/mtg/e3285e6b-3e79-4d7c-bf96-d920f973b80f",
      "attribution": {
        "source": "Scryfall",
        "source_url": "https://scryfall.com",
        "source_card_url": "https://scryfall.com/card/m11/149/lightning-bolt",
        "licence": null,
        "notice": "Unofficial Fan Content permitted under the Fan Content Policy. Not approved/endorsed by Wizards."
      }
    }
  ],
  "meta": {
    "request_id": "req_5f0c9a1b2c3d4e5f6a7b8c9d",
    "next_cursor": null
  }
}

Your shop (shop keys)

GET/api/v1/shop

Your shop

The profile of the shop that owns the key.

Scope shop:readshop keys
Example request and response
curl "https://guildandgrog.app/api/v1/shop" \
  -H "Authorization: Bearer $GG_API_KEY"
{
  "data": {
    "id": "8f1c2a4e-1b7d-4f3a-9c55-2b8e4d6a1f00",
    "slug": "dragons-den",
    "name": "Dragon's Den Games",
    "url": "https://dragons-den.guildandgrog.app/",
    "listing_url": "https://guildandgrog.app/shops/dragons-den",
    "address": {
      "line1": "1550 Larimer St",
      "city": "Denver",
      "region": "CO",
      "postal_code": "80202",
      "country": "US"
    },
    "phone": "+1 303 555 0100",
    "website": "https://dragonsden.example",
    "location": {
      "lat": 39.7486,
      "lng": -104.9997
    },
    "timezone": "America/Denver",
    "claimed": true,
    "verified_hobby_store": true,
    "description": "Board games, Magic and Warhammer in LoDo.",
    "hours": {
      "mon": "12:00-22:00"
    },
    "email": "hello@dragonsden.example",
    "status": "active",
    "created_at": "2026-02-01T12:00:00.000Z"
  },
  "meta": {
    "request_id": "req_5f0c9a1b2c3d4e5f6a7b8c9d"
  }
}
GET/api/v1/shop/events

Your events

All of your shop's events, drafts and cancelled ones included, with ticket types (prices in cents).

Scope shop:readshop keysPaginated
status
draft, published, cancelled or completed.
from
Events starting at or after.
to
Events starting before.
limit
Page size, 1-100 (default 25).
cursor
next_cursor from the previous page.
Example request and response
curl "https://guildandgrog.app/api/v1/shop/events" \
  -H "Authorization: Bearer $GG_API_KEY"
{
  "data": [
    {
      "id": "3d5a7c9e-2f4b-4d6a-8c1e-5f7a9b2c4d6e",
      "title": "Friday Night Magic: Draft",
      "description": "Three rounds of Swiss. Prizes in store credit.",
      "status": "published",
      "starts_at": "2026-12-05T01:00:00.000Z",
      "ends_at": "2026-12-05T05:00:00.000Z",
      "capacity": 32,
      "games": [
        "magic-the-gathering"
      ],
      "ticket_types": [
        {
          "id": "0c6f5c1e-3c51-4e0b-8a7e-7d1f0a2b9c31",
          "name": "Entry",
          "price_cents": 1500,
          "quantity": 32,
          "sales_start": null,
          "sales_end": "2026-12-05T01:00:00.000Z"
        }
      ],
      "shop": {
        "slug": "dragons-den",
        "name": "Dragon's Den Games",
        "timezone": "America/Denver"
      },
      "url": "https://dragons-den.guildandgrog.app/events/3d5a7c9e-2f4b-4d6a-8c1e-5f7a9b2c4d6e",
      "venue_notes": "Back room.",
      "recurring": false,
      "series_id": null,
      "created_at": "2026-11-20T17:02:11.000Z",
      "updated_at": "2026-11-20T17:02:11.000Z"
    }
  ],
  "meta": {
    "request_id": "req_5f0c9a1b2c3d4e5f6a7b8c9d",
    "next_cursor": null
  }
}
POST/api/v1/shop/events

Create an event

Creates a one-off event (draft by default). Add ticket types and recurring series in your admin. Send an Idempotency-Key header so a retried request can't create the event twice.

Scope events:writeshop keysIdempotency-KeyAudited
Example request and response
curl -X POST "https://guildandgrog.app/api/v1/shop/events" \
  -H "Authorization: Bearer $GG_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"title":"Commander Night","starts_at":"2026-12-10T18:00:00-07:00","ends_at":"2026-12-10T22:00:00-07:00","capacity":24,"games":["magic-the-gathering"],"status":"published"}'
{
  "data": {
    "id": "3d5a7c9e-2f4b-4d6a-8c1e-5f7a9b2c4d6e",
    "title": "Commander Night",
    "description": "Three rounds of Swiss. Prizes in store credit.",
    "status": "published",
    "starts_at": "2026-12-05T01:00:00.000Z",
    "ends_at": "2026-12-05T05:00:00.000Z",
    "capacity": 32,
    "games": [
      "magic-the-gathering"
    ],
    "ticket_types": [],
    "shop": {
      "slug": "dragons-den",
      "name": "Dragon's Den Games",
      "timezone": "America/Denver"
    },
    "url": "https://dragons-den.guildandgrog.app/events/3d5a7c9e-2f4b-4d6a-8c1e-5f7a9b2c4d6e",
    "venue_notes": "Back room.",
    "recurring": false,
    "series_id": null,
    "created_at": "2026-11-20T17:02:11.000Z",
    "updated_at": "2026-11-20T17:02:11.000Z"
  },
  "meta": {
    "request_id": "req_5f0c9a1b2c3d4e5f6a7b8c9d"
  }
}
GET/api/v1/shop/events/{id}

One of your events

One event of your shop, any status.

Scope shop:readshop keys
id *
Event id.
Example request and response
curl "https://guildandgrog.app/api/v1/shop/events/3d5a7c9e-2f4b-4d6a-8c1e-5f7a9b2c4d6e" \
  -H "Authorization: Bearer $GG_API_KEY"
{
  "data": {
    "id": "3d5a7c9e-2f4b-4d6a-8c1e-5f7a9b2c4d6e",
    "title": "Friday Night Magic: Draft",
    "description": "Three rounds of Swiss. Prizes in store credit.",
    "status": "published",
    "starts_at": "2026-12-05T01:00:00.000Z",
    "ends_at": "2026-12-05T05:00:00.000Z",
    "capacity": 32,
    "games": [
      "magic-the-gathering"
    ],
    "ticket_types": [
      {
        "id": "0c6f5c1e-3c51-4e0b-8a7e-7d1f0a2b9c31",
        "name": "Entry",
        "price_cents": 1500,
        "quantity": 32,
        "sales_start": null,
        "sales_end": "2026-12-05T01:00:00.000Z"
      }
    ],
    "shop": {
      "slug": "dragons-den",
      "name": "Dragon's Den Games",
      "timezone": "America/Denver"
    },
    "url": "https://dragons-den.guildandgrog.app/events/3d5a7c9e-2f4b-4d6a-8c1e-5f7a9b2c4d6e",
    "venue_notes": "Back room.",
    "recurring": false,
    "series_id": null,
    "created_at": "2026-11-20T17:02:11.000Z",
    "updated_at": "2026-11-20T17:02:11.000Z"
  },
  "meta": {
    "request_id": "req_5f0c9a1b2c3d4e5f6a7b8c9d"
  }
}
PATCH/api/v1/shop/events/{id}

Update or cancel an event

Changes only the fields you send. "status": "cancelled" cancels the event exactly like the admin does: attendees are told, RSVPs are cancelled and paid tickets are refunded. Recurring series rules are edited in the admin (409). Supports Idempotency-Key.

Scope events:writeshop keysIdempotency-KeyAudited
id *
Event id.
Example request and response
curl -X PATCH "https://guildandgrog.app/api/v1/shop/events/3d5a7c9e-2f4b-4d6a-8c1e-5f7a9b2c4d6e" \
  -H "Authorization: Bearer $GG_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"capacity":40,"status":"published"}'
{
  "data": {
    "id": "3d5a7c9e-2f4b-4d6a-8c1e-5f7a9b2c4d6e",
    "title": "Friday Night Magic: Draft",
    "description": "Three rounds of Swiss. Prizes in store credit.",
    "status": "published",
    "starts_at": "2026-12-05T01:00:00.000Z",
    "ends_at": "2026-12-05T05:00:00.000Z",
    "capacity": 40,
    "games": [
      "magic-the-gathering"
    ],
    "ticket_types": [
      {
        "id": "0c6f5c1e-3c51-4e0b-8a7e-7d1f0a2b9c31",
        "name": "Entry",
        "price_cents": 1500,
        "quantity": 32,
        "sales_start": null,
        "sales_end": "2026-12-05T01:00:00.000Z"
      }
    ],
    "shop": {
      "slug": "dragons-den",
      "name": "Dragon's Den Games",
      "timezone": "America/Denver"
    },
    "url": "https://dragons-den.guildandgrog.app/events/3d5a7c9e-2f4b-4d6a-8c1e-5f7a9b2c4d6e",
    "venue_notes": "Back room.",
    "recurring": false,
    "series_id": null,
    "created_at": "2026-11-20T17:02:11.000Z",
    "updated_at": "2026-11-20T17:02:11.000Z"
  },
  "meta": {
    "request_id": "req_5f0c9a1b2c3d4e5f6a7b8c9d"
  }
}
GET/api/v1/shop/posts

Your posts

Your shop's Community Hub posts, drafts included, oldest first.

Scope shop:readshop keysPaginated
limit
Page size, 1-100 (default 25).
cursor
next_cursor from the previous page.
Example request and response
curl "https://guildandgrog.app/api/v1/shop/posts" \
  -H "Authorization: Bearer $GG_API_KEY"
{
  "data": [
    {
      "id": "9b8a7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
      "kind": "announcement",
      "title": "Prerelease weekend",
      "body": "Pods start at noon.",
      "image_url": null,
      "games": [
        "magic-the-gathering"
      ],
      "event_id": null,
      "status": "published",
      "pinned": false,
      "published_at": "2026-11-15T16:00:00.000Z",
      "created_at": "2026-11-15T15:40:00.000Z",
      "updated_at": "2026-11-15T16:00:00.000Z"
    }
  ],
  "meta": {
    "request_id": "req_5f0c9a1b2c3d4e5f6a7b8c9d",
    "next_cursor": null
  }
}
GET/api/v1/shop/members

Your members

Your shop's members with the fields you already see in your admin. Email is included only for members who have your emails switched on (email_opt_in); no phone numbers, birthdays or activity at other shops. Every call is written to your audit log. Members' contact details belong to your relationship with them: honour their opt-ins and your privacy obligations.

Scope members:readshop keysPaginatedAudited
email_opt_in
Only members with emails on (true) or off (false).
limit
Page size, 1-100 (default 25).
cursor
next_cursor from the previous page.
Example request and response
curl "https://guildandgrog.app/api/v1/shop/members" \
  -H "Authorization: Bearer $GG_API_KEY"
{
  "data": [
    {
      "id": "2c4e6a8b-0d1f-4a3c-9e5b-7d9f1b3d5f7a",
      "name": "Rowan Ashby",
      "email": "rowan@example.com",
      "email_opt_in": true,
      "sms_opt_in": false,
      "points_balance": 340,
      "source": "qr",
      "joined_at": "2026-03-14T19:22:05.000Z",
      "last_visit_at": "2026-11-14T02:10:44.000Z"
    }
  ],
  "meta": {
    "request_id": "req_5f0c9a1b2c3d4e5f6a7b8c9d",
    "next_cursor": null
  }
}
GET/api/v1/shop/stats

Your stats

Aggregate counts for your shop. No personal data.

Scope analytics:readshop keys
Example request and response
curl "https://guildandgrog.app/api/v1/shop/stats" \
  -H "Authorization: Bearer $GG_API_KEY"
{
  "data": {
    "as_of": "2026-11-20T17:00:00.000Z",
    "members_total": 412,
    "members_email_opt_in": 380,
    "members_sms_opt_in": 96,
    "members_joined_30d": 27,
    "events_upcoming": 9,
    "events_held_30d": 14,
    "tickets_issued_30d": 233,
    "checkins_30d": 198
  },
  "meta": {
    "request_id": "req_5f0c9a1b2c3d4e5f6a7b8c9d"
  }
}

Platform (Vorn staff keys)

GET/api/v1/platform/leads

Lead finder (Vorn staff)

Game-store leads from OpenStreetMap with outreach status. Platform keys with leads:read only. Data © OpenStreetMap contributors, available under the ODbL: keep the attribution in meta with anything you build from it. Every call is audited.

Scope leads:readplatform keysPaginatedAudited
country
US or CA.
region
ISO 3166-2 region, e.g. US-CO.
status
new, contacted, replied, demo, won, lost or not_a_fit.
updated_since
Only leads changed since.
limit
Page size, 1-100 (default 25).
cursor
next_cursor from the previous page.
Example request and response
curl "https://guildandgrog.app/api/v1/platform/leads?region=US-CO" \
  -H "Authorization: Bearer $GG_API_KEY"
{
  "data": [
    {
      "id": "14100000-0000-0000-0000-000000000002",
      "osm_type": "way",
      "osm_id": 2002,
      "osm_url": "https://www.openstreetmap.org/way/2002",
      "region_iso": "US-CO",
      "country": "US",
      "name": "Mana Leak Cards",
      "address_line1": null,
      "city": "Boulder",
      "region": "CO",
      "postal_code": null,
      "lat": 40.015,
      "lng": -105.2705,
      "website": null,
      "phone": "+1 720 555 0101",
      "email": null,
      "socials": {},
      "games_guess": [
        "trading_cards",
        "magic"
      ],
      "matched_shop_id": null,
      "status": "new",
      "last_contacted_at": null,
      "osm_seen_at": "2026-11-18T07:41:00.000Z",
      "created_at": "2026-11-12T07:41:00.000Z",
      "updated_at": "2026-11-18T07:41:00.000Z"
    }
  ],
  "meta": {
    "request_id": "req_5f0c9a1b2c3d4e5f6a7b8c9d",
    "next_cursor": null,
    "attribution": {
      "text": "© OpenStreetMap contributors",
      "licence": "ODbL 1.0"
    }
  }
}

Meta

GET/api/v1/openapi.json

OpenAPI document

This API's OpenAPI 3.1 description. No key needed.

No key needed
Example request and response
curl "https://guildandgrog.app/api/v1/openapi.json"
{
  "openapi": "3.1.0",
  "info": {
    "title": "Guild and Grog API",
    "version": "1.0.0"
  }
}

Data and attribution terms

Changelog

Questions? support@vornbuilt.com