Logo

UK Share Code

API

Guide

A Guide to UK Right to Work Share Codes

The UK Share Code API provides an automated way for employers to validate a job applicant's right to work in the UK. This article gives a broader view of what the share code system is, when it was introduced, how it works, and why it matters.

Share code check result

What is a UK Right to Work Share Code?

Introduced in July 2019, a share code is a unique code generated by the government and given to non-British or Irish citizens living in the UK. It confirms an individual's right to work in the UK and lists any restrictions on that right. Share codes are typically valid for 90 days and include:

  • Full name
  • Date of birth
  • Profile image
  • Job restrictions (hours, sponsorship requirements, industry limits etc.)
  • Right to Work expiry date

How are Share Codes Obtained?

Share codes are obtained via the Gov.UK website. Applicants born outside the UK and Ireland who hold a biometric residence card or a UK Visas and Immigration (UKVI) account can generate one. The share code acts as a temporary, secure way to share immigration status without re-submitting original documents — reducing risk and confusion for both parties.

Why are Share Codes Useful?

Share codes provide an official, single source of truth from the government, ensuring full transparency during the hiring process. For employers, they eliminate manual data entry and reduce the risk of human error when verifying eligibility.

Validating Share Codes Manually

To verify a share code manually, employers must visit gov.uk and enter the applicant's date of birth, share code, and business name. The process takes around 5 minutes per check — and any resulting data (expiry dates, conditions) must be recorded and stored manually.

How the UK Share Code API Helps

The UK Share Code API adds automation and simplicity to the process. Applicants or HR staff fill in a form, the API runs the check against the government, and returns all relevant details instantly — including the option to filter out applications from students or those requiring sponsorship at the earliest stage.

We've written guides on API integration and building a user-facing form. Or try the API for free.

UK Share Code API Logo

UK Share Code

API

© 2026 UK Share Code API. All rights reserved.