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: Sandwich Public Content API
version: 1.0.0
summary: Public care-directory MCP, markdown negotiation, and discovery for joinsandwich.com.
description: Machine-readable API for the Sandwich marketing and directory site (www.joinsandwich.com). The public MCP is read-only and requires no auth. Private Care Circle tools and OAuth 2.0 live on inbox.lovedone.app (see /.well-known/oauth-authorization-server).
contact:
name: Sandwich
email: hello@joinsandwich.com
url: https://www.joinsandwich.com/agents
license:
name: Proprietary
url: https://www.joinsandwich.com/terms
servers:
- url: https://www.joinsandwich.com
description: Production (canonical www host)
- url: https://joinsandwich.com
description: Apex host (redirects to www)
tags:
- name: Content
description: Markdown representations of directory pages.
paths:
/api/md:
get:
tags:
- Content
operationId: getMarkdownByAccept
summary: Markdown representation of a content page
description: 'Used when a page is requested with Accept: text/markdown. The original path is supplied via the x-md-original-path header (set by the site proxy) or a path query parameter.'
parameters:
- name: path
in: query
required: false
schema:
type: string
description: Site path to render, e.g. /nb/medicaid
- name: Accept
in: header
required: false
schema:
type: string
example: text/markdown
responses:
'200':
description: Markdown document
headers:
Vary:
schema:
type: string
example: Accept, Accept-Encoding
description: Required so caches key HTML vs markdown separately.
content:
text/markdown:
schema:
type: string
components:
securitySchemes:
firebaseBearer:
type: http
scheme: bearer
bearerFormat: Firebase ID token
description: Firebase ID token from a signed-in Sandwich user.