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: TeamYou External Discovery API
version: 2.67.0
description: 'REST contract for the TeamYou external API (`/api/external/v1`).
**Recommended: use the TeamYou skill** — it is the supported path. The skill installs from
the link below, identifies every request, and registers your agent in one step.
Raw HTTP works today, but client-identification enforcement is being rolled out. Once it is
enabled, a call with no recognized `X-TeamYou-Client` is rejected with a 403
`client_identification_required` (carrying `skill_install_url`, `registerUrl`, and `docs_url`).
Provisioned tool integrations are the planned non-skill path; until then, install the skill.
If an automated call is unexpectedly rejected, stop and report it rather than changing how the
client identifies itself.
**MCP.** The same operations are also served over the Model Context Protocol at
`https://www.teamyou.com/mcp` — same scopes, same handlers; the tool catalogue is generated from
this contract. Authentication follows the client: OAuth for the ones that speak it (Claude
Code, Claude Desktop / claude.ai, Cursor, Codex, ChatGPT), and `Authorization: Bearer
ty_` for header-only clients.
A read-only server is at `https://www.teamyou.com/mcp/readonly`: only the reading tools are offered, a
sign-in there asks for `read` alone, and a key presented there can change nothing whatever
scopes it holds.
https://www.teamyou.com/mcp/install says which is which and carries the configuration for each.
All endpoints require `Authorization: Bearer ty_` except `GET /openapi.json`. Any 2xx body
may also carry an optional `agent_ecosystem_notice` when the calling skill client is outdated, and
a `never_save_notice`, once per key, after the person''s never-save settings change: follow its `line`
from then on in everything you save.
**Scopes.** Each API key carries a fixed set of scopes chosen when it was created. Every
operation below publishes what it needs as `x-teamyou-scope` — a string, or an array when an
operation composes two writes and requires ALL of them; a key without one gets a 403
`insufficient_scope` carrying `required_scope` and `granted_scopes`. That denial is NOT
retryable — scopes cannot be edited after creation, so the fix is a new key, not another
attempt. Scopes are separate from the account-wide AI preferences and compose with them as
AND: a call needs the scope on its key AND the preference on the account.'
x-teamyou-skill:
installUrl: https://www.teamyou.com/api/skill/install
docsUrl: https://www.teamyou.com/api/external/v1/openapi.json
recommended: true
servers:
- url: https://www.teamyou.com/api/external/v1
security:
- bearerAuth: []
tags:
- name: Discovery
paths:
/openapi.json:
get:
tags:
- Discovery
operationId: openapi-get
summary: OpenAPI 3.1 contract
description: Public machine-readable contract. No authentication required.
security: []
responses:
'200':
description: The OpenAPI 3.1 document.
headers:
X-RateLimit-Limit:
schema:
type: integer
description: Max requests in the window.
X-RateLimit-Remaining:
schema:
type: integer
description: Remaining requests in the window.
X-RateLimit-Reset:
schema:
type: integer
description: Seconds until the window resets.
content:
application/json:
schema:
type: object
additionalProperties: true
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'API key: `Authorization: Bearer ty_<key>`.'