Use the TrainerTwin API to manage learners, inspect practice sessions, and assign published role-play scenarios from your own platform.

Quickstart

Create a key and make your first API request.

Authentication

Learn how organization-scoped API keys work.

Manage learners

Invite, list, update, and remove organization learners.

Assign role-plays

Assign published scenarios and synchronize recommendations.

Base URL

All requests and responses use JSON unless the endpoint returns 204 No Content.
The API is designed for server-to-server integrations. Never expose an API key in browser or mobile application code.

What the API covers

Scenario, persona, domain, knowledge, and voice configuration remain dashboard-only.
Open the API reference tab to view every endpoint, parameter, request body, response, and generated code example.