1
Generate an API key
Open the Developer API page, enter a descriptive key name, and select Generate key.Copy the key immediately. TrainerTwin only displays the full value once.
2
Store the key on your server
Save the key in your platform’s secret manager or server environment.
3
List your learners
Send the key in the A successful response returns organization learners, pending invitations, and pagination metadata.
x-api-key header.4
Assign a published scenario
Use a learner ID returned by the users endpoint and a published scenario slug from your TrainerTwin dashboard.
Postman collection
Download the TrainerTwin API Postman collection and import it into Postman (File → Import). Then set the apiKey collection variable to your tt_... key — every request already sends it in the x-api-key header.
Next steps
Authentication
Understand scopes, expiration, and revocation.
Assignments guide
Learn assignment behavior and email delivery semantics.