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.
openapi: 3.2.0
info:
title: Tavern Finder Auth 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: Auth
paths:
/auth/register:
post:
summary: Register a new user
description: Public. Returns access + refresh tokens. The new account is unverified until the user clicks the email verification link.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- email
- password
- name
- lastName
- tosAccepted
properties:
email:
type: string
format: email
password:
type: string
minLength: 8
name:
type: string
lastName:
type: string
tosAccepted:
type: boolean
description: Must be true; user agrees to https://tavernfinder.com/terms
locale:
type: string
enum:
- pt
- en
- es
responses:
'200':
description: Created with access + refresh tokens
'409':
description: Email already registered
tags:
- Auth
operationId: postAuthRegister
x-operation-id-source: derived
/auth/login:
post:
summary: Log in
description: Public. Returns access + refresh tokens.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- email
- password
properties:
email:
type: string
format: email
password:
type: string
responses:
'200':
description: Credentials accepted
'401':
description: Invalid credentials
tags:
- Auth
operationId: postAuthLogin
x-operation-id-source: derived
components:
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.