Hotline LMS

API reference

The same operations AI assistants use, as a REST API. Every workspace has its own address; everything below uses this one. Generated from the live operation list, so it is always current.

https://your-workspace.hotlinelms.com/api/v2 OpenAPI 3.1 (JSON)

Getting started

There are two ways to call the API. Both send a bearer token, and both can only see and do what the person behind them can.

As a system (service key). A workspace admin creates a service connection in Settings → AI assistants, chooses what it may do, and copies the key (it starts hls_ and is shown once). It acts with that admin's permissions and appears in the audit log under its own name.

curl https://your-workspace.hotlinelms.com/api/v2/me \
  -H "Authorization: Bearer hls_…"

As a person (OAuth 2.1). For an app that signs people in: authorisation code with PKCE (S256). Discovery is at https://your-workspace.hotlinelms.com/.well-known/oauth-authorization-server and apps register themselves at /oauth/register. Ask for the scopes you need:

profileSee your name, role and what you can do
people:readSee people, companies, enrolments and certificates you can already see
people:writeAdd and update people, assign and remove courses
courses:readSee courses and course details
courses:writeChange the rules of courses you can edit
content:writeCreate and edit courses, lessons and exams you can edit, and publish or archive them
reports:readRun reports and see dashboards
training:readSee course dates, the schedule, bookings and your teaching
training:writeCreate and change course dates and bookings, approvals and company places
learningSee your own courses, certificates and course dates, enrol yourself and open your courses

The plan must include the REST API for /api/v2 (and AI assistants for /mcp).

Replies and errors

JSON in, JSON out. A reply is {"data": …, "meta": …}; lists take page and per_page (at most 100) and say the totals in meta. Dates and times are ISO 8601 in UTC; course-date sessions also come in the date's own time zone. A failure is {"error": {"code", "message", "details"}}:

Code HTTP Meaning
unauthorized401No access token or service key was sent.
invalid_token401The token or key is wrong, expired or revoked, or was issued for the other resource (/mcp or /api/v2).
plan_upgrade_required402The workspace's plan doesn't include this (the REST API, AI assistants, or the feature behind the operation).
forbidden403The person's role doesn't allow it, or the account or company isn't active.
insufficient_scope403The token or key wasn't given the scope this operation needs.
module_disabled403Training Ops is not switched on for this workspace.
not_found404No such record, or the caller can't see it.
conflict409It clashes with the current state (a full date, a used Idempotency-Key, …).
confirm_token_invalid409The confirm_token is wrong, expired, for other arguments or another caller, or practice mode changed. Preview again.
in_progress409The same request is still being carried out. Wait, then check before retrying.
invalid_input422An argument is missing or wrong; details names each field.
too_many_recipients422The change would email more people than one call may (25 unless the workspace set another limit).
rate_limited429More than 120 calls a minute from this token or key. Wait for Retry-After seconds.
temporarily_unavailable503Not available just now (or not switched on yet on this platform). Try again later.
internal_error500Something went wrong on our side. It has been logged.

Changes that email people or move money

These are marked confirm first. Call once without confirm_token: nothing changes, and the reply previews exactly what would happen, including who would be emailed, with a confirm_token. Call again with the same arguments and that token (in the body or the X-Confirm-Token header) within 10 minutes to carry it out.

POST /api/v2/users/{user}/resend-welcome
  → {"data": {"preview": true, "confirm_token": "cf_…", …}}

POST /api/v2/users/{user}/resend-welcome  {"confirm_token": "cf_…"}
  → {"data": {…the result…}}

One call may email at most 25 people; the preview refuses more (too_many_recipients). A connection in practice mode makes real changes but holds the emails they cause; the preview and the result say so.

Retries

A retry never does the work twice:

  • Send an Idempotency-Key header (any unique string) with a change. Repeating it within 24 hours returns the first reply, with meta.replayed: true. A key reused for a different request is a conflict.
  • Repeating a confirmed call with the same confirm_token returns the first reply too.
  • Operations marked retry-safe create something without a preview; an identical call within two minutes is taken as a retry.
  • While the first copy is still running, a repeat gets in_progress. A failed call isn't kept, so retrying it runs it again.

Limits

  • 120 calls a minute per token or service key; over that, 429 rate_limited with a Retry-After header.
  • At most 100 rows a page on lists.
  • At most 25 people emailed per call.

AI assistants and MCP

Every operation below is also an MCP tool (same name) at https://your-workspace.hotlinelms.com/mcp. People connect Claude, ChatGPT, Copilot or another assistant from Settings → AI assistants, where the steps are.

People & companies

GET /api/v2/users

List people

People in the workspace that you can see (admins: everyone; organisation managers: their companies). Search by name or email, filter by organisation, role or status. Paged.

tool: users_list scope: people:read

Needs any of: users.view_all, users.view_org

Argument In Type About
q query string, up to 120 characters Part of a name or email.
organisation_id query integer
role query one of: tenant_admin, training_admin, org_manager, instructor, author, learner
status query one of: active, invited, suspended, pending_approval
page query integer ≥ 1 Page number, from 1.
per_page query integer 1–100 Rows per page (default 25, at most 100).
GET /api/v2/users/{user}

Get a person

One person with their organisation, who they report to, their enrolments (status, progress, deadline) and certificates.

tool: users_get scope: people:read

Needs any of: users.view_all, users.view_org

Argument In Type About
user * path string Their id or uuid (from users_list).
GET /api/v2/organisations

List organisations

Customer companies (organisations) with account number, registration and VAT numbers, member counts, parent company and manager. Organisation managers see the companies they manage.

tool: orgs_list scope: people:read

Needs any of: organisations.edit, organisations.create, users.view_org

Argument In Type About
q query string, up to 120 characters Part of the name or of the account number.
GET /api/v2/organisations/{organisation_id}

Get an organisation

One company: account number, registration and VAT numbers, status, access expiry, member limit, managers, sub-companies and members (first 100).

tool: orgs_get scope: people:read

Needs any of: organisations.edit, organisations.create, users.view_org

Argument In Type About
organisation_id * path integer
GET /api/v2/users/{user}/training-record

Get a person's training record

Everything about one person's training: their courses with progress and completion, their certificates with expiry (add include_history for superseded ones too), and the course dates they were booked on. Certificates come with a public check link and a PDF link (which needs signing in). Also their certificates from external bodies (external_certificates: the awarding body, number and dates), read only.

tool: users_training_record scope: people:read

Needs any of: users.view_all, users.view_org, analytics.view_all, analytics.view_org

Argument In Type About
user * path string Their id or uuid (from users_list).
include_history query boolean Also list certificates that were replaced by a newer one.
POST /api/v2/users/{user}/password-reset

Send a password reset

Email someone a link to choose a new password (the same as "Forgot password"; it works for an hour). For someone who hasn't activated their account yet, resend the invite instead. Managers can do this for learners in their companies. Preview first.

tool: users_send_password_reset scope: people:write confirm first emails people

Needs any of: users.edit

Argument In Type About
user * path string Their id or uuid.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/organisations

Create a company

Add a company (organisation): a name, optionally a parent company (to make it a sub-company), managers, a member limit, and its account, registration and VAT numbers. Managers need the organisation manager role to manage it; you are warned if they don't have it. Nobody is emailed.

tool: orgs_create scope: people:write retry-safe

Needs any of: organisations.create

Argument In Type About
name * body string, up to 255 characters
parent_id body integer ≥ 0 Parent company id (orgs_list). Leave out for a top-level company.
managers body list of string Person ids or uuids; the first is the main manager.
member_limit body integer ≥ 0 Most members it may have; 0 or leave out for no limit.
account_number body string, up to 64 characters Your own number for the company. Another company with the same one is allowed, with a warning.
company_reg_number body string, up to 64 characters Company registration number, printed on invoices when the workspace says so.
vat_number body string, up to 64 characters VAT number, printed on invoices when the workspace says so.
PATCH /api/v2/organisations/{organisation_id}

Update a company

Rename a company, move it under another company (parent_id; 0 makes it top level), replace its managers (the whole list; [] removes them all), change its member limit (0 = no limit) or its account, registration or VAT number. Only what you give changes. Preview first: it shows before and after. Deactivating or deleting a company is done in the web app.

tool: orgs_update scope: people:write confirm first

Needs any of: organisations.edit

Argument In Type About
organisation_id * path integer
name body string, up to 255 characters
parent_id body integer ≥ 0 New parent company id; 0 makes it top level.
managers body list of string The full list of person ids or uuids (replaces the current managers; the first is the main manager).
member_limit body integer ≥ 0 0 = no limit.
account_number body string, up to 64 characters Your own number for the company; "" clears it. Another company with the same one is allowed, with a warning.
company_reg_number body string, up to 64 characters Company registration number; "" clears it.
vat_number body string, up to 64 characters VAT number; "" clears it.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
GET /api/v2/team/snapshot

