Directory of Services Search API: integration test setup

Hello,

Thank you for the integration test environment details. We’re setting up the Directory of Services Search API (Application-restricted with Private Key JWT) for Hilli, a free local information app for Ruislip. Our application ID is 52bbdbdd-68d6-45bf-b32e-b8ad381454dc. Our public key is published at https://amartanna19-coder.github.io/hilli-keys/jwks.json, using RS256 and kid HuBX5_Dgi-taC1mr.

Could you please confirm:

  1. The OAuth token endpoint for the integration environment, and the aud value we should put in the signed JWT.
  2. Any required claims in the JWT (for example iss, sub, jti and expiry), and whether RS256 is the expected signing algorithm.
  3. The FHIR search we should use to find pharmacies, GP practices and dentists in a given area, with an example request if one is available.
  4. The steps and timescale for production access, and whether the same application can move to production once integration testing is complete.

Thank you.

Hi @Amar_Tanna

Thank you for your query on the NHSE API Developer Community.

We’ve been unable to locate an application with the ID 52bbdbdd-68d6-45bf-b32e-b8ad381454dc. Could you please double-check the Application ID you’ve provided? This should match the Application ID shown in your application’s details within the Developer Portal.

The following guidance explains how to configure your application for the integration environment, including the required JWT claims, expected signing algorithm, token endpoint details, and how to register your public key:

Application-restricted RESTful APIs - signed JWT authentication - NHS England Digital

Testing APIs - NHS England Digital

The Directory of Healthcare Services (Service Search) API documentation includes example search requests and links to more detailed guidance on searching for pharmacies, GP practices, dentists, and other healthcare services:

Directory of Healthcare Services API - version 3 - NHS England Digital

Regarding production access, you will need to create and use a separate application for each environment. Applications cannot be promoted from integration to production, so a new production application will be required. There is no fixed onboarding timescale, as this varies depending on the API and the completion of the required onboarding activities.

When you’re ready to onboard to production, the guidance on the Directory of Healthcare Services (Service Search) API page is to raise a request via the NHS Website Service Desk Directory of Healthcare Services API - version 3 - NHS England Digital .

If you experience any issues with the email provided on the Directory of Healthcare Services (Service Search) API page. Please see the below details are for our Customer Service Portal where you can raise your production query or any other issues you have, who should be able to redirect you query to the correct team:

Thanks,

NHS England API Platform team

Please note: The API Platform team can only address queries relevant to the NHS England API Platform, including security, rate limiting, logging, monitoring and alerting. For any API, CIS2, NHS Login specific queries, please reach out to the relevant API / Service teams.