This endpoint lets you fetch a candidate under a task by its id.
Query Parameters | Expected Value | Default |
mode | "basic" | "default" | "basic" |
With the "mode" parameter, you can choose to receive a smaller or a bigger candidate object depending on your needs.
If the value of mode is "basic", you will receive:
// "basic" candidate object
{
candidateId: string;
kind: "user" | "temp"; // internal or temporary candidate
taskId: string;
loggedIn: boolean;
fullname?: string;
email?: string;
invitationCode: string;
}
If the value of mode is "detailed", you will receive all of the properties from "basic" and also these properties:
// "detailed" proctoring evidence object:
Basic & {
organizationId: string;
source: "self-registration" | "pre-registration"; // source
active: boolean;
activeAfter: number | null; // seconds
activeBefore: number | null; // seconds
group: string;
tags: Record;
labels: string[];
rating: 1 | 2 | 3 | 4 | 5 | null;
stage: string | null;
}