CodeSignal
App · 22 actions
Screen candidates with CodeSignal: send assessment invitations, follow their sessions and scores, and set up live coding interviews.
Actions
| Action | What it does |
|---|---|
| Archive a session | Archive a candidate's test session. |
| Change a session's time limit | Give one candidate a different time limit, in minutes. |
| Create a live interview | Create a live coding interview and get its link. |
| Delete a live interview | Delete a live interview. |
| Delete a test session | Delete a candidate's test session, cancelling an invitation they haven't used. |
| Extend an invitation | Push back when an unstarted invitation expires. |
| Get a live interview | Read a live interview: its candidate, status, links and dates. |
| Get a test session | Read a candidate's test session: status, score, dates and the result link. |
| Get an assessment | Read one assessment (company test). |
| Get the company | Read the CodeSignal company the API key belongs to. |
| Grade a question | Set the score for one question of a finished session, such as a free-text answer. |
| Invite a candidate to an assessment | Create a test session for a candidate, which emails them an invitation unless you choose otherwise. |
| List an assessment's sessions | List the candidates' sessions of an assessment, most recently finished first. |
| List assessment labels | List the labels the company puts on its assessments. |
| List assessments | List the company's assessments (company tests), or find them by title or label. |
| List interview templates | List the company's live interview templates, or find them by name. |
| List live interviews | List live interviews, or a candidate's interviews by their email. |
| Mark a session graded | Mark a session's result as fully graded. |
| Reactivate a session | Give a candidate whose session expired or ended another chance, as a new session. |
| Resend an invitation | Email the candidate their test invitation again. |
| Unarchive a session | Bring back an archived test session. |
| Update a live interview | Change a live interview's candidate, template, interviewer or settings. |
Archive a session
Archive a candidate's test session.
Inputs
- Session ID
session_idtextRequired - The candidate's test session ID.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"createDate": 1,
"customDuration": 1,
"expirationDate": 1,
"externalId": "example",
"finishDate": 1,
"id": "example",
"integrityReviewFinalized": true,
"integrityReviewSuggested": true,
"invitationUrl": "example",
"labels": [
"example"
],
"maxScore": 1,
"result": {
"score": 1,
"solvedTaskCount": 1,
"url": "example"
},
"startDate": 1,
"status": "pending",
"taskCount": 1,
"test": {
"id": "example",
"title": "example"
},
"testTaker": {
"email": "example",
"firstName": "example",
"id": "example",
"lastName": "example"
},
"verificationStatus": "pending"
}
}Change a session's time limit
Give one candidate a different time limit, in minutes.
Inputs
- Session ID
session_idtextRequired - The candidate's test session ID.
- Time limit (minutes)
duration_minutesnumberRequired - The time limit, in minutes.At least 1.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"createDate": 1,
"customDuration": 1,
"expirationDate": 1,
"externalId": "example",
"finishDate": 1,
"id": "example",
"integrityReviewFinalized": true,
"integrityReviewSuggested": true,
"invitationUrl": "example",
"labels": [
"example"
],
"maxScore": 1,
"result": {
"score": 1,
"solvedTaskCount": 1,
"url": "example"
},
"startDate": 1,
"status": "pending",
"taskCount": 1,
"test": {
"id": "example",
"title": "example"
},
"testTaker": {
"email": "example",
"firstName": "example",
"id": "example",
"lastName": "example"
},
"verificationStatus": "pending"
}
}Create a live interview
Create a live coding interview and get its link.
Inputs
- Candidate email
candidate_emailtext - The candidate's email address.
- Candidate name
candidate_nametext - The candidate's full name.
- Template
template_idtext - The interview template to start from.
- Lock template
lock_templatetrue/false - Whether the template can't be changed during the interview.
- Interviewer ID
interviewer_idtext - The CodeSignal user ID of the interviewer.
- Team ID
interview_team_idtext - The ID of the team the interview belongs to.
- Expires in (hours)
expires_in_hoursnumber - How long the interview link works, from 1 to 336 hours.From 1 to 336.
- Track location
track_candidate_locationtrue/false - Whether to track the candidate's location from their IP address.
- Block copying
disable_description_copytrue/false - Whether to stop the candidate copying the question's description.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"candidateEmail": "example",
"candidateId": "example",
"candidateName": "example",
"finishDate": 1,
"id": "example",
"interviewer": {
"id": "example",
"username": "example"
},
"proctoringStatus": "example",
"shortenedUrl": "example",
"startDate": 1,
"status": "pending",
"template": {
"id": "example",
"name": "example"
},
"url": "example"
}
}Delete a live interview
Delete a live interview.
Inputs
- Interview ID
interview_idtextRequired - The live interview's ID.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"deleted": true,
"id": "example"
}
}Delete a test session
Delete a candidate's test session, cancelling an invitation they haven't used.
Inputs
- Session ID
session_idtextRequired - The candidate's test session ID.
- Email the candidate
send_emailtrue/false - Whether to email the candidate that it was cancelled.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"deleted": true,
"id": "example"
}
}Extend an invitation
Push back when an unstarted invitation expires. It can only be made later.
Inputs
- Session ID
session_idtextRequired - The candidate's test session ID.
- Expires at
expires_atdate and timeRequired - When the invitation should now expire.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"createDate": 1,
"customDuration": 1,
"expirationDate": 1,
"externalId": "example",
"finishDate": 1,
"id": "example",
"integrityReviewFinalized": true,
"integrityReviewSuggested": true,
"invitationUrl": "example",
"labels": [
"example"
],
"maxScore": 1,
"result": {
"score": 1,
"solvedTaskCount": 1,
"url": "example"
},
"startDate": 1,
"status": "pending",
"taskCount": 1,
"test": {
"id": "example",
"title": "example"
},
"testTaker": {
"email": "example",
"firstName": "example",
"id": "example",
"lastName": "example"
},
"verificationStatus": "pending"
}
}Get a live interview
Read a live interview: its candidate, status, links and dates.
Inputs
- Interview ID
interview_idtextRequired - The live interview's ID.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"candidateEmail": "example",
"candidateId": "example",
"candidateName": "example",
"finishDate": 1,
"id": "example",
"interviewer": {
"id": "example",
"username": "example"
},
"proctoringStatus": "example",
"shortenedUrl": "example",
"startDate": 1,
"status": "pending",
"template": {
"id": "example",
"name": "example"
},
"url": "example"
}
}Get a test session
Read a candidate's test session: status, score, dates and the result link.
Inputs
- Session ID
session_idtextRequired - The candidate's test session ID.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"createDate": 1,
"customDuration": 1,
"expirationDate": 1,
"externalId": "example",
"finishDate": 1,
"id": "example",
"integrityReviewFinalized": true,
"integrityReviewSuggested": true,
"invitationUrl": "example",
"labels": [
"example"
],
"maxScore": 1,
"result": {
"score": 1,
"solvedTaskCount": 1,
"url": "example"
},
"startDate": 1,
"status": "pending",
"taskCount": 1,
"test": {
"id": "example",
"title": "example"
},
"testTaker": {
"email": "example",
"firstName": "example",
"id": "example",
"lastName": "example"
},
"verificationStatus": "pending"
}
}Get an assessment
Read one assessment (company test).
Inputs
- Assessment
test_idtextRequired - The assessment (company test).
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"createDate": 1,
"duration": 1,
"externalTitle": "example",
"id": "example",
"internalDescription": "example",
"labels": [
"example"
],
"title": "example"
}
}Get the company
Read the CodeSignal company the API key belongs to.
Inputs
None.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"alias": "example",
"id": "example",
"name": "example",
"ownedEmailDomains": [
"example"
],
"status": "example"
}
}Grade a question
Set the score for one question of a finished session, such as a free-text answer.
Inputs
- Session ID
session_idtextRequired - The candidate's test session ID.
- Question ID
question_idtextRequired - The question's (task's) ID.
- Score
scorenumberRequired - The score to give.At least 0.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"createDate": 1,
"customDuration": 1,
"expirationDate": 1,
"externalId": "example",
"finishDate": 1,
"id": "example",
"integrityReviewFinalized": true,
"integrityReviewSuggested": true,
"invitationUrl": "example",
"labels": [
"example"
],
"maxScore": 1,
"result": {
"score": 1,
"solvedTaskCount": 1,
"url": "example"
},
"startDate": 1,
"status": "pending",
"taskCount": 1,
"test": {
"id": "example",
"title": "example"
},
"testTaker": {
"email": "example",
"firstName": "example",
"id": "example",
"lastName": "example"
},
"verificationStatus": "pending"
}
}Invite a candidate to an assessment
Create a test session for a candidate, which emails them an invitation unless you choose otherwise.
Inputs
- Assessment
test_idtextRequired - The assessment to invite them to.
- Candidate email
candidate_emailtext - The candidate's email address.
- First name
candidate_first_nametext - The candidate's first name.
- Last name
candidate_last_nametext - The candidate's last name.
- Don't email the invitation
no_invitation_emailtrue/false - Yes to create the session without emailing the candidate, for example to send the link yourself.
- Reuse an open invitation
prefer_existingtrue/false - Yes to return the candidate's unfinished invitation to this assessment, if they have one, instead of a new one.
- Time limit (minutes)
duration_minutesnumber - How long the candidate has, in minutes, in place of the assessment's own time limit.At least 1.
- Invitation lasts (hours)
expires_in_hoursnumber - How long the invitation lasts before it expires, in hours.At least 1.
- External ID
external_idtext - Your own ID for the candidate, such as an applicant ID. It comes back on the session.
- Redirect URL
redirect_urltext - Where to send the candidate when they finish.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"createDate": 1,
"customDuration": 1,
"expirationDate": 1,
"externalId": "example",
"finishDate": 1,
"id": "example",
"integrityReviewFinalized": true,
"integrityReviewSuggested": true,
"invitationUrl": "example",
"labels": [
"example"
],
"maxScore": 1,
"result": {
"score": 1,
"solvedTaskCount": 1,
"url": "example"
},
"startDate": 1,
"status": "pending",
"taskCount": 1,
"test": {
"id": "example",
"title": "example"
},
"testTaker": {
"email": "example",
"firstName": "example",
"id": "example",
"lastName": "example"
},
"verificationStatus": "pending"
}
}List an assessment's sessions
List the candidates' sessions of an assessment, most recently finished first.
Inputs
- Assessment
test_idtextRequired - The assessment.
- Limit
limitnumber - How many sessions to return, up to 100.From 1 to 100.
- Skip
offsetnumber - How many sessions to skip, to read the next page.At least 0.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"count": 1,
"has_next_page": true,
"items": [
{
"createDate": 1,
"customDuration": 1,
"expirationDate": 1,
"externalId": "example",
"finishDate": 1,
"id": "example",
"integrityReviewFinalized": true,
"integrityReviewSuggested": true,
"invitationUrl": "example",
"labels": [
"example"
],
"maxScore": 1,
"result": {
"score": 1,
"solvedTaskCount": 1,
"url": "example"
},
"startDate": 1,
"status": "pending",
"taskCount": 1,
"test": {
"id": "example",
"title": "example"
},
"testTaker": {
"email": "example",
"firstName": "example",
"id": "example",
"lastName": "example"
},
"verificationStatus": "pending"
}
],
"total_count": 1
}
}List assessment labels
List the labels the company puts on its assessments.
Inputs
- Search
searchtext - Only labels whose title contains these words.
- Limit
limitnumber - How many labels to return, up to 100.From 1 to 100.
- Skip
offsetnumber - How many labels to skip, to read the next page.At least 0.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"count": 1,
"has_next_page": true,
"items": [
{
"title": "example",
"variant": "example"
}
],
"total_count": 1
}
}List assessments
List the company's assessments (company tests), or find them by title or label.
Inputs
- Title
titletext - Only assessments whose title contains these words.
- Labels
labelslist - Only assessments with all of these labels.
- Sort by
sort_bytext - What to sort by. Title if left empty.One of:
title,createDate(Date created). - Direction
sort_directiontext - The sort direction. Ascending if left empty.One of:
asc(Ascending),desc(Descending). - Limit
limitnumber - How many assessments to return, up to 100.From 1 to 100.
- Skip
offsetnumber - How many assessments to skip, to read the next page.At least 0.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"count": 1,
"has_next_page": true,
"items": [
{
"createDate": 1,
"duration": 1,
"externalTitle": "example",
"id": "example",
"internalDescription": "example",
"labels": [
"example"
],
"title": "example"
}
],
"total_count": 1
}
}List interview templates
List the company's live interview templates, or find them by name.
Inputs
- Name
nametext - Only templates whose name contains these words.
- Limit
limitnumber - How many templates to return, up to 100.From 1 to 100.
- Skip
offsetnumber - How many templates to skip, to read the next page.At least 0.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"count": 1,
"has_next_page": true,
"items": [
{
"canEdit": true,
"defaultExpirationTime": 1,
"hasAssociatedInterviews": true,
"id": "example",
"isCompanyDefault": true,
"name": "example",
"team": {
"id": "example",
"title": "example"
}
}
],
"total_count": 1
}
}List live interviews
List live interviews, or a candidate's interviews by their email.
Inputs
- Candidate email
candidate_emailtext - Only this candidate's interviews.
- Limit
limitnumber - How many interviews to return, up to 100.From 1 to 100.
- Skip
offsetnumber - How many interviews to skip, to read the next page.At least 0.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"count": 1,
"has_next_page": true,
"items": [
{
"candidateEmail": "example",
"candidateId": "example",
"candidateName": "example",
"finishDate": 1,
"id": "example",
"interviewer": {
"id": "example",
"username": "example"
},
"proctoringStatus": "example",
"shortenedUrl": "example",
"startDate": 1,
"status": "pending",
"template": {
"id": "example",
"name": "example"
},
"url": "example"
}
],
"total_count": 1
}
}Mark a session graded
Mark a session's result as fully graded.
Inputs
- Session ID
session_idtextRequired - The candidate's test session ID.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"createDate": 1,
"customDuration": 1,
"expirationDate": 1,
"externalId": "example",
"finishDate": 1,
"id": "example",
"integrityReviewFinalized": true,
"integrityReviewSuggested": true,
"invitationUrl": "example",
"labels": [
"example"
],
"maxScore": 1,
"result": {
"score": 1,
"solvedTaskCount": 1,
"url": "example"
},
"startDate": 1,
"status": "pending",
"taskCount": 1,
"test": {
"id": "example",
"title": "example"
},
"testTaker": {
"email": "example",
"firstName": "example",
"id": "example",
"lastName": "example"
},
"verificationStatus": "pending"
}
}Reactivate a session
Give a candidate whose session expired or ended another chance, as a new session.
Inputs
- Session ID
session_idtextRequired - The candidate's test session ID.
- Email the candidate
send_emailtrue/false - Whether to email the candidate about it.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"createDate": 1,
"customDuration": 1,
"expirationDate": 1,
"externalId": "example",
"finishDate": 1,
"id": "example",
"integrityReviewFinalized": true,
"integrityReviewSuggested": true,
"invitationUrl": "example",
"labels": [
"example"
],
"maxScore": 1,
"result": {
"score": 1,
"solvedTaskCount": 1,
"url": "example"
},
"startDate": 1,
"status": "pending",
"taskCount": 1,
"test": {
"id": "example",
"title": "example"
},
"testTaker": {
"email": "example",
"firstName": "example",
"id": "example",
"lastName": "example"
},
"verificationStatus": "pending"
}
}Resend an invitation
Email the candidate their test invitation again.
Inputs
- Session ID
session_idtextRequired - The candidate's test session ID.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"createDate": 1,
"customDuration": 1,
"expirationDate": 1,
"externalId": "example",
"finishDate": 1,
"id": "example",
"integrityReviewFinalized": true,
"integrityReviewSuggested": true,
"invitationUrl": "example",
"labels": [
"example"
],
"maxScore": 1,
"result": {
"score": 1,
"solvedTaskCount": 1,
"url": "example"
},
"startDate": 1,
"status": "pending",
"taskCount": 1,
"test": {
"id": "example",
"title": "example"
},
"testTaker": {
"email": "example",
"firstName": "example",
"id": "example",
"lastName": "example"
},
"verificationStatus": "pending"
}
}Unarchive a session
Bring back an archived test session.
Inputs
- Session ID
session_idtextRequired - The candidate's test session ID.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"createDate": 1,
"customDuration": 1,
"expirationDate": 1,
"externalId": "example",
"finishDate": 1,
"id": "example",
"integrityReviewFinalized": true,
"integrityReviewSuggested": true,
"invitationUrl": "example",
"labels": [
"example"
],
"maxScore": 1,
"result": {
"score": 1,
"solvedTaskCount": 1,
"url": "example"
},
"startDate": 1,
"status": "pending",
"taskCount": 1,
"test": {
"id": "example",
"title": "example"
},
"testTaker": {
"email": "example",
"firstName": "example",
"id": "example",
"lastName": "example"
},
"verificationStatus": "pending"
}
}Update a live interview
Change a live interview's candidate, template, interviewer or settings.
Inputs
- Interview ID
interview_idtextRequired - The live interview's ID.
- Candidate email
candidate_emailtext - The candidate's email address.
- Candidate name
candidate_nametext - The candidate's full name.
- Template
template_idtext - The interview template to start from.
- Lock template
lock_templatetrue/false - Whether the template can't be changed during the interview.
- Interviewer ID
interviewer_idtext - The CodeSignal user ID of the interviewer.
- Team ID
interview_team_idtext - The ID of the team the interview belongs to.
- Expires in (hours)
expires_in_hoursnumber - How long the interview link works, from 1 to 336 hours.From 1 to 336.
- Track location
track_candidate_locationtrue/false - Whether to track the candidate's location from their IP address.
- Block copying
disable_description_copytrue/false - Whether to stop the candidate copying the question's description.
Outputs
dataobject- The response from CodeSignal.
Example output
{
"data": {
"candidateEmail": "example",
"candidateId": "example",
"candidateName": "example",
"finishDate": 1,
"id": "example",
"interviewer": {
"id": "example",
"username": "example"
},
"proctoringStatus": "example",
"shortenedUrl": "example",
"startDate": 1,
"status": "pending",
"template": {
"id": "example",
"name": "example"
},
"url": "example"
}
}