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.
Next steps
Authentication
Understand scopes, expiration, and revocation.
Assignments guide
Learn assignment behavior and email delivery semantics.