How do I enable and use the LeetCode Enterprise integration?

Available for User roles Super Admin, Admin, Team Member, Limited Team Member
Can only be configured by Super Admins
Packages Select Lever packages

The LeetCode integration allows you to quickly create LeetCode online interviews and schedule assessments for candidates. By providing more insights and comparisons with millions of submissions on LeetCode, the LeetCode integration will help talent acquisition teams improve gauging of candidate skills. 

Readers of this article will learn the following:


If you're interested in using the LeetCode integration, please reach out to your LeetCode account manager or directly to LeetCode Customer Support at


Setup the integration:


Access role must be Super Admin in Lever to set up the integration. You must be a team or organization with admin rights in LeetCode to install this integration.

Enable the Lever Integration in LeetCode

  • Log in as a Super Admin on LeetCode. 
  • Navigate to Settings > App > Bound Applications
  • Click the Lever toggle. 


  • Click the Go to Lever button. 


  • Log into Lever. 
  • Review list of requested permissions. Click Accept



How to configure the integration:

Configure Webhooks

Configure the webhooks to automatically push candidate stage change events from Lever to LeetCode upon moving the opportunity to the the designated trigger stage. 

  • In Lever, click here or go to Settings > Integrations and API > Webhooks
  • Click + Add webhook under the "Candidate Stage Change" webhook toggle.
  • Copy the signature token. 


  • Open LeetCode and navigate to the previous integration settings page. 
  • Paste the signature token from Lever into the corresponding field on LeetCode. 


  • LeetCode will generate a webhook URL. Copy this webhook URL and return to Lever. 


  • Navigate back to the Webhooks tab in Lever. 
  • Paste the LeetCode webhook URL into the URL field beneath the "Candidate Stage Change" toggle on Lever (this should be the same tile from which you first coped the Lever signature token). 
  • Toggle the "Candidate Stage Change" toggle to the on (green) position to enable the webhook. 

Select Trigger Stages

  • On LeetCode, select the stage from which the event will be pushed from Lever to LeetCode and trigger corresponding actions. 

For example, whenever an opportunity is moved into the selected stage in Lever (e.g. "Phone Screen"), a LeetCode interview create link will be added to the opportunity in Lever. 


  • Click the Confirm button to finish the configuration. 

You are all set!


How to use the integration:

Before inviting candidates to a LeetCode assessment, you'll need to add a "LeetCode" tag (case insensitive) to a job in Lever. All candidates applying to the job will inherit the "LeetCode" tag. 


Use LeetCode Interview

Step 1. Create a creation link

  • On Lever, open the candidate opportunity. 
  • Move the opportunity to the designated trigger stage defined during your integration setup process (e.g. "On-Site Interview"). 


  • When a candidate is transferred to the trigger stage, LeetCode will generate a creation link for them. 
  • The link will be listed on the opportunity (see right-hand side). 
  • Click on the link to create an interview in LeetCode. 


Step 2. Create an interview in LeetCode

  • Once you click the creation link, you will be sent to LeetCode where you can create a LeetCode online interview. 
  • LeetCode will automatically create a new interview when the creation link is visited for the first time. 


  • Copy the interview links and paste the links to a separate email to invite candidates. 


  • Additionally, you may also manually schedule an interview via Lever by pasting the interview links into a Lever invitation. 



Use LeetCode Assessment

Step 1. Prepare Assessments in Advance on LeetCode

Before sending an assessment to a candidate, you'll need to set up assessments in LeetCode in advance.

  • Access the assessment setup by clicking on the creation link on the Lever opportunity. 
  • Click the Scheduled button to create a scheduled assessment in LeetCode. 

Please reach out to LeetCode Customer Support for more information. 



Step 2. Get a Creation Link

  • On Lever, open the opportunity on Lever and move the candidate to the designated trigger stage. If the candidate is in a non-trigger stage, you can transfer the candidate to the designated trigger stage. 


  • LeetCode will generate a creation link and add it to the opportunity. 
  • Click on the link to create an assessment in LeetCode. 



Step 3. Select an assessment for the candidate in LeetCode

  • You'll be taken to LeetCode. Select an assessment of your choice and copy the assessment link to your clipboard. 



  • Paste the assessment link to a separate email and send an invitation to the candidate. 




Step 4. Assessment Results

Once your candidate completes the LeetCode assessment, a note will be added to the opportunity with a link to the result. 



How to disable the integration:

1. Navigate to your Integrations & API Settings Page in Lever.

2. Under the Authorized Apps tab, locate the LeetCode Enterprise app.

3. Click Revoke Access to disable the integration.

Was this article helpful?
0 out of 0 found this helpful