Tavern Finder Users API

The Users API from Tavern Finder — 2 operation(s) for users.

GitHub OpenAPI

Operations 3

GET /users/me/tokens List the user's personal access tokens #
POST /users/me/tokens Mint a new personal access token #
DELETE /users/me/tokens/{id} Revoke a personal access token #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tavernfinder-com:tavernfinder-com-users-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tavernfinder-com-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tavern Finder Users API
  description: Public API for discovering tabletop gaming events and venues, plus authenticated routes for RSVP'ing, creating events, and managing personal access tokens. AI agents are encouraged to use this directly or via the MCP server at https://mcp.tavernfinder.com/mcp.
  version: 1.1.0
servers:
- url: https://tavernfinder.com/api/v1
  description: Production
tags:
- name: Users
paths:
  /users/me/tokens:
    get:
      summary: List the user's personal access tokens
      description: JWT only — PATs cannot list/manage other PATs (anti-pivot).
      security:
      - BearerAuth: []
      responses:
        '200':
          description: List of tokens
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/AccessToken'
        '403':
          description: Called with a PAT instead of a JWT
      tags:
      - Users
      operationId: getUsersMeTokens
      x-operation-id-source: derived
    post:
      summary: Mint a new personal access token
      description: JWT only. Returns the plaintext token **once** — it is not recoverable.
      security:
      - BearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              properties:
                name:
                  type: string
                  maxLength: 80
                  description: Human label, e.g. 'Claude Desktop on my laptop'
                scopes:
                  type: array
                  items:
                    type: string
                    enum:
                    - read:events
                    - read:venues
                    - read:games
                    - write:rsvp
                    - write:create_event
                    - write:profile
      responses:
        '200':
          description: Token created
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  name:
                    type: string
                  scopes:
                    type: array
                    items:
                      type: string
                  createdAt:
                    type: string
                    format: date-time
                  plaintext:
                    type: string
                    description: The opaque token string (`tf_pat_...`). Shown once.
      tags:
      - Users
      operationId: postUsersMeTokens
      x-operation-id-source: derived
  /users/me/tokens/{id}:
    delete:
      summary: Revoke a personal access token
      description: JWT only. Soft-revoke (sets revoked_at). Subsequent calls with the token fail with 401.
      security:
      - BearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Revoked
        '404':
          description: Token not found or owned by another user
      tags:
      - Users
      operationId: deleteUsersMeTokensById
      x-operation-id-source: derived
components:
  schemas:
    AccessToken:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
          maxLength: 80
        scopes:
          type: array
          items:
            type: string
            enum:
            - read:events
            - read:venues
            - read:games
            - write:rsvp
            - write:create_event
            - write:profile
        lastUsedAt:
          type:
          - string
          - 'null'
          format: date-time
        createdAt:
          type: string
          format: date-time
        revokedAt:
          type:
          - string
          - 'null'
          format: date-time
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Either a short-lived JWT access token (issued by /auth/login) for interactive users, or an opaque personal access token of the form `tf_pat_<32 hex>` minted at https://tavernfinder.com/profile/tokens. Write endpoints check the PAT's scopes (`write:rsvp`, `write:create_event`, `write:profile`); JWT requests have all scopes implicitly.