Hi,
I could not authenticate to Personal Demographics Service - FHIR API - Application-restricted API by my API Key.
“Personal Demographics Service - Application-Restricted (Integration Testing)” service at my application. My application’s environment is “Integration test”
I am referring following documentation:
Application-restricted RESTful APIs - API key authentication
In above documentation, it is clearly mentioned that we can access the Application-restricted RESTful APIs using API key authentication.
The error is:
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "forbidden",
"details": {
"coding": [
{
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1",
"code": "ACCESS_DENIED",
"display": "Access Denied - Unauthorised"
}
]
},
"diagnostics": "Missing Authorization header"
}
]
}
This is the URL I want to connect.
https://int.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient
Could you please help me for How to access Application-restricted RESTful APIs using API key authentication to access PDS FHIR API ?
Thank You.