Controlled access · API v1

Integration paths

Choose the contract that is ready for your team.

REST, released server-side SDKs, and the controlled-access MCP server are current integration surfaces. Each page stays aligned to its published contract.

01 · REST API

Integrate from your existing backend.

Use the current OpenAPI contract when you need direct control over client context, practices, assignments, outcomes, and webhooks.

Product teams

Embed personalized audio-meditation workflows in an existing product while your service owns orchestration and user experience.

Platform teams

Connect organization-bound service credentials from a backend, preserve idempotency, and consume the versioned contract directly.

Operations teams

Use assignment lifecycle events and structured outcomes to coordinate delivery and measurement workflows.

Event handling

Webhook endpoint management, test delivery, history, retry, and atomic tenant-scoped secret rotation are represented as public OpenAPI routes. Read the signed Webhooks guide for the complete event catalog and verifier examples.

02 · SDKs

Use the official server-side clients.

TypeScript and Python packages wrap API v1 with typed resources, pagination helpers, retries, idempotency, and webhook verification.

Python · 1.0.0

psymind

Python 3.11+; no runtime dependencies. Install from PyPI and use the synchronous client on a trusted backend.

PyPI package · Python guide

03 · MCP

Use PsyMind from protocol-compatible AI clients.

The official server is a thin transport over API v1. It adds validation and protocol handling, not parallel PsyMind business logic.

Controlled access

Connect to https://psymind.app/api/mcp with an organization-bound service credential in a server-side bearer header. OAuth discovery and Dynamic Client Registration are not part of the current credential contract.

ToolAPI v1 operationScope
create_practicePOST /practicespractices:write
get_practiceGET /practices/{practiceId}practices:read
list_practicesGET /practicespractices:read
get_clientGET /clients/{clientId}clients:read
assign_practicePOST /practices/{practiceId}/assignassignments:write
get_practice_audioGET /practices/{practiceId}/audiopractices:read

Mutations require an idempotency key. Tool visibility follows exact service scopes, and the credential organization is the tenant boundary. GET /usage is available through REST and the Developer Portal dashboard, but it is not exposed by this fixed MCP tool set. Client history and safely paginated outcomes remain gaps.

See the MCP setup, limits, errors, and examples.

Guides

Use the REST path without guessing.

These guides are limited to the existing API v1 contract and controlled onboarding model.

Authentication

Keep the organization-bound service credential server-side and start with the authenticated API authentication guide.

Lifecycle integration

Follow the verified flow from client to practice, assignment, and outcome.

Event handling

Use the webhook guide and the generated OpenAPI operations for endpoint setup, signed test delivery, history, retry, and secret rotation.

Access

Tell us which integration path you need.

Share your organization, use case, expected traffic, and required scopes. We will confirm the access model and the currently available contract.

Get API Access