How do i get api keys for sandbox

please i need help in accessing the api key of the webcontent sand box

@navin.bose is this something you or your team can advise on please?

Thanks…

Hi Jude,

I assume you are trying to use the sandbox environment for the NHS Website Content API. Please note that you will need to use: NHS Website Content API v2 - NHS England Digital.

To access the NHS Website Content API (Sandbox environment), you don’t request a key manually — you create an application on the NHS England Developer Portal, and the sandbox API key is generated automatically for you.

I hope you have followed the steps below:

Log in to the NHS Developer Portal (https://digital.nhs.uk/developer)

  • Create a new application
  • Select My Applications
  • Click Create Application
  • Give your app a name (e.g., Web Content API Sandbox App)
  • Choose the Sandbox environment
  • Save the application

Once your application is created:

The API will now show under Connected APIs. To retrieve your Sandbox API key, under Security details, you will now see:

  • Active API keys → this is your sandbox API key
  • Click Show key to copy it.

You do not need a public key URL or callback URL for this API — those fields are only required for OAuth-based APIs (this API uses API-key authentication only).

Please ensure that:

  • Your application was saved successfully
  • The NHS Website Content API (Sandbox) is enabled in the application
  • You refresh the page after enabling the API

Hope the above helps.

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 specific queries, please reach out the relevant API teams.

Thanks @navin.bose for picking this up.