We are a TIF Framework partner of the NHS and are currently working on integrating with the NEMS API.
We are attempting to invoke the API using cURL; however, the request consistently results in an ECONNRESET error, despite trying multiple configurations from our end.
Could you please assist by sharing a validated cURL example (including required headers and certificates, if applicable) or any guidance on common causes for this error when accessing the NEMS API?
Yes, we are looking to create a subscription using NEMS. As there was no specific tagged topic available for NEMS, we selected PDS instead.
Please feel free to take your time and let us know which option—NEMS or MNS—we should use going forward, as it currently appears that the NEMS API may be deprecated.
Following our email conversation on 27/01/2026 the curl command you provided me with indicated that you were trying to send a NEMS subscription creation to the MNS API. Whilst MNS is expected to replace NEMS it does not currently cover the Use Case you are required to meet under TIFF. Have you tried transmitting your subscription creation message to the URL I pointed you to in the NEMS onboarding guide? This will be either https://msg.int.spine2.ncrs.nhs.uk/STU3/Subscription if you are using HSCN or https://msg.intspineservices.nhs.uk/STU3/Subscription if you are connecting over the internet gateway.