overlay: 1.0.0
info:
title: API Evangelist overlay for the CoraPilot API
version: 1.0.0
extends: ../openapi/_original/corapilot-com-openapi.json
x-generated: '2026-11-04'
x-method: generated
x-source: openapi/_original/corapilot-com-openapi.json; https://corapilot.com/.well-known/mcp.json; https://corapilot.com/llms.txt
x-rationale: The published spec has no servers[] and the MCP routes (/mcp) carry no security requirement, although
CoraPilot documents OAuth 2.1 (authorization_code + PKCE S256, scope whatsapp) for the MCP endpoint. This overlay
adds both without mutating the original.
actions:
- target: $
description: Add the host that serves this spec and the MCP endpoint.
update:
servers:
- url: https://corapilot.com
description: CoraPilot host serving /openapi.json, /docs and the MCP endpoint /mcp.
- target: $.components.securitySchemes
description: Add the OAuth 2.1 scheme documented in /.well-known/mcp.json for the MCP endpoint.
update:
corapilotOAuth:
type: oauth2
description: 'OAuth 2.1 authorization code with PKCE (S256) and dynamic client registration, per https://corapilot.com/.well-known/mcp.json.
Metadata: https://corapilot.com/.well-known/oauth-authorization-server.'
flows:
authorizationCode:
authorizationUrl: https://corapilot.com/oauth/authorize
tokenUrl: https://corapilot.com/oauth/token
scopes:
whatsapp: Read, search and send the user's WhatsApp messages via MCP.
- target: $.paths['/mcp'].post
description: Mark the MCP JSON-RPC endpoint as OAuth-protected (documented; unauthenticated GET returns 401).
update:
security:
- corapilotOAuth:
- whatsapp
x-mcp-descriptor: https://corapilot.com/.well-known/mcp.json
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.