Examplary
Start for free
Developer docs

Assign session to user

PUThttps://api.examplary.ai/exams/{id}/sessions/{sessionId}/user

Connect an anonymous exam session to a student account, by user ID or email address (inviting a new student if needed). Optionally notifies the student that their results are available for review. Only allowed when the session is not connected to a user yet.

Path parameters

idstringrequired
sessionIdstringrequired

Request body

userstring· starts_with· pattern: ^user_.*required
sendNotificationboolean

Responses

400 — Validation Error

successbooleanrequired

Allowed values:false

errorarray any[]required
dataanyrequired

Requirements

User roles

This endpoint requires the teacher, admin, or owner role to be present.

OAuth scopes

This endpoint requires the exams:write scope to be present.