Right to rent
POST https://api.checksharecode.co.uk/v1/check/right-to-rent checks a tenant can rent in England, on gov.uk, as a landlord or a letting agent. Everything you send to this endpoint is here, and only that. A live check usually takes 15 to 40 seconds, so set your timeout to at least 60 seconds, or use the async endpoint.
What you send
rtw_test_… keys return sandbox data. rtw_live_… keys run a real check.Bearer rtw_live_…sandbox-latency=realistic makes a test code take as long as a live check. See test codes. Live keys ignore it.sandbox-latency=realisticAB1CD2EF31990-01-01company_name.Acme Lettings Ltdlandlord or agent, whichever you are. We give it to gov.uk when it asks who is checking.agentDon’t send job_title, purpose or other_purpose: they are for immigration status, and are refused here with 400 INVALID_INPUT. You don’t need check either, as the endpoint names the check. If you send it, it must be right_to_rent.
Save the photo and PDF if you need a record: we keep a copy of the check for up to 7 days only to investigate problems, then delete it.
curl https://api.checksharecode.co.uk/v1/check/right-to-rent \
-H "authorization: Bearer $CHECKSHARECODE_API_KEY" \
-H "content-type: application/json" \
-d '{
"share_code": "AB1CD2EF3",
"date_of_birth": "1990-01-01",
"checker_name": "Acme Property Ltd",
"checker_type": "landlord"
}'{
"outcome": "ACCEPTED",
"title": "Right to rent",
"name": "JANE EXAMPLE DOE",
"date_of_birth": "1990-01-01",
"details": "They have the right to rent in the UK from 1 January 2024. They have the right to rent until 1 January 2030.",
"nationality": null,
"permission_type": null,
"start_date": "2024-01-01",
"expiry_date": "2030-01-01",
"recheck_date": "2030-01-01",
"conditions": [],
"restrictions": [],
"requires_sponsorship": null,
"student_visa": null,
"reference": "WE-EXAMPLE-12",
"company_name": "Acme Property Ltd",
"check_date": "2026-10-01",
"share_code": "AB1CD2EF3",
"photo_data_url": "data:image/jpeg;base64,/9j/4AAQ…",
"pdf_data_url": "data:application/pdf;base64,JVBERi0…",
"checked_at": "2026-10-01T10:14:03.000Z"
}Try it
The same for every check
These are written once, for this endpoint, right to work, immigration status and driving licence alike.