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: TableJourney agent Partners API
description: 'Food travel data for AI agents: editorially verified places with provenance, festivals with resolved dates, bookable experiences, stays and car hire. Every booking link is a https://tablejourney.com/go/ link that carries your key''s attribution. Public: no key needed. An optional X-API-Key gives your agent its own attribution tag and rate limit (support@tablejourney.com). Also available as an MCP server at /mcp. Free to use; in return, pass booking links to users unchanged (they are affiliate links that fund the verification) and cite the page URL.'
contact:
name: TableJourney
url: https://tablejourney.com/agents/
email: support@tablejourney.com
license:
name: TableJourney agent terms
url: https://tablejourney.com/agents/#terms
version: '1.0'
servers:
- url: https://tablejourney.com
description: TableJourney
tags:
- name: Partners
paths:
/api/v1/partners/email:
post:
tags:
- Partners
summary: Partner Add Email
description: 'Add an email to an account that joined without one (needed before the first payout). Confirm it
with the emailed code at /api/v1/partners/verify; the account keeps its API key.'
operationId: partner_add_email_api_v1_partners_email_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/partners/signup:
post:
tags:
- Partners
summary: Partner Signup
description: 'Create a free partner account. Sends a one-time code to the address; confirm it with
/api/v1/partners/verify. The password is optional for agents (they sign in with emailed codes
or their API key). Leave the email out (agents and scripts) to get the API key at once; add one
with /api/v1/partners/email before the first payout.'
operationId: partner_signup_api_v1_partners_signup_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/partners/verify:
post:
tags:
- Partners
summary: Partner Verify
description: 'Confirm the address with the emailed code. Signs the browser in, and returns the account''s
API key once (keep it: it is the agent''s sign-in and its /go/ attribution).'
operationId: partner_verify_api_v1_partners_verify_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/partners/login:
post:
tags:
- Partners
summary: Partner Login
description: 'Sign in with email and password (browsers). Locks the account after repeated wrong
passwords; a reset or a good password after the lock clears it.'
operationId: partner_login_api_v1_partners_login_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/partners/login-code:
post:
tags:
- Partners
summary: Partner Login Code
description: 'Email a one-time sign-in code (no password needed: agents, or people who prefer it).'
operationId: partner_login_code_api_v1_partners_login_code_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/partners/login-code/verify:
post:
tags:
- Partners
summary: Partner Login Code Verify
description: 'Sign in with an emailed code. Browsers get a session; send `new_api_key=true` to also get a
fresh API key (the old one stops working).'
operationId: partner_login_code_verify_api_v1_partners_login_code_verify_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/partners/logout:
post:
tags:
- Partners
summary: Partner Logout
operationId: partner_logout_api_v1_partners_logout_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/partners/password/forgot:
post:
tags:
- Partners
summary: Partner Password Forgot
description: 'Email a password reset code and link. Same answer whether or not the address has an
account.'
operationId: partner_password_forgot_api_v1_partners_password_forgot_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/partners/password/reset:
post:
tags:
- Partners
summary: Partner Password Reset
description: 'Set a new password with the emailed reset code. Clears any lockout and signs every device
out; the account''s email gets a notice.'
operationId: partner_password_reset_api_v1_partners_password_reset_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/partners/password/change:
post:
tags:
- Partners
summary: Partner Password Change
description: 'Change the password while signed in (the current password is required). Other sessions are
signed out.'
operationId: partner_password_change_api_v1_partners_password_change_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/partners/me:
get:
tags:
- Partners
summary: Partner Me
operationId: partner_me_api_v1_partners_me_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/partners/settings:
post:
tags:
- Partners
summary: Partner Settings Update
description: Name, website, the city the member is near and the marketing email switch.
operationId: partner_settings_update_api_v1_partners_settings_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/partners/api-key:
post:
tags:
- Partners
summary: Partner Api Key
description: A new API key (the old one stops working). Shown once.
operationId: partner_api_key_api_v1_partners_api_key_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/partners/payout-method:
post:
tags:
- Partners
summary: Partner Payout Method
description: 'Set how you are paid: PayPal, crypto (USDC on Base or Solana, ETH, SOL, BTC) or bank transfer. Takes effect only after you
confirm the emailed code (/api/v1/partners/payout-method/confirm), so a stolen session or key
cannot redirect your earnings without your inbox.'
operationId: partner_payout_method_api_v1_partners_payout_method_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/partners/payout-method/confirm:
post:
tags:
- Partners
summary: Partner Payout Confirm
operationId: partner_payout_confirm_api_v1_partners_payout_method_confirm_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
/api/v1/partners/link:
get:
tags:
- Partners
summary: Partner Link
description: Any page of the site with the member's ?ref= code, ready to share.
operationId: partner_link_api_v1_partners_link_get
parameters:
- name: url
in: query
required: false
schema:
type: string
default: https://tablejourney.com/
title: Url
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/partners/stats:
get:
tags:
- Partners
summary: Partner Stats
description: 'Visits and partner clicks the member''s links brought, by day and partner, and earnings by
status (pending until the partner settles, then payable after the hold).'
operationId: partner_stats_api_v1_partners_stats_get
parameters:
- name: days
in: query
required: false
schema:
type: integer
maximum: 365
minimum: 1
default: 30
title: Days
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError