PHR Discovery API - Not able to find cowin records

We are trying to implement Govt program linking in out PHR portal.

For discovery API I am getting “No User Found Error”

Request Payload:
{
“requestId”: “0b66424b-5bc1-4cdf-be5d-3be40a6e976c”,
“hip”: {
“id”: “CoWINSIT”
},
“unverifiedIdentifiers”: [
{
“type”: “MOBILE”,
“value”: “8329598196”
},
{
“type”: “MR”,
“value”: “8329598196”
}
]
}

Response:
{
“error”: {
“code”: 1500,
“message”: “Could not find the user details”
}
}

Other payloads tried:
{
“hip”: {
“id”: “CoWINSIT”
},
“unverifiedIdentifiers”: [
{
“type”: “MOBILE”,
“value”: “+918329598196”
}
]
}

{
“hip”: {
“id”: “CoWINSIT”
},
“unverifiedIdentifiers”: [
{
“type”: “MR”,
“value”: “+918329598196”
}
]
}

@IntegrationSupport

Hi @shubham_1745, can you pls share the api that you are using?

Hi @atulsharma,

We are using Discovery API from
https://sandbox.abdm.gov.in/swagger/ndhm-phr-app.yaml

Endpoint - /v1/care-contexts/discover

Hi @shubham_1745, If patients records doesn’t exist in requested HIP then it shows the 1500-error-response.as above.

Hi @atulsharma ,

Got it. We were testing Govt Program Linking flow. But as discussed with the team it is not possible to test that in Sandbox environment.

Thanks,
Shubham