My team at a glance

For organisation managers: each person in your companies with courses enrolled, completed, in progress, overdue, last active and next booking, plus a per-course summary.

tool: team_snapshot scope: people:read

Needs any of: analytics.view_org

POST /api/v2/users

Add a person

Add a member and (by default) email them an activation link to set their own password. Same rules as Add member: plan and company limits; organisation managers can only add learners to their own company. Staff roles (tenant_admin, training_admin) cannot be given through an AI assistant (MCP). Preview first, then confirm.

tool: users_create scope: people:write confirm first emails peoplewebhook

Needs any of: users.create

Argument In Type About
first_name * body string, up to 100 characters
last_name * body string, up to 100 characters
email * body string (email), up to 190 characters
role * body one of: learner, instructor, author, org_manager, training_admin, tenant_admin
organisation_id body integer
manager_id body integer Who they report to (someone in the same organisation).
send_invite body boolean Email the activation link (default true). If false they can be invited later with users_resend_invite.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
PATCH /api/v2/users/{user}

Update a person

Change name, email, organisation, who they report to, role (admins only; staff roles not through an AI assistant) or status (active / suspended). Only send the fields to change. Preview shows before and after.

tool: users_update scope: people:write confirm first

Needs any of: users.edit

Argument In Type About
user * path string Their id or uuid.
first_name body string, up to 100 characters
last_name body string, up to 100 characters
email body string (email), up to 190 characters
organisation_id body integer
manager_id body integer
role body one of: learner, instructor, author, org_manager, training_admin, tenant_admin
status body one of: active, suspended
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/users/{user}/status

Suspend, reactivate or deactivate a person

active, suspended (cannot sign in) or deleted (deactivated: cannot sign in and disappears from lists). Preview first.

tool: users_set_status scope: people:write confirm first webhook

Needs any of: users.delete

Argument In Type About
user * path string
status * body one of: active, suspended, deleted
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/users/{user}/resend-invite

Resend the account set-up email

Email a fresh activation link. If they had already set a password it is wiped, so the link is the only way back in (use this to help someone locked out). Preview first.

tool: users_resend_invite scope: people:write confirm first emails people

Needs any of: users.invite

Argument In Type About
user * path string
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/users/{user}/resend-welcome

Resend the welcome email

Email the welcome message again. Does not change their password. Preview first.

tool: users_resend_welcome scope: people:write confirm first emails people

Needs any of: users.edit

Argument In Type About
user * path string
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/users/{user}/mfa/reset

Reset a person's two-factor sign-in

For someone who has lost or replaced the phone with their authenticator app: removes their two-factor (authenticator link and backup codes) so they can set it up again, and emails them. If the workspace requires two-factor for their role they must set up a new authenticator at their next sign-in. Tenant admins only; not your own account, not someone more senior. Preview first: check the request really came from them.

tool: users_mfa_reset scope: people:write confirm first emails people

Needs any of: settings.security

Argument In Type About
user * path string Their id or uuid.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.

Enrolments & certificates

GET /api/v2/enrolments

List enrolments

Course enrolments for people you can see: status, progress, deadline, completion. Filter by person, course, status or organisation, or only overdue ones. Paged.

tool: enrolments_list scope: people:read

Needs any of: enrolments.assign, users.view_all, users.view_org, analytics.view_all, analytics.view_org

Argument In Type About
user query string Person id or uuid.
course query string Course id, uuid or slug.
status query one of: active, awaiting_exam, completed, expired, dropped, cancelled
organisation_id query integer
overdue query boolean Only enrolments past their deadline and not finished.
page query integer ≥ 1 Page number, from 1.
per_page query integer 1–100 Rows per page (default 25, at most 100).
GET /api/v2/certificates

List certificates

Current certificates for people you can see, with issue and expiry dates. Filter by person or course, by expiring within N days, or expired. Paged. Each carries the external bodies' certificates linked to it (external_certificates, read only); with a person given, all of that person's external certificates are listed too.

tool: certificates_list scope: people:read

Needs any of: courses.view_all, analytics.view_all, analytics.view_org, users.view_all, users.view_org

Argument In Type About
user query string
course query string
expiring_within_days query integer 1–730
expired query boolean
include_superseded query boolean Also show certificates replaced by a later one.
page query integer ≥ 1 Page number, from 1.
per_page query integer 1–100 Rows per page (default 25, at most 100).
GET /api/v2/recertification

Recertification status

Who needs recertifying: each person and course with expiry date, days left and state (valid, expiring, grace, expired), plus the next course date to rebook onto. Use for questions like who needs recertifying this quarter.

tool: recert_matrix scope: people:read

Needs any of: tms.bookings.manage, analytics.view_all, analytics.view_org

Argument In Type About
organisation_id query integer
course query string
state query one of: valid, expiring, grace, expired
limit query integer 1–1000
GET /api/v2/completions

Completions since

Course completions (with certificate number and expiry) since a date/time, oldest first, for syncing a training matrix or HR system. Pass meta.next_cursor as cursor to continue.

tool: completions_feed scope: people:read

Needs any of: analytics.view_all, analytics.view_org

Argument In Type About
since query string ISO 8601 date/time, e.g. 2026-09-01T00:00:00Z.
cursor query string meta.next_cursor from the previous call.
limit query integer 1–500
POST /api/v2/enrolments

Assign courses

Assign one or more courses to one or more people (up to 200 people and 50 courses). The preview lists, per person and course, what will happen: enrolled, fresh run, already in progress, already completed, or not available, and how many course-assigned emails will go out. Same rules as Assign Courses.

tool: enrolments_assign scope: people:write confirm first emails peoplewebhook

Needs any of: enrolments.assign

Argument In Type About
users * body list of string Person ids or uuids.
courses * body list of string Course ids, uuids or slugs.
deadline body string (date) Complete by (YYYY-MM-DD).
mandatory body boolean Counts towards compliance (overdue reports).
renew_completed body boolean Start a fresh run for people who already completed the course (e.g. a refresher).
force body boolean Admins only: assign even where curation hides the course from them.
notify body boolean Tell them (in-app, and by email if the workspace sends course-assigned emails). Default true.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
PATCH /api/v2/enrolments/{enrolment_id}

Change an enrolment

Set or clear the deadline (YYYY-MM-DD, or empty to clear) or the mandatory flag.

tool: enrolments_update scope: people:write

Needs any of: enrolments.assign

Argument In Type About
enrolment_id * path integer
deadline body string, up to 10 characters
mandatory body boolean
DELETE /api/v2/enrolments/{enrolment_id}

Remove an enrolment

Take a course away from someone: they lose access (their progress is kept). Preview first.

tool: enrolments_drop scope: people:write confirm first

Needs any of: enrolments.remove

Argument In Type About
enrolment_id * path integer
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.

Courses

GET /api/v2/courses

List courses

Courses you can see (admins: all; instructors and authors: their own; organisation managers: published courses available to their company). Search, filter by status or category. Paged.

tool: courses_list scope: courses:read

Needs any of: courses.view_all, courses.create

Argument In Type About
q query string, up to 120 characters
status query one of: draft, published, archived
category_id query integer
page query integer ≥ 1 Page number, from 1.
per_page query integer 1–100 Rows per page (default 25, at most 100).
GET /api/v2/courses/{course}

Get a course

