Student sign-in token
Provision or look up a student in a class and return a short-lived Clerk sign-in token. Use this when students take exams on a custom domain, where Clerk satellite mode blocks normal email-code and OAuth sign-in. Requires a Platform API key. Call from your server only — never from the browser.Endpoints
Full URL:
prod with ct_live_ keys, or dev with ct_test_ keys.
Create sign-in token
Response
Behavior
- The class must belong to your organization and match the API key environment.
- If the student does not exist for that class, Coraltalk creates the Clerk user and enrollment.
- If the student already exists (matched by email or
orgInternalIdwithin the class), a new token is issued for the existing account. - Class capacity limits apply; a full class returns
409with codeconflict.
classId from Classes. For exam links, the class is usually the exam’s taAgent field.
Client usage
After your backend receivesdata.token, the exam page on the custom domain completes sign-in: