Migrating away from the SDS LDAP API
Find out what's involved in migrating away from this deprecated API.
Overview
The Spine Directory Service (SDS) LDAP API is deprecated. In due course it will be retired, although we haven't yet decided on a retirement date.
If you have an application that uses the API, you'll need to change your application to use one or more of the replacement APIs.
This page explains the benefits of migrating and how to migrate.
Benefits of migrating
- The replacement APIs are internet-facing, whereas the SDS LDAP API can only be used over HSCN. This supports our Internet first architecture principle and allows end users to access systems and data when an HSCN connection isn't available and allows NHS organisations to cut costs by removing the need for an HSCN connection.
- The replacement APIs are RESTful and thus more familiar to developers maintaining your code than LDAP.
- The replacement APIs use OAuth 2.0 for security, as opposed to TLS-MA. This means you don't need to worry about renewing your TLS-MA certificates when they expire.
- The replacement APIs offer, or will in future offer, improved capabilities. For example, in the future it will be possible to obtain a healthcare worker's complete set of national RBAC activities - whether they be directly assigned, inferred from their role, or as an 'included' activity - via CIS2 Authentication and the Healthcare Worker API.
- The SDS LDAP API will move to a reduced Service Level Agreement in due course and will eventually be retired and unavailable for use.
How to migrate
SDS is a datastore with a hierarchical tree-like structure, much like the folders and files in a computer file system.
The structure has a root (O=nhs) and five top level branches:
- The organisations branch (ou=Organisations)
- The people branch (ou=People)
- The IT systems branch (ou=Services)
- the reference data branch (ou=ReferenceData)
- The change log branch (ou=ChangeLog)
Your migration approach depends on which of the branches you are using.
Migrating from the organisations branch
If you're using the organisations branch, migrate to Organisation Data Terminology - FHIR API.
Note that the ODT API does not provide the ability to set up test organisations in Path to Live (PtL) environments. Instead it has a full copy of all real organisations (from production) in each PtL environment. If you currently use test organisations, you'll need to switch to using real organisations instead.
Migrating from the people branch
The people branch holds information on Care Identity Service (CIS) users.
Currently signed in CIS user
If you're using the people branch to get information about the currently signed in CIS user:
- if you're still using CIS1 Authentication to authenticate the user, migrate to CIS2 Authentication
- use the CIS2 Authentication user info endpoint to get the user's information
Other CIS users
If you're using the people branch to get information about a CIS user who isn't currently signed in, migrate to Healthcare Worker - FHIR API.
We know there are some gaps in this API and we're working on a roadmap to fill those gaps.
Migrating from the IT systems branch
If you're using the IT systems branch (ou=Services), your options depend on the context.
GP Connect
Your options are listed below:
| Integration | Approach |
|---|---|
| Access Record: HTML | Migrate to Spine Directory Service - FHIR API. |
| Access Record: Structured |
If GP Connect Access Record: Structured is the only capability where you use the SDS LDAP API, you might be able to migrate to Clinical Data Gateway API. Otherwise, you'll need to migrate to Spine Directory Service - FHIR API. To discuss your options, contact the GP Connect onboarding team at [email protected]. |
| Appointment Management |
Migrate to Spine Directory Service - FHIR API. |
Technical guidance
For details of the changes you'll need to make to your software to integrate with the Spine Directory Service FHIR API, see our GP Connect guidance on the Spine Directory Service.
Onboarding
We've developed a lightweight onboarding process for the migration to the SDS FHIR API using our Digital Onboarding Service. To get started with onboarding, contact the GP Connect onboarding team at [email protected].
NHS Booking / Care Connect
If your context is as a consumer of NHS Booking API (also sometimes referred to as 'Care Connect'), migrate to Spine Directory Service - FHIR API.
We are unable to advise you to migrate to Booking and Referral - FHIR API because that would require all provider systems to migrate to BaRS, and currently we have no active plans to make this happen.
We're working on developing an onboarding process for the migration to the SDS FHIR API. We'll let you know when it's available.
HL7 V3 messaging
If you are using the SDS LDAP API to look up details of national services for HL7 V3 messaging, your options are listed below.
| National service | Approach |
|---|---|
| Personal Demographics Service - HL7 V3 |
Migrate to Personal Demographics Service - FHIR API if it supports your use cases. Otherwise, migrate to Spine Directory Service - FHIR API. |
| Personal Demographics Service - SMSP | Migrate to Personal Demographics Service - FHIR API. |
| Child Protection - Information Sharing - HL7 V3 | Contact us. |
| Child protection - Information Sharing - SMSP | Contact us. |
| Electronic Prescription Service - HL7 V3 - prescriber | Migrate to EPS FHIR Prescribing API. |
| Electronic Prescription Service - HL7 V3 - dispenser | Migrate to EPS FHIR Dispensing API. |
| e-Referral Service - HL7 V3 - primary care | Migrate to e-Referral Service - FHIR API. |
| e-Referral Service - HL7 V3 - secondary care - referrals | Migrate to e-Referral Service - FHIR API. |
| e-Referral Service - HL7 V3 - secondary care - bookings |
Migrate to Spine Directory Service - FHIR API. (we hope replace this API with BaRS in the future but there are no firm plans) |
Migrating from the reference data branch
If you're using the reference data branch, contact us.
Migrating from the change log branch
If you're using the change log branch, contact us.
Help and support
If you have any questions about migration, including use cases that our replacement APIs don't support, you can get help and support via the NHS England Customer Portal (SDS LDAP deprecation enquiry form).
Last edited: 28 July 2026 1:07 pm