Passport.Me OAuth API
OAuth 2.1 DCR + token flow for remote agents.
OAuth 2.1 DCR + token flow for remote agents.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/passport-me:passport-me-oauth-api"
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.
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: 3.2.0
info:
title: Passport.Me OAuth API
version: 1.1.0
summary: Identity-backed data bridge — Gmail, Calendar, Drive, Docs, Sheets, Contacts, wallet activity, and portable AI memories as MCP tools.
description: 'Passport.Me exposes three authentication surfaces:
1. **Public discovery endpoints** — no auth. Landing, icons, bonus, health, catalog, metrics beacon.
2. **Session-cookie endpoints** — browser dashboard at `my.passport.me`. Set-Cookie after Google OAuth / wallet connect.
3. **OAuth 2.1 endpoints** — remote agents (Claude, ChatGPT, Cursor) register via DCR at `/register`, then authorize against `/oauth/authorize` for the `passport.mcp` scope. Present the access token as `Authorization: Bearer` against `https://mcp.passport.me`.
Full discovery via `/.well-known/api-catalog`. OAuth metadata at `/.well-known/oauth-authorization-server`.'
contact:
name: Passport.Me
url: https://passport.me
email: support@passport.me
license:
name: Terms of Service
url: https://passport.me/terms
servers:
- url: https://passport.me
description: Passport.Me public API + dashboard surface
- url: https://mcp.passport.me/mcp
description: MCP streamable HTTP endpoint (OAuth-gated)
tags:
- name: OAuth
description: OAuth 2.1 DCR + token flow for remote agents.
paths:
/register:
post:
operationId: registerOauthClient
tags:
- OAuth
summary: Dynamic Client Registration (RFC 7591)
description: 'Register an OAuth client. Redirects must be https, loopback, or a Chrome extension. A client with an https redirect outside Passport.Me''s reviewed hosts lands in `approval_status=unreviewed`: it can complete authorization, but the consent screen warns the user that Passport.Me has not reviewed it, until an admin approves it. Clients with a `chromiumapp.org` redirect outside the `PASSPORT_CHROME_EXTENSION_IDS` allowlist land in `approval_status=pending`; pending and rejected clients cannot complete authorization.'
security: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- redirect_uris
properties:
redirect_uris:
type: array
items:
type: string
format: uri
description: Array of redirect URIs. At least one required.
client_name:
type: string
token_endpoint_auth_method:
type: string
enum:
- none
description: Public clients only.
grant_types:
type: array
items:
type: string
enum:
- authorization_code
- refresh_token
responses:
'200':
description: Client registered
content:
application/json:
schema:
type: object
properties:
client_id:
type: string
client_id_issued_at:
type: integer
redirect_uris:
type: array
items:
type: string
token_endpoint_auth_method:
type: string
grant_types:
type: array
items:
type: string
response_types:
type: array
items:
type: string
'400':
description: Invalid request payload.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate-limited.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/oauth/authorize:
get:
operationId: oauthAuthorize
tags:
- OAuth
summary: Authorization endpoint (RFC 6749 §3.1)
description: Browser-facing authorization endpoint. Presents a consent UI to the logged-in Passport user. Agents should open this URL in the user's browser rather than fetching it server-side. Supports PKCE (S256 required).
security: []
parameters:
- name: response_type
in: query
required: true
schema:
type: string
enum:
- code
- name: client_id
in: query
required: true
schema:
type: string
- name: redirect_uri
in: query
required: true
schema:
type: string
format: uri
- name: scope
in: query
required: true
schema:
type: string
enum:
- passport.mcp
- name: state
in: query
required: true
schema:
type: string
- name: code_challenge
in: query
required: true
schema:
type: string
- name: code_challenge_method
in: query
required: true
schema:
type: string
enum:
- S256
responses:
'200':
description: Consent HTML page (when the user has not yet decided).
'302':
description: Redirect back to `redirect_uri` with `code` + `state` on approval, or `error` on denial.
/oauth/token:
post:
operationId: oauthToken
tags:
- OAuth
summary: Token endpoint (RFC 6749 §3.2)
description: Exchange an authorization code or refresh token for an access token. PKCE code_verifier required. Refresh tokens rotate on every use; reuse triggers family invalidation (OAuth 2.1 §4.3.1).
security: []
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
type: object
required:
- grant_type
- client_id
properties:
grant_type:
type: string
enum:
- authorization_code
- refresh_token
client_id:
type: string
code:
type: string
description: Required for authorization_code grant.
redirect_uri:
type: string
format: uri
description: Required for authorization_code grant.
code_verifier:
type: string
description: PKCE verifier. Required for authorization_code grant.
refresh_token:
type: string
description: Required for refresh_token grant.
responses:
'200':
description: Token issued
content:
application/json:
schema:
type: object
properties:
access_token:
type: string
token_type:
type: string
enum:
- Bearer
expires_in:
type: integer
refresh_token:
type: string
scope:
type: string
'400':
description: Invalid request payload.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: invalid_grant / invalid_client / family revoked.
components:
schemas:
Error:
type: object
required:
- error
properties:
error:
type: string
securitySchemes:
passportOAuth:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://passport.me/oauth/authorize
tokenUrl: https://passport.me/oauth/token
refreshUrl: https://passport.me/oauth/token
scopes:
passport.mcp: Call MCP tools against the user's Passport (read-only).
passportSession:
type: apiKey
in: cookie
name: passport_session
description: Session cookie issued after Google OAuth or wallet connect. Not intended for agent use — open `https://my.passport.me` in a browser to obtain one.
externalDocs:
description: Agent skills, MCP server card, and full discovery catalog
url: https://passport.me/.well-known/api-catalog