Codility

App · 20 actions

Manage assessment invitations and interviews, and look up sessions and reports.

Actions

ActionWhat it does
Cancel an assessment sessionCancels a test session (ticket) if it is not already canceled and can be canceled.
Create an assessment invitationInvites candidates to a specific test (campaign) by creating tickets for them.
Create an embeddable report linkYou can retrieve a temporary link to the candidate report.
Create an embeddable similarity report linkGenerates an embed similarity report for a specific test session (ticket) and returns a tokenized URL.
Create an interviewCreates a new Interview with the specified parameters.
Delete an interviewDeletes an interview with the specified ID.
Get an assessmentReturns detailed information about a specific test (campaign), including its properties and associated team.
Get an assessment sessionReturns detailed information about a specific test session (ticket), including candidate data and status.
Get available creditsRetrieve the current amount of available credits for the account.
Get session integrity insightsRetrieves integrity insights for a specific test session (ticket).
Get the accountRestful API endpoint to retrieve account information, including links to credit level and user login history.
Get the default email templateThe default email template for the authenticated account.
List assessment sessionsReturns a list of test sessions (tickets) visible to the user, with optional filtering and pagination.
List assessmentsReturns a list of tests (campaigns) visible to the user, with optional filtering and pagination.
List interview templatesReturns a list of interview templates available for the current user.
List saved email templatesList of saved email templates for the authenticated user.
List sessions for an assessmentReturns a list of test sessions (tickets) visible to the user, with optional filtering and pagination.
List user loginsReturns a paginated list of user login events for the account, ordered by timestamp descending.
Send an assessment invitation emailThis endpoint allows you to send or resend an invitation email to a candidate for a test session.
Update an interviewUpdates an interview with the specified ID.

Cancel an assessment session

Cancels a test session (ticket) if it is not already canceled and can be canceled.

Inputs

Session IDsession_idtextRequired
A unique value identifying this ticket.

Outputs

dataobject
The response from cancel an assessment session.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": "example"
  },
  "has_more": false,
  "next_cursor": null
}

Create an assessment invitation

Invites candidates to a specific test (campaign) by creating tickets for them.

Inputs

Testtest_idnumberRequired
A unique integer value identifying this campaign.
CandidatescandidateslistRequired
Candidates.

Outputs

dataobject
The response from create an assessment invitation.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "candidates": [
      {
        "id": "example",
        "session_id": "QA-TICKET",
        "session_url": "https://codility.com/api/sessions/QA-TICKET/",
        "test_link": "https://example.com/"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}

You can retrieve a temporary link to the candidate report.

Inputs

Session IDsession_idtextRequired
A unique value identifying this ticket.
Expiration timeexpiration_timenumber
Optional expiration time in minutes.From 15 to 129600.

Outputs

dataobject
The response from create an embeddable report link.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "url": "https://example.com/",
    "valid_until": "2026-11-18T12:00:00Z"
  },
  "has_more": false,
  "next_cursor": null
}

Generates an embed similarity report for a specific test session (ticket) and returns a tokenized URL.

Inputs

Session IDsession_idtextRequired
The unique identifier of the Session (Ticket) to retrieve the similarity report for.
Expiration timeexpiration_timenumber
Optional expiration time in minutes.From 15 to 129600.

Outputs

dataobject
The response from create an embeddable similarity report link.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "url": "https://example.com/",
    "valid_until": "2026-11-18T12:00:00Z"
  },
  "has_more": false,
  "next_cursor": null
}

Create an interview

Creates a new Interview with the specified parameters.

Inputs

Room nameroom_nametext
The name that will be displayed in the Codility interface.
Templatetemplate_idnumber
The ID of the template that will be used for the interview.
Candidate emailcandidate_emailtext
The email of the candidate who will be invited to the interview.
Candidate first namecandidate_first_nametext
The first name of the candidate who will be invited to the interview.
Candidate last namecandidate_last_nametext
The last name of the candidate who will be invited to the interview.
Scheduled start datescheduled_start_datedate and time
The date and time when the interview will start.
Scheduled durationscheduled_durationnumber
The duration of the interview in minutes (integer from 1 to 600).From 1 to 600.
Assessment IDassessment_idtext
The ID of the Screen assessment.
Campaign IDcampaign_idnumber
The ID of the test (campaign).
Interviewer emailsinterviewer_emailslist
A list of emails of the interviewers who will be invited to the interview.

