CodeSignal

App · 22 actions

Screen candidates with CodeSignal: send assessment invitations, follow their sessions and scores, and set up live coding interviews.

Actions

ActionWhat it does
Archive a sessionArchive a candidate's test session.
Change a session's time limitGive one candidate a different time limit, in minutes.
Create a live interviewCreate a live coding interview and get its link.
Delete a live interviewDelete a live interview.
Delete a test sessionDelete a candidate's test session, cancelling an invitation they haven't used.
Extend an invitationPush back when an unstarted invitation expires.
Get a live interviewRead a live interview: its candidate, status, links and dates.
Get a test sessionRead a candidate's test session: status, score, dates and the result link.
Get an assessmentRead one assessment (company test).
Get the companyRead the CodeSignal company the API key belongs to.
Grade a questionSet the score for one question of a finished session, such as a free-text answer.
Invite a candidate to an assessmentCreate a test session for a candidate, which emails them an invitation unless you choose otherwise.
List an assessment's sessionsList the candidates' sessions of an assessment, most recently finished first.
List assessment labelsList the labels the company puts on its assessments.
List assessmentsList the company's assessments (company tests), or find them by title or label.
List interview templatesList the company's live interview templates, or find them by name.
List live interviewsList live interviews, or a candidate's interviews by their email.
Mark a session gradedMark a session's result as fully graded.
Reactivate a sessionGive a candidate whose session expired or ended another chance, as a new session.
Resend an invitationEmail the candidate their test invitation again.
Unarchive a sessionBring back an archived test session.
Update a live interviewChange a live interview's candidate, template, interviewer or settings.

Archive a session

Archive a candidate's test session.

Inputs

Session IDsession_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 IDsession_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 emailcandidate_emailtext
The candidate's email address.
Candidate namecandidate_nametext
The candidate's full name.
Templatetemplate_idtext
The interview template to start from.
Lock templatelock_templatetrue/false
Whether the template can't be changed during the interview.
Interviewer IDinterviewer_idtext
The CodeSignal user ID of the interviewer.
Team IDinterview_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 locationtrack_candidate_locationtrue/false
Whether to track the candidate's location from their IP address.
Block copyingdisable_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 IDinterview_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 IDsession_idtextRequired
The candidate's test session ID.
Email the candidatesend_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 IDsession_idtextRequired
The candidate's test session ID.
Expires atexpires_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 IDinterview_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 IDsession_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

Assessmenttest_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 IDsession_idtextRequired
The candidate's test session ID.
Question IDquestion_idtextRequired
The question's (task's) ID.
ScorescorenumberRequired
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

Assessmenttest_idtextRequired
The assessment to invite them to.
Candidate emailcandidate_emailtext
The candidate's email address.
First namecandidate_first_nametext
The candidate's first name.
Last namecandidate_last_nametext
The candidate's last name.
Don't email the invitationno_invitation_emailtrue/false
Yes to create the session without emailing the candidate, for example to send the link yourself.
Reuse an open invitationprefer_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 IDexternal_idtext
Your own ID for the candidate, such as an applicant ID. It comes back on the session.
Redirect URLredirect_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

Assessmenttest_idtextRequired
The assessment.
Limitlimitnumber
How many sessions to return, up to 100.From 1 to 100.
Skipoffsetnumber
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

Searchsearchtext
Only labels whose title contains these words.
Limitlimitnumber
How many labels to return, up to 100.From 1 to 100.
Skipoffsetnumber
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

Titletitletext
Only assessments whose title contains these words.
Labelslabelslist
Only assessments with all of these labels.
Sort bysort_bytext
What to sort by. Title if left empty.One of: title, createDate (Date created).
Directionsort_directiontext
The sort direction. Ascending if left empty.One of: asc (Ascending), desc (Descending).
Limitlimitnumber
How many assessments to return, up to 100.From 1 to 100.
Skipoffsetnumber
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

Namenametext
Only templates whose name contains these words.
Limitlimitnumber
How many templates to return, up to 100.From 1 to 100.
Skipoffsetnumber
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 emailcandidate_emailtext
Only this candidate's interviews.
Limitlimitnumber
How many interviews to return, up to 100.From 1 to 100.
Skipoffsetnumber
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 IDsession_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 IDsession_idtextRequired
The candidate's test session ID.
Email the candidatesend_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 IDsession_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 IDsession_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 IDinterview_idtextRequired
The live interview's ID.
Candidate emailcandidate_emailtext
The candidate's email address.
Candidate namecandidate_nametext
The candidate's full name.
Templatetemplate_idtext
The interview template to start from.
Lock templatelock_templatetrue/false
Whether the template can't be changed during the interview.
Interviewer IDinterviewer_idtext
The CodeSignal user ID of the interviewer.
Team IDinterview_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 locationtrack_candidate_locationtrue/false
Whether to track the candidate's location from their IP address.
Block copyingdisable_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"
  }
}

On this page