One course: details, certificate rules, course rules (lesson_order, exam_access, completion_rule, exam_release, and exam_unlock_mode for its classroom dates), outline (modules, lesson titles and each lesson's requirement: required, optional or after_exam), course page sections, accreditations and enrolment counts. Also the description and each section as HTML, the categories, whether you may change the course (can_edit) and, if so, its edit page and the sections that are hidden from the course page.

tool: courses_get scope: courses:read

Needs any of: courses.view_all, courses.create

Argument In Type About
course * path string Course id, uuid or slug.
PATCH /api/v2/courses/{course}

Change a course's rules

Change how a course runs. lesson_order: free (learners choose the order) or sequential (each required lesson unlocks the next). exam_access: after_content (the exam opens once the required lessons are done) or any_time. completion_rule: content_and_exam (required lessons and the exam pass) or exam_only (the exam pass alone, a test-out). exam_release: automatic (the exam opens by the rules above) or trainer (as well as those rules, a trainer opens it for each learner, on the course page). exam_access, completion_rule and exam_release only for a course whose certificate policy is on_exam_pass. Only what you give changes. Preview first: it shows before and after, and any warnings. Other course settings are changed in the web app.

tool: courses_update scope: courses:write confirm first

Needs any of: courses.edit

Argument In Type About
course * path string Course id, uuid or slug.
lesson_order body one of: free, sequential
exam_access body one of: after_content, any_time
completion_rule body one of: content_and_exam, exam_only
exam_release body one of: automatic, trainer
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
GET /api/v2/course-categories

List course categories

The workspace's course categories, with their ids and how many courses are in each. Use the ids as category_ids when creating or changing a course.

tool: course_categories_list scope: courses:read

Needs any of: courses.view_all, courses.create

POST /api/v2/courses

Create a course

Make a new draft course. type: html (lessons built here, the default), scorm_12, scorm_2004, xapi (a package is uploaded to it afterwards) or video (one video, give video_url). template gives an html course a starter structure of modules and lessons. Any of the detail fields can be given now or later with courses_update_details. The course is always a draft and always free: publish it with courses_set_status; price and selling are set in the web app.

tool: courses_create scope: content:write retry-safe

Needs any of: courses.create

Argument In Type About
type body one of: html, scorm_12, scorm_2004, xapi, video
video_url body string, up to 500 characters For type video: a YouTube or Vimeo link, or a direct link to an .mp4 file.
template body string, up to 40 characters A starter structure: blank (the default), compliance, onboarding, product, soft_skills.
title * body string, up to 255 characters The course name (2 to 255 characters).
summary body string, up to 500 characters One or two plain sentences for course cards. "" clears it.
description body string, up to 60000 characters The course description, as HTML (paragraphs, headings, lists, links, bold and italic; anything else is removed). "" clears it.
course_code body string, up to 40 characters The provider's own code for the course. "" clears it.
duration_minutes body integer 0–100000 Length in minutes. 0 clears it.
duration_display body string, up to 60 characters The length in words, as shown on the course page (for example "2 days"). "" clears it.
max_delegates body integer 0–10000 Most people on one date of the course. 0 clears it.
delivery_mode body one of: elearning, in_person, virtual, blended
website_url body string, up to 500 characters The provider's own web page for this course (https://...). "" clears it.
category_ids body list of integer The categories the course is in (ids from course_categories_list). The whole list: [] takes it out of every category.
primary_category_id body integer ≥ 1 Which of its categories is shown first.
available_from body string, up to 40 characters Learners can start the course from this date and time (ISO 8601). "" removes the limit.
available_until body string, up to 40 characters Learners can start the course until this date and time (ISO 8601). "" removes the limit.
certificate_policy body one of: none, on_completion, on_exam_pass none: no certificate. on_completion: a certificate when the course is completed. For a certificate on an exam pass use courses_set_exam, which attaches the exam and sets this.
certificate_validity_months body integer 0–600 How many months a certificate is valid for. 0: it never expires.
certificate_content body string, up to 2000 characters What the course covered, in plain text, for certificates that print it. "" clears it.
sections body list of objects (key, heading, body_html, visible) The course page sections, in order. This is the whole list: a section left out is removed, so read them with courses_get first.
PATCH /api/v2/courses/{course}/details

Change a course's details

Change what a course says about itself: title, summary, description, course code, duration, maximum delegates, delivery mode, its page on the provider's own website, categories, the dates it is available between, the certificate policy and validity, and the course page sections. Only what you give changes. sections and category_ids are whole lists: read the course with courses_get first. Preview first: it shows before and after for each field. The course rules are changed with courses_update; price, the web address, images and files are changed in the web app.

tool: courses_update_details scope: content:write confirm first

Needs any of: courses.edit

Argument In Type About
course * path string Course id, uuid or slug.
title body string, up to 255 characters The course name (2 to 255 characters).
summary body string, up to 500 characters One or two plain sentences for course cards. "" clears it.
description body string, up to 60000 characters The course description, as HTML (paragraphs, headings, lists, links, bold and italic; anything else is removed). "" clears it.
course_code body string, up to 40 characters The provider's own code for the course. "" clears it.
duration_minutes body integer 0–100000 Length in minutes. 0 clears it.
duration_display body string, up to 60 characters The length in words, as shown on the course page (for example "2 days"). "" clears it.
max_delegates body integer 0–10000 Most people on one date of the course. 0 clears it.
delivery_mode body one of: elearning, in_person, virtual, blended
website_url body string, up to 500 characters The provider's own web page for this course (https://...). "" clears it.
category_ids body list of integer The categories the course is in (ids from course_categories_list). The whole list: [] takes it out of every category.
primary_category_id body integer ≥ 1 Which of its categories is shown first.
available_from body string, up to 40 characters Learners can start the course from this date and time (ISO 8601). "" removes the limit.
available_until body string, up to 40 characters Learners can start the course until this date and time (ISO 8601). "" removes the limit.
certificate_policy body one of: none, on_completion, on_exam_pass none: no certificate. on_completion: a certificate when the course is completed. For a certificate on an exam pass use courses_set_exam, which attaches the exam and sets this.
certificate_validity_months body integer 0–600 How many months a certificate is valid for. 0: it never expires.
certificate_content body string, up to 2000 characters What the course covered, in plain text, for certificates that print it. "" clears it.
sections body list of objects (key, heading, body_html, visible) The course page sections, in order. This is the whole list: a section left out is removed, so read them with courses_get first.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/courses/{course}/status

Publish, unpublish or archive a course

Change a course's status. published: learners who can see the course can find and start it; refused, with the reasons, when the course is not ready (no lessons, no package, a quiz with no questions). draft: taken back out. archived: put away. Preview first: it shows the change and how many people are enrolled.

tool: courses_set_status scope: content:write confirm first

Needs any of: courses.publish, courses.delete

Argument In Type About
course * path string Course id, uuid or slug.
status * body one of: draft, published, archived
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/courses/{course}/duplicate

Copy a course

Make a draft copy of a course: its modules and lessons, rules, sections, categories, skills, prerequisites and package. The copy is called "<title> (Copy)" unless you give a title. Enrolments, results and course dates are not copied.

tool: courses_duplicate scope: content:write retry-safe

Needs any of: courses.create

Argument In Type About
course * path string Course id, uuid or slug.
title body string, up to 255 characters The copy's name (optional).
GET /api/v2/builder/content-guide

What lessons and page blocks take

The lesson types and the blocks of a page lesson, each with its fields, and the rules for text, addresses and ids. Read this before writing lesson content: content that does not match is refused, field by field.

tool: builder_content_guide scope: content:write

Needs any of: courses.edit

GET /api/v2/courses/{course}/structure

A course's modules and lessons

The structure of a course you can edit: its modules in order and each module's lessons, with ids, type, requirement, length and version. No lesson content: use builder_lesson_get for one lesson.

tool: builder_structure_get scope: content:write

Needs any of: courses.edit

Argument In Type About
course * path string Course id, uuid or slug.
GET /api/v2/lessons/{lesson}

Get a lesson with its content

One lesson of a course you can edit, with its whole content (which includes the right answers to its questions, so never show it to learners) and its version. Send that version back with builder_lessons_update.

tool: builder_lesson_get scope: content:write

Needs any of: courses.edit

Argument In Type About
lesson * path integer ≥ 1 Lesson id (from builder_structure_get).
POST /api/v2/courses/{course}/modules

Add a module

Add an empty module at the end of a course you can edit.

tool: builder_modules_create scope: content:write retry-safe

Needs any of: courses.edit

Argument In Type About
course * path string Course id, uuid or slug.
title * body string, up to 255 characters
PATCH /api/v2/modules/{module}

Rename a module

Change a module's title.

tool: builder_modules_update scope: content:write

Needs any of: courses.edit

Argument In Type About
module * path integer ≥ 1 Module id (from builder_structure_get).
title * body string, up to 255 characters
POST /api/v2/courses/{course}/modules/reorder

Put a course's modules in order

Give every module id of the course once, in the new order.

tool: builder_modules_reorder scope: content:write

Needs any of: courses.edit

Argument In Type About
course * path string Course id, uuid or slug.
module_ids * body list of integer
DELETE /api/v2/modules/{module}

Remove a module

Remove a module and its lessons. Preview first: it lists the lessons and says whether they would be deleted for good, or archived (hidden, with learners' progress kept) because the course has learners.

tool: builder_modules_delete scope: content:write confirm first

Needs any of: courses.edit

Argument In Type About
module * path integer ≥ 1 Module id (from builder_structure_get).
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/modules/{module}/lessons

Add a lesson

Add a lesson, with its content, at the end of a module. type: page, html, video, document, audio, slide, interactive, scenario, quiz, exam. content depends on the type: builder_content_guide lists each type's fields and every page block. requirement: required (the default), optional, or after_exam.

tool: builder_lessons_create scope: content:write retry-safe

Needs any of: courses.edit

Argument In Type About
module * path integer ≥ 1 Module id (from builder_structure_get).
type * body one of: page, html, video, document, audio, slide, interactive, scenario, quiz, exam, scorm_sco
title * body string, up to 255 characters
content * body object The lesson's content, in the shape builder_content_guide gives for its type.
requirement body one of: required, optional, after_exam
duration_minutes body integer 0–1440
PATCH /api/v2/lessons/{lesson}

Change a lesson

Change a lesson's title, content, requirement or length. Only what you give changes, but content is the whole content: read the lesson with builder_lesson_get, change that, and send it back with the version you read. If someone else has saved the lesson since, it is refused and you read it again. Keep the ids of blocks that are already there. Preview first: it shows what would change and what learners would notice.

tool: builder_lessons_update scope: content:write confirm first

Needs any of: courses.edit

Argument In Type About
lesson * path integer ≥ 1
version * body string, up to 40 characters The version builder_lesson_get (or builder_structure_get) gave for this lesson.
title body string, up to 255 characters
content body object The whole content, in the shape builder_content_guide gives for the lesson's type.
requirement body one of: required, optional, after_exam
duration_minutes body integer 0–1440 0 clears it.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/modules/{module}/lessons/reorder

Put a module's lessons in order

Give every lesson id of the module once, in the new order. A lesson cannot be moved to another module.

tool: builder_lessons_reorder scope: content:write

Needs any of: courses.edit

Argument In Type About
module * path integer ≥ 1
lesson_ids * body list of integer
DELETE /api/v2/lessons/{lesson}

Remove a lesson

Remove a lesson. Preview first: it says whether the lesson would be deleted for good, or archived (hidden, with learners' progress kept) because the course has learners.

tool: builder_lessons_delete scope: content:write confirm first

Needs any of: courses.edit

Argument In Type About
lesson * path integer ≥ 1
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
GET /api/v2/lessons/{lesson}/revisions

A lesson's earlier versions

The saved earlier versions of a lesson (the newest 20): when each was saved and by whom. One is kept before every change to a lesson's title or content.

tool: builder_lesson_revisions_list scope: content:write

Needs any of: courses.edit

Argument In Type About
lesson * path integer ≥ 1
POST /api/v2/lessons/{lesson}/revisions/{revision}/restore

Put back an earlier version of a lesson

Restore a lesson's title and content from one of its earlier versions (builder_lesson_revisions_list). The lesson as it is now is kept as a new earlier version, so this can be undone. Preview first.

tool: builder_lesson_restore scope: content:write confirm first

Needs any of: courses.edit

Argument In Type About
lesson * path integer ≥ 1
revision * path integer ≥ 1
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
GET /api/v2/exams

List exams

The workspace's exams (an author: their own): status, how many questions and attempts each has, and which courses use it. Filter by status or by words in the title. Paged.

tool: exams_list scope: content:write

Needs any of: exams.author

Argument In Type About
status query one of: draft, published, archived
q query string, up to 120 characters
page query integer ≥ 1 Page number, from 1.
per_page query integer 1–100 Rows per page (default 25, at most 100).
GET /api/v2/exams/{exam}

Get an exam

One exam: its settings, its structure (sections, questions with their right answers, grade bands) and the structure's version. Never show the answers to learners. Send the version back with exams_structure_set.

tool: exams_get scope: content:write

Needs any of: exams.author

Argument In Type About
exam * path integer ≥ 1
GET /api/v2/exam-question-types

What exam questions take

The question types that can be written here and what each one's body holds, with an example; and the types that can only be kept as they are. Read this before writing questions for an exam or the bank.

tool: exams_question_types scope: content:write

Needs any of: exams.author

POST /api/v2/exams

Create an exam

Make a new draft exam with a "Pass 70%" grade band. Give it questions with exams_structure_set, publish it with exams_set_status, and attach it to a course with courses_set_exam.

tool: exams_create scope: content:write retry-safe

Needs any of: exams.author

Argument In Type About
title * body string, up to 255 characters
description body string, up to 5000 characters Plain text shown before the exam starts. "" clears it.
time_limit_minutes body integer 0–600 0: no time limit.
max_attempts body integer 0–50 0: no limit.
cooldown_minutes_between_attempts body integer 0–10080
randomise_questions body boolean
randomise_options body boolean
negative_marking body boolean
open_book body boolean
show_correct_answers body boolean
allow_review body boolean
show_results_mode body one of: immediate, at_end, never
questions_per_page body integer 0–50 0: every question on one page.
navigation body one of: free, sequential
grading_method body one of: highest, average, first, last Which attempt counts.
PATCH /api/v2/exams/{exam}

Change an exam's settings

Change an exam's title, description, time limit, attempts allowed, wait between attempts, shuffling, negative marking, open book, what the learner sees afterwards, questions per page, navigation and which attempt counts. Only what you give changes. Preview first. The questions are changed with exams_structure_set.

tool: exams_update scope: content:write confirm first

Needs any of: exams.author

Argument In Type About
exam * path integer ≥ 1
title body string, up to 255 characters
description body string, up to 5000 characters Plain text shown before the exam starts. "" clears it.
time_limit_minutes body integer 0–600 0: no time limit.
max_attempts body integer 0–50 0: no limit.
cooldown_minutes_between_attempts body integer 0–10080
randomise_questions body boolean
randomise_options body boolean
negative_marking body boolean
open_book body boolean
show_correct_answers body boolean
allow_review body boolean
show_results_mode body one of: immediate, at_end, never
questions_per_page body integer 0–50 0: every question on one page.
navigation body one of: free, sequential
grading_method body one of: highest, average, first, last Which attempt counts.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
PUT /api/v2/exams/{exam}/structure

Set an exam's questions

Replace an exam's sections, questions and grade bands as a whole: read the exam with exams_get, change its structure, and send all three lists back with the version you read (a list left out is emptied). If someone has saved the exam since, it is refused and you read it again. exams_question_types lists what each question type takes. Preview first: it shows the counts before and after and what happens to attempts already made (they keep the questions they were asked).

tool: exams_structure_set scope: content:write confirm first

Needs any of: exams.author

Argument In Type About
exam * path integer ≥ 1
version * body string, up to 40 characters The version exams_get gave.
sections body list of objects () Each {title, description, weight, pass_threshold_percent, pool_size, questions}. A section with bank_category_id draws its questions from that bank category instead.
ungrouped_questions body list of objects () Questions outside any section.
grade_bands * body list of objects () Each {label, min_percent}: at least one, so that a learner can pass. certificate_template_id and badge_id are optional.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/exams/{exam}/status

Publish or archive an exam

published: learners on courses that use the exam can sit it; needs at least one question and one grade band (it also brings an archived exam back). archived: nobody can start it. Preview first: it lists the courses that use the exam.

tool: exams_set_status scope: content:write confirm first

Needs any of: exams.author

Argument In Type About
exam * path integer ≥ 1
status * body one of: published, archived
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/exams/{exam}/duplicate

Copy an exam

Make a draft copy of an exam, called "<title> (copy)": every setting, section, question and grade band. Attempts are not copied.

tool: exams_duplicate scope: content:write retry-safe

Needs any of: exams.author

Argument In Type About
exam * path integer ≥ 1
POST /api/v2/courses/{course}/exam

Attach an exam to a course

Attach an exam to a course you can edit: the course then issues its certificate when the exam is passed. exam 0 takes the exam off and puts the certificate back to "on completion". Preview first. When the exam opens and what completes the course are then set with courses_update.

tool: courses_set_exam scope: content:write confirm first

Needs any of: courses.edit

Argument In Type About
course * path string Course id, uuid or slug.
exam * body integer ≥ 0 Exam id (from exams_list), or 0 for none.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
GET /api/v2/question-categories

List question bank categories

The categories of the question bank, with ids and parents.

tool: question_categories_list scope: content:write

Needs any of: exams.author

POST /api/v2/question-categories

Add a question bank category

Add a category to the question bank, at the top or under another (parent_id).

tool: question_categories_create scope: content:write retry-safe

Needs any of: exams.author

Argument In Type About
name * body string, up to 150 characters
parent_id body integer ≥ 1
GET /api/v2/question-bank

List question bank questions

The reusable questions of the bank (an author: their own), newest first, without their answers: type, the start of the prompt, points, difficulty, category and tags. Filter by category, type or words in the prompt. Paged.

tool: question_bank_list scope: content:write

Needs any of: exams.author

Argument In Type About
category_id query integer ≥ 1
type query string, up to 40 characters
q query string, up to 120 characters
page query integer ≥ 1 Page number, from 1.
per_page query integer 1–100 Rows per page (default 25, at most 100).
GET /api/v2/question-bank/{question}

Get a question bank question

One bank question with its body (the right answer included) and the exams that hold a copy of it.

tool: question_bank_get scope: content:write

Needs any of: exams.author

Argument In Type About
question * path integer ≥ 1
POST /api/v2/question-bank

Add a question to the bank

Add a reusable question to the bank. exams_question_types lists the types and what each one's body holds. To use it in an exam, give {question_bank_id} in exams_structure_set.

tool: question_bank_create scope: content:write retry-safe

Needs any of: exams.author

Argument In Type About
type * body string, up to 40 characters
prompt * body string, up to 20000 characters
body * body object
default_points body number
difficulty body one of: easy, medium, hard
category_id body integer ≥ 0 A category id (question_categories_list); 0 for none.
tags body list of string
PATCH /api/v2/question-bank/{question}

Change a question in the bank

Change a bank question's prompt, body, points, difficulty, category or tags. Only what you give changes; its type cannot change. Exams that already hold a copy keep their copy as it was.

tool: question_bank_update scope: content:write

Needs any of: exams.author

Argument In Type About
question * path integer ≥ 1
prompt body string, up to 20000 characters
body body object
default_points body number
difficulty body one of: easy, medium, hard
category_id body integer ≥ 0
tags body list of string
GET /api/v2/uploads/links/{upload}

Has the file arrived?

Where an upload link stands: waiting (nothing has arrived yet), done (with what came of it: a media file's address to use in lessons, a package's format and version, the course picture's address) or expired. Only for links you made.

tool: uploads_status_get scope: content:write

Needs any of: courses.edit, courses.create, scorm.upload

Argument In Type About
upload * path string, up to 36 characters The upload id uploads_link_create gave.

Reports

GET /api/v2/reports

List reports

The reports you can run (compliance, rosters, activity, exams, certificates, paths, engagement), with their filters and columns.

tool: reports_list scope: reports:read

Needs any of: analytics.view_all, analytics.view_org, analytics.view_assigned, authoring.view_own_reports

GET /api/v2/reports/{report}

Run a report

Run one report from reports_list and get its rows (up to 1000). Some reports need a course filter. course-feedback also returns a summary: per survey question the counts, average and % agree, and the written answers (names left out where the survey hides them).

tool: reports_run scope: reports:read

Needs any of: analytics.view_all, analytics.view_org, analytics.view_assigned, authoring.view_own_reports

Argument In Type About
report * path string Report id from reports_list.
filters query object For example {"course": 12, "org": 3, "include_optional": 1, "dormant_days": 30}. course-feedback takes "survey": "lesson_id:block_id" (the course's first survey when left out).
limit query integer 1–1000
GET /api/v2/audit

Search the audit log

What happened in the workspace and who did it, newest first: sign-ins, people and course changes, bookings, settings and everything done through an AI assistant or the API (via = claude for any AI assistant over MCP, api, any_app or web; a service key shows as "Name (service)"). Filter by date range, person, exact action or part of an action name (e.g. booking), and the record changed. Kept for 42 days unless the platform keeps more.

tool: audit_list scope: reports:read

Needs any of: audit.view

Argument In Type About
from query string ISO date or date/time (UTC).
to query string ISO date or date/time (UTC); a date on its own includes that whole day.
person query string Who did it: person id or uuid.
action query string, up to 100 characters An exact action, e.g. tms_booking_cancelled.
action_contains query string, up to 50 characters Part of an action name, e.g. booking, user, course.
via query one of: claude, api, any_app, web
entity_type query string, up to 50 characters The kind of record, e.g. user, course, event, organisation.
entity_id query integer
page query integer ≥ 1 Page number, from 1.
per_page query integer 1–100 Rows per page (default 50, at most 100).

Course dates

GET /api/v2/tms/events

List course dates

Face-to-face course dates in a date range (default: today to 60 days ahead) with status, venue, trainers, capacity, booked and places left. Staff see every date; trainers see the dates they teach. Filter by status, course, venue or trainer.

tool: tms_events_list scope: training:read Training Ops

Needs any of: tms.schedule.manage, tms.bookings.manage, tms.trainer.self

Argument In Type About
from query string ISO date or date/time (UTC). Default today.
to query string ISO date or date/time (UTC); a date on its own includes that whole day. Default 60 days ahead.
status query one of: draft, published, confirmed, running, completed, cancelled
course query string Course id, uuid or slug.
venue_id query integer
trainer_id query integer Trainer id from tms_resources_list.
GET /api/v2/tms/events/{event}

Get a course date

One course date: sessions (UTC and local times), trainers, rooms and kit assigned, capacity, booked, booking cut-off, joining link.

tool: tms_events_get scope: training:read Training Ops

Needs any of: tms.schedule.manage, tms.bookings.manage, tms.trainer.self

Argument In Type About
event * path string Course date uuid (from tms_events_list).
GET /api/v2/tms/events/{event}/overview

Course date overview

Everything about one course date on one page: delegates and their status, registration checklists, booking answers (including dietary and access needs), photo ID, joining instructions sent, comms log and tasks.

tool: tms_events_overview scope: training:read Training Ops

Needs any of: tms.schedule.manage, tms.bookings.manage

Argument In Type About
event * path string
GET /api/v2/tms/dashboard

Training operations dashboard

The next 30 days of course dates with fill and what needs attention (not published, no trainer, below minimum, unconfirmed places, IDs to check), action counts (approvals, held places, waitlist), certificate expiry counts and recent bookings.

tool: tms_ops_dashboard scope: training:read Training Ops

Needs any of: tms.schedule.manage, tms.bookings.manage

GET /api/v2/tms/resources

Trainers, venues and kit

Trainers (with ids for filters and availability checks), venues with their rooms, and equipment.

tool: tms_resources_list scope: training:read Training Ops

Needs any of: tms.schedule.manage, tms.resources.manage

GET /api/v2/tms/availability

Check availability

Is a trainer, room or piece of equipment free between two times? Checks working hours and time off, and lists course dates already using it.

tool: tms_availability_check scope: training:read Training Ops

Needs any of: tms.schedule.manage, tms.resources.manage

Argument In Type About
resource_type * query one of: trainer, room, equipment
resource_id * query integer Id from tms_resources_list.
from * query string ISO date/time, e.g. 2026-10-14T09:00:00+01:00.
to * query string
POST /api/v2/tms/events

Create a course date

Create a draft course date for a face-to-face course: sessions in the date's own local time, venue/room, capacity, price (blank = course price). Or give an event template and first_date to fill in the pattern, tasks and settings. Nobody is emailed until it is published. A room already in use is left off with a warning.

tool: tms_events_create scope: training:write retry-safe Training Ops

Needs any of: tms.schedule.manage

Argument In Type About
course * body string Course id, uuid or slug (a face-to-face course).
template body string Event template uuid (optional).
first_date body string (date) With a template: day 1 (YYYY-MM-DD); the pattern fills the other days.
sessions body list of objects (date, start_time, end_time, title)
timezone body string IANA zone, default Europe/London.
title body string, up to 255 characters Optional name instead of the course title.
delivery_mode body one of: in_person, virtual, blended
venue_id body integer
room_id body integer
capacity_max body integer ≥ 1
capacity_min body integer ≥ 0
price body number Per place, in major units (e.g. 295.00). Leave out for the course price.
currency body string, up to 3 characters
is_private body boolean
restricted_org_id body integer Only this company can see and book it.
virtual_join_url body string, up to 500 characters
notes body string, up to 5000 characters
booking_cutoff_hours body integer ≥ 0 Online booking closes this many hours before the start.
exam_unlock_mode body one of: inherit, auto, manual, time, time_or_manual, attendance
booking_form body string Booking questions: empty = follow the course, "none", or a form uuid.
override_reason body string, up to 255 characters Book the room even if it is in use (audited).
PATCH /api/v2/tms/events/{event}

Change a course date

Change settings and/or sessions. Send only what changes; sessions, if sent, replace them all. The preview lists the changes and who will be told. A trainer or room clash comes back as conflict: call again with override_reason to force it.

tool: tms_events_update scope: training:write confirm first emails people Training Ops

Needs any of: tms.schedule.manage

Argument In Type About
event * path string
sessions body list of objects (date, start_time, end_time, title)
timezone body string
title body string, up to 255 characters
delivery_mode body one of: in_person, virtual, blended
venue_id body integer
room_id body integer
capacity_max body integer ≥ 1
capacity_min body integer ≥ 0
price body number
currency body string, up to 3 characters
is_private body boolean
restricted_org_id body integer
virtual_join_url body string, up to 500 characters
notes body string, up to 5000 characters
booking_cutoff_hours body integer ≥ 0
exam_unlock_mode body one of: inherit, auto, manual, time, time_or_manual, attendance
booking_form body string
override_reason body string, up to 255 characters
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/tms/events/{event}/publish

Publish a course date

Make a draft bookable (on your training pages and widgets unless private). Assigned trainers are told if trainer notices are on. Preview first.

tool: tms_events_publish scope: training:write confirm first emails peoplewebhook Training Ops

Needs any of: tms.schedule.manage

Argument In Type About
event * path string
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/tms/events/{event}/status

Mark a course date confirmed, running or completed

Move a published date on: confirmed (going ahead), running, completed. Dates also become running when their first session starts and completed when their last ends, automatically; use this to confirm a date or move it early. Status only: completion and certificates come from the register and exams.

tool: tms_events_set_status scope: training:write Training Ops

Needs any of: tms.schedule.manage

Argument In Type About
event * path string
status * body one of: confirmed, running, completed
GET /api/v2/tms/my/tasks

List my tasks

Course-date tasks that are overdue or due in the next two weeks: yours and the team's (unassigned), with the date they belong to. Tick one off with tms_tasks_set_done.

tool: tms_tasks_mine scope: training:read Training Ops

Needs any of: tms.schedule.manage, tms.bookings.manage, tms.trainer.self

POST /api/v2/tms/events/{event}/message

Message everyone on a course date

Email a one-off message (plain text) to every named delegate on a date, and its trainers if include_trainers is true: a venue change, what to bring, a parking note. Sent in the workspace's branded email with the course, dates and venue underneath, and logged in the date's comms log. Unnamed company places get nothing. Preview first: it lists every recipient and repeats the message, so show it to the person word for word before confirming.

tool: tms_events_message scope: training:write confirm first emails people Training Ops

Needs any of: tms.bookings.manage, tms.schedule.manage

Argument In Type About
event * path string Course date uuid.
subject * body string, up to 150 characters
message * body string, up to 5000 characters Plain text; line breaks are kept.
include_trainers body boolean Also send it to the trainers on the date. Default false.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/tms/events/{event}/cancel

Cancel a course date

Cancel the date: every booking is cancelled and each delegate is emailed a cancellation notice; trainers, rooms and kit are freed. No refunds are made: paid or invoiced places are listed under Refunds to check (tms_refunds_list). The preview names everyone who will be emailed.

tool: tms_events_cancel scope: training:write confirm first emails people Training Ops

Needs any of: tms.schedule.manage

Argument In Type About
event * path string
reason * body string, up to 255 characters
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/tms/events/{event}/duplicate

Duplicate a course date

Copy a date as a new draft with the same times, settings, booking questions and tasks (trainers and rooms are not copied). Then move it with tms_events_reschedule or tms_events_update.

tool: tms_events_duplicate scope: training:write retry-safe Training Ops

Needs any of: tms.schedule.manage

Argument In Type About
event * path string
POST /api/v2/tms/events/{event}/reschedule

Move a course date by days

Move every session by a whole number of days (same local times). Trainers, rooms and kit move with it; tasks follow; trainers are told. Clashes come back as conflict (use override_reason to force).

tool: tms_events_reschedule scope: training:write confirm first emails people Training Ops

Needs any of: tms.schedule.manage

Argument In Type About
event * path string
delta_days * body integer -370–370
override_reason body string, up to 255 characters
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
PUT /api/v2/tms/events/{event}/notes

Set internal notes

Replace the internal notes on a course date (staff only; not shown to delegates).

tool: tms_events_notes_set scope: training:write Training Ops

Needs any of: tms.schedule.manage, tms.bookings.manage

Argument In Type About
event * path string
notes body string, up to 5000 characters
POST /api/v2/tms/events/{event}/assignments

Assign a trainer, room or kit

Put a trainer, room or piece of equipment on a course date (or one session). The preview shows clashes with other dates, time off and working-hours warnings first; a clash needs override_reason.

tool: tms_assignments_create scope: training:write confirm first emails people Training Ops

Needs any of: tms.schedule.manage

Argument In Type About
event * path string
resource_type * body one of: trainer, room, equipment
resource_id * body integer Id from tms_resources_list.
session_id body integer Just one session (from tms_events_get); leave out for the whole date.
role body string, up to 60 characters
override_reason body string, up to 255 characters
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
DELETE /api/v2/tms/events/{event}/assignments/{assignment_id}

Remove a trainer, room or kit

Take an assignment off a course date and free the time. A trainer is told if trainer notices are on. Preview first.

tool: tms_assignments_release scope: training:write confirm first emails people Training Ops

Needs any of: tms.schedule.manage

Argument In Type About
event * path string
assignment_id * path integer From tms_events_get assignments.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/tms/events/{event}/tasks

Add a task to a course date

A to-do on the date (e.g. "order certificates"), due on a date, for a member of staff or the team.

tool: tms_tasks_add scope: training:write retry-safe Training Ops

Needs any of: tms.schedule.manage, tms.bookings.manage

Argument In Type About
event * path string
title * body string, up to 200 characters
due_on * body string (date)
assignee_id body integer A staff member's id; leave out for the team.
POST /api/v2/tms/events/{event}/tasks/{task}/done

Tick off a task

Mark a course-date task done (or open again with done=false).

tool: tms_tasks_set_done scope: training:write Training Ops

Needs any of: tms.schedule.manage, tms.bookings.manage

Argument In Type About
event * path string
task * path string Task uuid (from tms_events_overview tasks).
done body boolean
DELETE /api/v2/tms/events/{event}/tasks/{task}

Remove a task

Delete a task from a course date.

tool: tms_tasks_remove scope: training:write Training Ops

Needs any of: tms.schedule.manage, tms.bookings.manage

Argument In Type About
event * path string
task * path string

Bookings

GET /api/v2/tms/events/{event}/bookings

List bookings on a date

The booking sheet for one course date: each delegate (or unnamed place), status, approval, payment mode, company, PO, booking reference and when they booked. Registration only applies to company places (registration_needed); for those, registered_at is when the person confirmed their details. Direct bookings never register, so an empty registered_at on them means nothing is outstanding.

tool: tms_bookings_list scope: training:read Training Ops

Needs any of: tms.schedule.manage, tms.bookings.manage

Argument In Type About
event * path string
include_cancelled query boolean
GET /api/v2/tms/approvals

Bookings waiting for approval

Orders waiting for approval: booking-desk staff see all; organisation managers see requests from their own staff. Also lists requests for another exam attempt that a company or organiser pays for (extra_exam_attempts); those are decided on the web page each one links to.

tool: tms_approvals_list scope: training:read Training Ops

Needs any of: tms.bookings.manage, enrolments.assign

POST /api/v2/tms/events/{event}/bookings

Book people onto a course date

One order of places on a published date, like the booking desk: named delegates (an email that matches an account books that person) and/or places to name later. Confirmed bookings email joining instructions to each named delegate; provisional ones wait for tms_bookings_confirm. The preview shows places left, who has an account, prerequisite warnings and every email.

tool: tms_bookings_create scope: training:write confirm first emails peoplewebhook Training Ops

Needs any of: tms.bookings.manage

Argument In Type About
event * path string Course date uuid.
delegates body list of objects (name, email)
placeholders body integer 0–50 Extra places to name later (tms_bookings_fill).
payment_mode body one of: invoice, comp invoice (default) or comp (complimentary).
status body one of: confirmed, provisional confirmed (default) or provisional.
po_number body string, up to 80 characters
booking_reference body string, up to 80 characters The reference the company gives for this booking, shown beside the PO number (optional). Only for a company that uses booking references.
organisation_id body integer The customer company the places are for.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/tms/events/{event}/bookings/{booking_id}/confirm

Confirm a provisional booking

Confirm a provisional place (payment received or approved). The delegate is emailed their joining instructions.

tool: tms_bookings_confirm scope: training:write confirm first emails people Training Ops

Needs any of: tms.bookings.manage

Argument In Type About
event * path string
booking_id * path integer From tms_bookings_list.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/tms/events/{event}/bookings/{booking_id}/cancel

Cancel a booking

Cancel one place: the seat is freed and offered to the waitlist. The delegate is not emailed and nothing is refunded; a paid or invoiced place is listed under Refunds to check (tms_refunds_list).

tool: tms_bookings_cancel scope: training:write confirm first webhook Training Ops

Needs any of: tms.bookings.manage

Argument In Type About
event * path string
booking_id * path integer
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/tms/events/{event}/bookings/{booking_id}/delegate

Name a place

Put a person on an unnamed place, or correct a guest's details. An email that matches an account links that person (and enrols them on the course). On a confirmed place the new person is emailed joining instructions.

tool: tms_bookings_fill scope: training:write confirm first emails people Training Ops

Needs any of: tms.bookings.manage

Argument In Type About
event * path string
booking_id * path integer
name body string, up to 150 characters
email body string, up to 254 characters
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/tms/events/{event}/bookings/{booking_id}/substitute

Substitute a delegate

Someone else takes this place (same date, same payment). On a confirmed place the new person is emailed joining instructions.

tool: tms_bookings_substitute scope: training:write confirm first emails people Training Ops

Needs any of: tms.bookings.manage

Argument In Type About
event * path string
booking_id * path integer
name body string, up to 150 characters
email body string, up to 254 characters
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
GET /api/v2/tms/events/{event}/bookings/{booking_id}/transfer-quote

Quote a transfer

Before moving a booking to another date: places left on the new date, the price difference per seat and the ways it can be settled (delta_actions). Changes nothing.

tool: tms_bookings_transfer_quote scope: training:read Training Ops

Needs any of: tms.bookings.transfer, tms.bookings.manage

Argument In Type About
event * path string
booking_id * path integer
to_event * query string The date to move to (uuid).
POST /api/v2/tms/events/{event}/bookings/{booking_id}/transfer

Transfer a booking to another date

Move one place to another published date. Quote first (tms_bookings_transfer_quote) and pass a delta_action it allows: none (same price), charged (raises an order for the difference), waived, refunded (card payments) or credited. The delegate is emailed joining instructions for the new date.

tool: tms_bookings_transfer scope: training:write confirm first emails peoplemoney Training Ops

Needs any of: tms.bookings.transfer, tms.bookings.manage

Argument In Type About
event * path string
booking_id * path integer
to_event * body string
reason * body string, up to 255 characters
delta_action body one of: none, charged, waived, refunded, credited
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
GET /api/v2/tms/events/{event}/waitlist

Waitlist for a date

Everyone queued for a course date, in order, with any open offer and when it lapses.

tool: tms_waitlist_list scope: training:read Training Ops

Needs any of: tms.bookings.manage

Argument In Type About
event * path string
POST /api/v2/tms/events/{event}/waitlist/{entry_id}/offer

Offer a waitlisted person a place

Email the person an offer of a place now, held for 72 hours.

tool: tms_waitlist_offer scope: training:write confirm first emails people Training Ops

Needs any of: tms.bookings.manage

Argument In Type About
event * path string
entry_id * path integer From tms_waitlist_list.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
DELETE /api/v2/tms/events/{event}/waitlist/{entry_id}

Take someone off a waitlist

Remove a person from the waitlist. They are not emailed.

tool: tms_waitlist_remove scope: training:write Training Ops

Needs any of: tms.bookings.manage

Argument In Type About
event * path string
entry_id * path integer
POST /api/v2/tms/approvals/{order_id}

Approve or decline a booking

Decide an order waiting for approval (from tms_approvals_list). Approving confirms every place and emails joining instructions; declining frees the places and emails the booker, with your reason if given. Booking-desk staff decide any order; organisation managers decide training requests from their own staff.

tool: tms_approvals_decide scope: training:write confirm first emails people Training Ops

Needs any of: tms.bookings.manage, enrolments.assign

Argument In Type About
order_id * path integer
decision * body one of: approve, decline
reason body string, up to 255 characters Told to the booker when declining.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
GET /api/v2/tms/refunds

Refunds to check

Cancelled places that were paid for or invoiced (a booking cancelled, or a whole course date). Refunds are manual: each says how it was paid and what to do (refund in Stripe, cancel or credit the invoice, or make sure an on-account place isn't invoiced). show=handled lists the ones already dealt with.

tool: tms_refunds_list scope: training:read Training Ops

Needs any of: tms.bookings.manage

Argument In Type About
show query one of: open, handled
POST /api/v2/tms/refunds/{refund_id}

Mark a refund check done

Record that a cancelled place was refunded, or needs no refund. This only records it; it moves no money and emails nobody.

tool: tms_refunds_resolve scope: training:write Training Ops

Needs any of: tms.bookings.manage

Argument In Type About
refund_id * path integer
outcome * body one of: refunded, not_needed
note body string, up to 255 characters

Company places

GET /api/v2/tms/places

Company places

Places held for companies on upcoming dates: how many held, unnamed and confirmed, release terms and who pays. Managers see their own companies.

tool: tms_places_list scope: training:read Training Ops

Needs any of: tms.bookings.manage, enrolments.assign

Argument In Type About
organisation_id query integer
GET /api/v2/tms/places/{places}

Get company places

One company's places on a course date: each place (unnamed, or who is on it), where each person is with registering (details, questions, ID, pre-work, payment), who pays, release terms and what will be charged. Managers see their own companies only.

tool: tms_places_get scope: training:read Training Ops

Needs any of: tms.bookings.manage, enrolments.assign

Argument In Type About
places * path string The company places uuid (from tms_places_list).
POST /api/v2/tms/events/{event}/places

Hold places for a company

Hold unnamed places on a course date for a customer company; their managers can then name people. Nobody is emailed. Release terms: places not named by release_days_before are given back (never if left out close to the date).

tool: tms_places_reserve scope: training:write retry-safe webhook Training Ops

Needs any of: tms.bookings.manage

Argument In Type About
event * path string
organisation_id * body integer
places * body integer 1–500
release_policy body one of: days_before, never
release_days_before body integer 1–90
warn_days_before_release body integer 0–30 Warn the managers this many days before; 0 = no warning.
pay_mode body one of: account, card, free Who pays by default: the company account, each person by card, or free.
charge_mode body one of: used, reserved Charge for places used (default) or every place held.
po_number body string, up to 80 characters
booking_reference body string, up to 80 characters The reference the company gives for this booking, shown beside the PO number (optional). Only for a company that uses booking references.
notes body string, up to 500 characters
POST /api/v2/tms/places/{places}/add

Hold more places for a company

Add unnamed places to a company's existing hold on a date.

tool: tms_places_add scope: training:write retry-safe webhook Training Ops

Needs any of: tms.bookings.manage

Argument In Type About
places * path string
count * body integer 1–500
PATCH /api/v2/tms/places/{places}

Change company place terms

Change release terms, who pays, what is charged, PO number, booking reference or notes. Send only what changes.

tool: tms_places_set_terms scope: training:write Training Ops

Needs any of: tms.bookings.manage

Argument In Type About
places * path string
release_policy body one of: days_before, never
release_days_before body integer 1–90
warn_days_before_release body integer 0–30
pay_mode body one of: account, card, free
charge_mode body one of: used, reserved
po_number body string, up to 80 characters
booking_reference body string, up to 80 characters The reference the company gives for this booking, shown beside the PO number (optional). Only for a company that uses booking references.
notes body string, up to 500 characters
POST /api/v2/tms/places/{places}/fill

Name people on company places

Put people on unnamed places: a user_id, or a name and email (an email that matches an account links it). Each person is emailed a link to register (details, questions, ID, pre-work); the place is confirmed when they finish. Managers can only name people in their own team, and must send consent true (they confirm those people know their details are being passed on). The preview lists who will be emailed.

tool: tms_places_fill scope: training:write confirm first emails people Training Ops

Needs any of: tms.bookings.manage, enrolments.assign

Argument In Type About
places * path string
people * body list of objects (user_id, name, email)
create_accounts body boolean No longer needed: anyone without an account always gets one in the company when their place is named. Accepted and ignored.
consent body boolean An organisation manager must send true: they confirm these people know their name and work email are being given to the training provider so they can be emailed to register. Ask the person before sending it. Staff of the training provider need not send it.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/tms/places/{places}/people/{booking_id}/unfill

Take someone off a company place

Free a named place that person hasn't registered for yet; their link stops working. They are not emailed.

tool: tms_places_unfill scope: training:write Training Ops

Needs any of: tms.bookings.manage, enrolments.assign

Argument In Type About
places * path string
booking_id * path integer From tms_places_get people.
POST /api/v2/tms/places/{places}/people/{booking_id}/payer

Change who pays for a place

For a named place not yet confirmed: the company account, the person by card, or free (staff only). Switching away from card can finish their registration, which confirms the place and emails joining instructions.

tool: tms_places_set_payer scope: training:write confirm first emails peoplemoney Training Ops

Needs any of: tms.bookings.manage, enrolments.assign

Argument In Type About
places * path string
booking_id * path integer
payer * body one of: account, card, free
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/tms/places/{places}/remind

Remind a company to name its places

Email the managers of a company that holds unnamed places on a date, asking them to choose who is going (or give places back), with a link to name people. The same reminder goes out automatically before a release date; this sends it now. Staff only. Preview first: it names the managers.

tool: tms_places_remind scope: training:write confirm first emails people Training Ops

Needs any of: tms.bookings.manage

Argument In Type About
places * path string Company places uuid (tms_places_list).
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/tms/places/{places}/hand-back

Give company places back

Give unnamed places back for sale; anyone on the waitlist is offered them. Named people keep their places.

tool: tms_places_hand_back scope: training:write confirm first emails people Training Ops

Needs any of: tms.bookings.manage, enrolments.assign

Argument In Type About
places * path string
count * body integer 1–500
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
GET /api/v2/tms/changes

What I can change on a booking

For a company's manager, where the training provider has switched it on: what you can change yourself on a place you booked or one for a company you manage. With booking_id: whether that person can be swapped for someone else or moved to another date of the same course, with the dates it can move to, or the reason it cannot (for example too close to the date, or the other dates are a different price). Without booking_id: your bookings that are not company places, each with the same. Only free changes are offered; anything else means contacting the training provider.

tool: tms_places_change_options scope: training:read Training Ops

Needs any of: enrolments.assign

Argument In Type About
booking_id query integer A place: from tms_places_get (company places) or from this tool's own list.
POST /api/v2/tms/changes/{booking_id}/swap

Swap the person on a place

For a company's manager: someone else takes a named, confirmed place on the same date. Only where the training provider allows it and inside their notice period (tms_places_change_options says). Give the new person's name and work email and send consent true (you confirm the new person knows their details are being passed on). The new person is emailed joining instructions and the provider's staff are told. The preview shows who is replaced.

tool: tms_places_swap scope: training:write confirm first emails people Training Ops

Needs any of: enrolments.assign

Argument In Type About
booking_id * path integer
name * body string, up to 150 characters
email * body string, up to 254 characters
consent body boolean Must be true: you confirm the new person knows their name and work email are being given to the training provider. Ask the person before sending it.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/tms/changes/{booking_id}/move

Move a person to another date

For a company's manager: move a named, confirmed place to another date of the same course. Only where the training provider allows it, inside their notice period, and only to a date tms_places_change_options lists (open, with a place free, at the same price). Nothing is charged or refunded. The person is emailed joining instructions for the new date and the provider's staff are told.

tool: tms_places_move scope: training:write confirm first emails people Training Ops

Needs any of: enrolments.assign

Argument In Type About
booking_id * path integer
to_event * body string The uuid of the date to move to, from tms_places_change_options.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.

Teaching

GET /api/v2/tms/teaching

What am I teaching

For trainers: the course dates you are teaching in a range (default the next 14 days), with sessions in local time, venue and number booked.

tool: tms_my_teaching scope: training:read Training Ops

Needs any of: tms.trainer.self

Argument In Type About
from query string
to query string ISO date or date/time (UTC); a date on its own includes that whole day. Default 14 days ahead.
GET /api/v2/tms/events/{event}/register

Get the register

The register for one course date: delegates, attendance per session (present, absent, late or not yet marked) and exam unlock status.

tool: tms_register_get scope: training:read Training Ops

Needs any of: tms.trainer.self, tms.attendance.mark, tms.schedule.manage

Argument In Type About
event * path string
GET /api/v2/tms/my/availability

List my time off and working hours

For a trainer: their booked time off (today onwards) and their regular working hours.

tool: tms_my_availability_list scope: training:read Training Ops

Needs any of: tms.trainer.self

POST /api/v2/tms/my/time-off

Book my time off

For a trainer: book time off (from and to, whole days) so they aren't scheduled. If it clashes with dates they are teaching, it is refused with the clashes named; ask the person, and only then send save_despite_teaching = true (those dates still need another trainer). Refused where the workspace keeps time off to its office: then tell them to ask the office.

tool: tms_my_time_off_add scope: training:write retry-safe Training Ops

Needs any of: tms.trainer.self

Argument In Type About
from * body string (date)
to * body string (date)
reason body one of: holiday, meeting, other
note body string, up to 255 characters
save_despite_teaching body boolean
DELETE /api/v2/tms/my/time-off/{id}

Remove my time off

For a trainer: take back time off they booked (id from tms_my_availability_list).

tool: tms_my_time_off_remove scope: training:write Training Ops

Needs any of: tms.trainer.self

Argument In Type About
id * path integer
POST /api/v2/tms/events/{event}/sessions/{session_id}/attendance

Mark the register

Mark delegates present, late or absent for one session (session ids and booking ids from tms_register_get). Only changes are saved. On the last session of a classroom course, present or late delegates complete the course and their exam opens; where the exam opens on attendance, marking present opens it.

tool: tms_attendance_mark scope: training:write confirm first emails peoplewebhook Training Ops

Needs any of: tms.trainer.self, tms.attendance.mark, tms.schedule.manage

Argument In Type About
event * path string
session_id * path integer
marks * body list of objects (booking_id, state)
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/tms/events/{event}/exam/unlock

Unlock the exam

Open the exam for everyone on the date, or one delegate (booking_id), optionally for a number of minutes only.

tool: tms_exam_unlock scope: training:write Training Ops

Needs any of: tms.exam.unlock, tms.trainer.self

Argument In Type About
event * path string
booking_id body integer Leave out for everyone on the date.
window_minutes body integer 1–10080
note body string, up to 255 characters
POST /api/v2/tms/events/{event}/exam/relock

Re-lock the exam

Close an exam unlock for everyone on the date, or one delegate.

tool: tms_exam_relock scope: training:write Training Ops

Needs any of: tms.exam.unlock, tms.trainer.self

Argument In Type About
event * path string
booking_id body integer
POST /api/v2/tms/events/{event}/bookings/{booking_id}/result

Record a result by hand

Pass a delegate without a digital exam attempt (paper exam, practical, assessor decision). A reason is required. Completes their course and issues the certificate if the course gives one; cannot be undone here.

tool: tms_exam_record_result scope: training:write confirm first emails peoplewebhook Training Ops

Needs any of: tms.exam.unlock, tms.trainer.self

Argument In Type About
event * path string
booking_id * path integer
reason * body string, up to 255 characters
score body number 0–100 Percent, optional.
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.
POST /api/v2/tms/events/{event}/bookings/{booking_id}/extra-attempt

Allow another exam attempt

Give one delegate on a course date one more attempt at the course's exam, as the date's trainer. Only where the course lets the trainer allow one, on the date's own days, for a delegate who has used their attempts without passing, up to the course's number per delegate. It must be used by the end of the date's last day, and the exam opens for them if it is locked. A reason is required. Their earlier attempts stay on record; the learner is not emailed.

tool: tms_exam_extra_attempt scope: training:write confirm first webhook Training Ops

Needs any of: tms.exam.unlock, tms.trainer.self

Argument In Type About
event * path string
booking_id * path integer
reason * body string, up to 255 characters
confirm_token body string Leave out to preview (nothing changes). Send the token from the preview, with the same arguments, to carry it out. Or send it in the X-Confirm-Token header.

Me

GET /api/v2/me

Who am I

The signed-in person (name, email, role, organisation), the workspace, the permissions they hold and the tools available to them. Call this first.

tool: me_get scope: profile
GET /api/v2/my/learning

List my courses

The signed-in person's own courses: progress, deadline, whether it is mandatory or overdue, and completion. status: current (default: in progress), completed, or all. To open one, use my_open_link.

tool: my_learning_list scope: learning
Argument In Type About
status query one of: current, completed, all
GET /api/v2/my/certificates

List my certificates

The signed-in person's own current certificates: when each was issued and expires (valid, expiring within 90 days, expired) and a public link to check it. Also their certificates from external bodies (external_certificates: the awarding body, number and dates), read only.

tool: my_certificates_list scope: learning
GET /api/v2/my/course-dates

List my course dates

Face-to-face course dates the signed-in person is booked on that haven't finished yet: when (local time), where and the booking status.

tool: my_bookings_list scope: learning Training Ops
POST /api/v2/my/enrolments

Enrol myself on a course

Enrol the signed-in person on a free course from the catalogue, with the same rules as the website (open for enrolment, prerequisites done, not hidden from them). No email is sent. Then my_open_link opens it.

tool: my_enrol scope: learning retry-safe

Needs any of: courses.enrol_self

Argument In Type About
course * body string Course id, uuid or slug (my_catalogue_search).

Website assistant

GET /api/v2/public/courses/{course}

Course details and dates

Everything about one course on the website: summary, full description, key facts, what it covers (sections), accreditations, duration, price, how to book, and every upcoming date with venue, availability, price and a booking link. course: the ref from public_courses_search, a course code, or the course title.

tool: public_course_get scope: public Training Ops
Argument In Type About
course * path string, up to 200 characters
GET /api/v2/public/dates

Upcoming course dates

Upcoming dates in date order, for one course or across all courses: date and times, venue, town and postcode, delivery, availability (available, few_left or full; places_left too when the provider shows numbers), price and a booking link. Narrow by course, category, delivery, a date window (from / to, YYYY-MM-DD), a town or venue (location), or only dates with places (available_only). There is no distance search: for the nearest dates to a place, list them and compare the postcodes.

tool: public_dates_list scope: public Training Ops
Argument In Type About
course query string, up to 200 characters A course ref, code or title.
category query string, up to 100 characters
delivery query one of: classroom, online, blended
from query string (date)
to query string (date)
location query string, up to 100 characters A town, city or venue name.
available_only query boolean Only dates with places left.
limit query integer 1–50 At most this many dates (default 15).

* required