Outputs

dataobject
The response from create an interview.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "access_code": "example",
    "session_url": "https://example.com/",
    "test_url": "https://example.com/"
  },
  "has_more": false,
  "next_cursor": null
}

Delete an interview

Deletes an interview with the specified ID.

Inputs

Session IDsession_idtextRequired
Session ID.

Outputs

dataobject
The response from delete an interview.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "success": true
  },
  "has_more": false,
  "next_cursor": null
}

Get an assessment

Returns detailed information about a specific test (campaign), including its properties and associated team.

Inputs

Testtest_idnumberRequired
A unique integer value identifying this campaign.

Outputs

dataobject
The response from get an assessment.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "create_date": "2026-11-18T12:00:00Z",
    "id": 1,
    "invite_url": "https://example.com/",
    "is_archived": true,
    "name": "example",
    "possible_total_score": 1,
    "public_test_link": "example",
    "sessions_url": "https://example.com/",
    "test_setup": {
      "allowed_languages": [],
      "task_names": [],
      "tasks": [],
      "timelimit_minutes": 1
    },
    "time_limit": 1,
    "total_number_of_tasks": 1,
    "url": "https://example.com/"
  },
  "has_more": false,
  "next_cursor": null
}

Get an assessment session

Returns detailed information about a specific test session (ticket), including candidate data and status.

Inputs

Session IDsession_idtextRequired
A unique value identifying this ticket.

Outputs

dataobject
The response from get an assessment session.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "access_data": [
      {
        "accessor_type": {},
        "created_at": "2026-11-18T12:00:00Z",
        "http_accept_language": "example",
        "http_user_agent": "example",
        "ip": "example"
      }
    ],
    "campaign_url": "https://example.com/",
    "cancel_url": "https://example.com/",
    "candidate": "example",
    "candidate_data": {
      "academic_degree": "example",
      "additional_data": {},
      "field_of_study": "example",
      "profile_url": "https://example.com/",
      "programming_experience": "example",
      "school": "example"
    },
    "codelive": {
      "access_code": "example",
      "candidate_start_date": "2026-11-18T12:00:00Z",
      "last_activity_date": "2026-11-18T12:00:00Z",
      "notes": [],
      "scorecard": {}
    },
    "create_date": "2026-11-18T12:00:00Z",
    "email": "qa@example.com",
    "evaluation": {
      "max_result": 1,
      "result": 1,
      "tasks": []
    },
    "feedback_link": "https://example.com/",
    "first_name": "example",
    "integrity": {
      "risk": {}
    },
    "is_expired": true,
    "last_name": "example",
    "pdf_report_url": "https://example.com/",
    "report_link": "https://example.com/",
    "reviews": [
      {
        "feedback": "example",
        "recommendation": "thumbs-up",
        "reviewer": "example"
      }
    ],
    "similarity": {
      "embed_url": "https://example.com/",
      "icon": "example",
      "text": "example"
    },
    "skills_proficiency_levels": [
      {
        "category": "Skill",
        "name": "example",
        "proficiency_level": 1,
        "slug": "example"
      }
    ],
    "start_codelive_url": "https://example.com/",
    "start_date": "2026-11-18T12:00:00Z",
    "test_link": "https://example.com/",
    "url": "https://example.com/"
  },
  "has_more": false,
  "next_cursor": null
}

Get available credits

Retrieve the current amount of available credits for the account.

Inputs

None.

Outputs

dataobject
The response from get available credits.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "credits_available": 1,
    "level": {},
    "message": "example"
  },
  "has_more": false,
  "next_cursor": null
}

Get session integrity insights

