Assessments
Assign
Assign a candidate to an assessment and get the interview link.
Requires ASSIGN_CANDIDATE_TO_ASSESSMENT. Both the candidate and the assessment must belong to your
organisation, or the request fails with NOT_FOUND.
mutation AssignCandidateToAssessment($input: DeveloperAssignCandidateInput!) {
developerAssignCandidateToAssessment(input: $input) {
assessmentSessionId
interviewUrl
token
tokenExpiresAt
emailSent
}
}{
"input": {
"candidateId": "clv1a...",
"assessmentId": "clv2b...",
"sendEmail": true,
"expiryDays": 3,
"callbackUrl": "https://your-app.example.com/hooks/scout",
"externalReference": "your-internal-id-12345"
}
}sendEmaildefaults totrue- setfalseto deliverinterviewUrlyourself.expiryDaysdefaults to3and controls how long the interview link stays valid.interviewUrlandtokenare both returned so you can either redirect the candidate directly or store the token for your own link generation.callbackUrlis optional. When set, Scout Select willPOSTa signed webhook to that URL once the report is ready (or fails to generate) instead of you having to poll Report Status- see Webhooks. It requires API-key authentication (rejected with
BAD_USER_INPUTfor org-admin session callers), must be HTTPS, and must match your organization's allowed webhook domains if you've configured one (see Authentication).
- see Webhooks. It requires API-key authentication (rejected with
externalReferenceis optional and echoed back verbatim in the webhook payload, useful for correlating the callback with your own record without an extra lookup.