Tayl Tayl Public API

Tayl API docs

Tayl is a learning platform for small businesses, especially in hospitality. Its Public API lets an organisation's own systems and agents manage people and groups, assign training, author courses, report on training with summaries and the tasks, completions and certificates behind them, and receive webhook events. Each API key belongs to one organisation and reaches only its data.

Check your key first

Before anything else, call GET https://tayl.pro/api/v1/api-keys/current with any active key. It says how much of each section below the key can use and what's in the way; Start here explains its answer.

curl --header "Authorization: Bearer $TAYL_API_TOKEN" https://tayl.pro/api/v1/api-keys/current

Sections

Fetch the section your task needs. Each holds its guide, every operation it covers and the schemas they use, linking to the page that holds any it leaves out, such as course blocks.

Section Covers Operations Size
Start here Check what an API key can do before calling anything else. 1 about 8 KB
People and groups Sync people and groups from an HR system, matched by your own IDs, and manage group categories and who belongs to which group. 31 about 44 KB
Assigning training Assign courses, pathways and signable documents from the content library to people and groups, and change or archive those assignments. 16 about 41 KB
Reporting Report on who has or hasn't completed training, by person, site or content, with summaries of the figures Tayl shows and the tasks, completions and certificates behind them. 16 about 55 KB
Course authoring Build, change and publish the organisation's own courses, for example from a presentation, whole or a chapter or page at a time. 32 about 96 KB
Webhooks React to events such as completions by subscribing an HTTPS endpoint, verifying signatures, and inspecting and retrying deliveries. 10 about 48 KB
Course document format Write a course's content with every block type and question kind, and the course, chapter, page and outline documents that hold them. about 59 KB
Conventions Requests, scopes, personal keys, errors, rate limits, retries, pagination, incremental sync, IDs, bulk requests and course write concurrency. about 9 KB
Errors Every error code, what it means and how to fix it. about 12 KB

Conventions in brief

Conventions covers each in full, with incremental sync, external IDs and bulk requests.

Keeping the key safe

Keep keys out of source control, URLs, logs, email and support messages, and give each integration its own key so one can be revoked alone. Connect an AI assistant you chat with to https://tayl.pro/mcp rather than pasting a key into the chat. An agent should never repeat a key back, store it anywhere else, or send it anywhere but Tayl.

Not available yet

Kept out of the API by design

The API automates administration and authoring for an organisation. It never acts as a learner or stands in for people talking to people, so these stay with people in Tayl:

When a request needs one of these, send the person to Tayl rather than looking for a workaround. Reading the evidence, through tasks, completions and certificates, is available.

The full specification

https://tayl.pro/api/v1/openapi.json is the complete OpenAPI 3.1 description, about 453 KB. It's too large to read whole, so use the sections above. People exploring the API interactively can import it into a tool such as Postman.