Retrieves integrity insights for a specific test session (ticket).

Inputs

Ticket IDticket_idtextRequired
The ID of the test session (ticket) to retrieve integrity insights for.

Outputs

dataobject
The response from get session integrity insights.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "account_id": "example",
    "assessment_id": "example",
    "assessment_integrity_status": "example",
    "assessment_passing_score": 1,
    "assessment_reports": [],
    "assessment_score": 1,
    "assessment_status": "example",
    "campaign_id": "example",
    "created_at": 1,
    "evaluations": [],
    "integrity_risk": {},
    "source_environment": "example",
    "updated_at": 1
  },
  "has_more": false,
  "next_cursor": null
}

Get the account

Restful API endpoint to retrieve account information, including links to credit level and user login history.

Inputs

None.

Outputs

dataobject
The response from get the account.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "credit_level": "https://example.com/",
    "user_logins": "https://example.com/"
  },
  "has_more": false,
  "next_cursor": null
}

Get the default email template

The default email template for the authenticated account.

Inputs

None.

Outputs

dataobject
The response from get the default email template.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "content": "example",
    "reply_to": "qa@example.com",
    "subject": "example"
  },
  "has_more": false,
  "next_cursor": null
}

List assessment sessions

Returns a list of test sessions (tickets) visible to the user, with optional filtering and pagination.

Inputs

Business domainbusiness_domaintext
Restrict returned sessions to a single business domain: 'hire' for hiring sessions, 'csi' for Skills Intelligence sessions.One of: csi, hire.
Create date 0create_date_0date and time
Create date 0.
Create date 1create_date_1date and time
Create date 1.
Extra fieldsextra_fieldstext
Include extra fields in the response, comma separated.
Orderingorderingtext
Which field to use when ordering the results.
Pagepagenumber
A page number within the paginated result set.At least 1.
Start date 0start_date_0date and time
Start date 0.
Start date 1start_date_1date and time
Start date 1.

Outputs

