Enterprise: the API, webhooks and MCP server are live for schools on the Enterprise plan. The owner allows every key and AI connection. Ask about Enterprise

On this page

API Reference

API Reference

Selected REST resource endpoints, grouped the way your school is. Each page has parameters and illustrative requests. The MCP catalog and server OpenAPI table cover the expanded owner workflows.

Base URL

Base URL
https://api.swum.ai/v1

Use the deployment base URL supplied for your school. The address above is the intended production origin. Set SWUM_API_BASE and SWUM_API_KEY for the examples; before writing, set SWUM_IDEMPOTENCY_KEY once per logical operation and keep it through retries. Authenticate with Authorization: Bearer <token> (see Authentication). Every POST, PATCH and DELETE resource write needs an Idempotency-Key. The public GET /v1/openapi.json exposes the server route table; proposal status is also available at GET /v1/proposals/{id}.

Documented resource endpoints

These pages retain the resource examples below. For the expanded owner workflows, use the complete MCP tool catalog; each tool lists its actual route, input schema, scope and approval behavior. The live GET /v1/openapi.json is the server's complete route table.

Families

Swimmers

Classes · read only

Enrollments

Lessons

Attendance & Makeup Credits

Payments & Invoices · read only

Waivers · read only

Team & Meets

Messages

Locations · read only

App Webhooks