Examplary
Start for free
Developer docs

Create sign-in link

POSThttps://api.examplary.ai/permissions/{resource}/sign-in-links

Create a personal link that signs a student in and opens a test or practice space they have access to. The link works once, and can't be created in workspaces that require single sign-on. Treat it like a password: anyone with the link is signed in as the student.

Path parameters

resourcestringrequired

The ID of the resource to assign the permission on, e.g. `exam_1234`.

Request body

actorstring· starts_with· pattern: ^user_.*required

The ID of the student, e.g. `user_1234`.

expiresInDaysinteger· >= 1· <= 30· default: 7

How many days the link stays valid. Defaults to 7, at most 30.

Responses

400 — The user isn't a student, has no access to the resource, or the workspace requires single sign-on.

403 — No access to manage this resource.

404 — Student not found.

429 — Rate limit exceeded

Requirements

Rate limit

100 requests per minute per user.

OAuth scopes

This endpoint requires the sign-in-links:write scope to be present.