dataobject
The response from list assessment sessions.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "count": 1,
    "next": "https://example.com/",
    "previous": "https://example.com/",
    "results": [
      {
        "campaign_url": "https://example.com/",
        "candidate": "example",
        "close_date": "2026-11-18T12:00:00Z",
        "create_date": "2026-11-18T12:00:00Z",
        "email": "qa@example.com",
        "email_of_invited_by": "example",
        "evaluation": {},
        "first_name": "example",
        "id": "example",
        "integrity": {},
        "invite_expiration_date": "2026-11-18T12:00:00Z",
        "invited_by": "example",
        "last_name": "example",
        "proctoring": {},
        "reviews": [],
        "similarity": {},
        "skills_proficiency_levels": [],
        "start_date": "2026-11-18T12:00:00Z",
        "status": "example",
        "team_name": "example",
        "test_name": "example",
        "time_used_minutes": 1,
        "url": "https://example.com/"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}

List assessments

Returns a list of tests (campaigns) visible to the user, with optional filtering and pagination.

Inputs

Is archivedis_archivedtrue/false
Is archived.
Pagepagenumber
A page number within the paginated result set.At least 1.

Outputs

dataobject
The response from list assessments.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "count": 1,
    "next": "https://example.com/",
    "previous": "https://example.com/",
    "results": [
      {
        "create_date": "2026-11-18T12:00:00Z",
        "id": 1,
        "invite_url": "https://example.com/",
        "is_archived": true,
        "name": "example",
        "possible_total_score": 1,
        "public_test_link": "example",
        "sessions_url": "https://example.com/",
        "time_limit": 1,
        "total_number_of_tasks": 1,
        "url": "https://example.com/"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}

List interview templates

Returns a list of interview templates available for the current user.

Inputs

Orderingorderingtext
Which field to use when ordering the results.
Pagepagenumber
A page number within the paginated result set.At least 1.

Outputs

dataobject
The response from list interview templates.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "count": 1,
    "next": "https://example.com/",
    "previous": "https://example.com/",
    "results": [
      {
        "id": 1,
        "name": "example"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}

List saved email templates

List of saved email templates for the authenticated user.

Inputs

None.

Outputs

datalist
The response from list saved email templates.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": [
    {
      "form_data": {
        "content": "example",
        "reply_to": "qa@example.com",
        "subject": "example"
      },
      "name": "example"
    }
  ],
  "has_more": false,
  "next_cursor": null
}

List sessions for an assessment

Returns a list of test sessions (tickets) visible to the user, with optional filtering and pagination.

Inputs

Business domainbusiness_domaintext
Restrict returned sessions to a single business domain: 'hire' for hiring sessions, 'csi' for Skills Intelligence sessions.One of: csi, hire.
Create date 0create_date_0date and time
Create date 0.
Create date 1create_date_1date and time
Create date 1.
Extra fieldsextra_fieldstext
Include extra fields in the response, comma separated.
Testtest_idtextRequired
A unique value identifying this ticket.
Orderingorderingtext
Which field to use when ordering the results.
Pagepagenumber
A page number within the paginated result set.At least 1.
Start date 0start_date_0date and time
Start date 0.
Start date 1start_date_1date and time
Start date 1.

Outputs

dataobject
The response from list sessions for an assessment.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "count": 1,
    "next": "https://example.com/",
    "previous": "https://example.com/",
    "results": [
      {
        "campaign_url": "https://example.com/",
        "candidate": "example",
        "close_date": "2026-11-18T12:00:00Z",
        "create_date": "2026-11-18T12:00:00Z",
        "email": "qa@example.com",
        "email_of_invited_by": "example",
        "evaluation": {},
        "first_name": "example",
        "id": "example",
        "integrity": {},
        "invite_expiration_date": "2026-11-18T12:00:00Z",
        "invited_by": "example",
        "last_name": "example",
        "proctoring": {},
        "reviews": [],
        "similarity": {},
        "skills_proficiency_levels": [],
        "start_date": "2026-11-18T12:00:00Z",
        "status": "example",
        "team_name": "example",
        "test_name": "example",
        "time_used_minutes": 1,
        "url": "https://example.com/"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}

List user logins

Returns a paginated list of user login events for the account, ordered by timestamp descending.

Inputs

Emailemailtext
Email.
Pagepagenumber
A page number within the paginated result set.At least 1.

Outputs

dataobject
The response from list user logins.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "count": 1,
    "next": "https://example.com/",
    "previous": "https://example.com/",
    "results": [
      {
        "ip": "example",
        "timestamp": "2026-11-18T12:00:00Z",
        "user": {}
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}

Send an assessment invitation email

This endpoint allows you to send or resend an invitation email to a candidate for a test session.

Inputs

Session IDsession_idtextRequired
A unique value identifying this ticket.
Subjectsubjecttext
Subject of the email.
Contentcontenttext
Content of the email.
Reply toreply_totext
Reply-to email address.
CCcclist
List of emails.

Outputs

dataobject
The response from send an assessment invitation email.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {
    "result": "example"
  },
  "has_more": false,
  "next_cursor": null
}

Update an interview

Updates an interview with the specified ID.

Inputs

Session IDsession_idtextRequired
Session ID.
Room nameroom_nametext
The name that will be displayed in the Codility interface.
Candidate emailcandidate_emailtext
The email of the candidate who will be invited to the interview.
Candidate first namecandidate_first_nametext
The first name of the candidate who will be invited to the interview.
Candidate last namecandidate_last_nametext
The last name of the candidate who will be invited to the interview.
Scheduled start datescheduled_start_datedate and time
The date and time when the interview will start.
Scheduled durationscheduled_durationnumber
The duration of the interview in minutes (integer from 1 to 600).From 1 to 600.
Interviewer emailsinterviewer_emailslist
A list of emails of the interviewers who will be invited to the interview.

Outputs

dataobject
The response from update an interview.
has_moretrue/false
Whether another page is available.
next_cursortext
The page or cursor to pass to the next request.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}

On this page