# NHSLogin Code Examples

**URL:** <https://developer.community.nhs.uk/t/nhslogin-code-examples/10923>\
**Category:** NHS login\
**Created:** [27 February 2026 08:29 UTC](https://developer.community.nhs.uk/t/nhslogin-code-examples/10923 "2026-02-27T08:29:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pam\_Whittaker](https://avatars.discourse-cdn.com/v4/letter/p/ed655f/32.png) [@Pam\_Whittaker](https://developer.community.nhs.uk/u/Pam_Whittaker)\
**Post date:** [27 February 2026 08:29 UTC](https://developer.community.nhs.uk/t/nhslogin-code-examples/10923/1 "2026-02-27T08:29:05Z")

</div>

Are there any NHS code examples anywhere I can look at using PHP, Javascript etc or do I need wait until we are approved and are allowed to use it? At the moment I am confused as to how it works and I can’t find any examples. Thanks

---

<div class="post-metadata">

**Author:** ![Pam\_Whittaker](https://avatars.discourse-cdn.com/v4/letter/p/ed655f/32.png) [@Pam\_Whittaker](https://developer.community.nhs.uk/u/Pam_Whittaker)\
**Post date:** [27 February 2026 12:55 UTC](https://developer.community.nhs.uk/t/nhslogin-code-examples/10923/2 "2026-02-27T12:55:02Z")

</div>

Are there any NHS code examples anywhere I can look at using PHP, Javascript etc or do I need wait until we are approved and are allowed to use it? At the moment I am confused as to how it works and I can’t find any examples. I can’t find any examples of where to send the log in to, what to expect back etc or can I see that after we have been approved? Thanks.
