Consent-artefacts API Not working

@IntegrationSupport
Can you help me on this
I m calling API but not getting blank response

curl -X GET “https://dev.abdm.gov.in/cm/consent-artefacts?status=GRANTED” -H “accept: application/json” -H “X-AUTH-TOKEN: eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiI5MS0yMTI4LTc1MDAtNzA1NyIsImNsaWVudElkIjoiU0JYXzAwMzAxMCIsInN5c3RlbSI6IkFCSEEtTiIsIm1vYmlsZSI6Ijk5NTMwMjEwOTgiLCJoZWFsdGhJZCI6ImphdmVkYWxpOTBAc2J4IiwiZXhwIjoxNjg5ODQ4OTkxLCJoZWFsdGhJZE51bWJlciI6IjkxLTIxMjgtNzUwMC03MDU3IiwiaWF0IjoxNjg5ODQ3MTkxfQ.qPyrhzs1yiK5IAxS6vSNXUopIq9R0aDRfGvJaWV-xFtFGPkNrZMan84caN7CISKdGndR2EyjCi0LKApAZADeyDGm_xPFYf2ItD5y0GlI6zeocLhaysz3x0mQ3fuEjP2ttN1N8xortvdOcwn65JxNyC0OIQaG9FjMeJVIo_uTDXW06Cf6D2mpSmLo89Ft-SBPbbK_7eawXg4xotKszYsYQ_i4OxbVT8Pop8blsa2-Hez_-aIcAQe07wWLAzLJxFFx2UwwyhhU772GXjipivKRW2JpfYjKV7tKObmtUQYtHPucSiYE46BRxsS2XO_KDZeXZeSLRDl_DzvDhFLGg-Oa9OxXoeIVJrXbJGa_ueSvcmU6m8llmKnIIB_S-fe-f4tCZ1VbTk_3XkhVTzRsp7diQTqp2xDtzNLhmH1VTatTBoSQCYR1iBvEiAJrQvkos2I1E_ljAMWOYhA2ANqAzBS0ptRXhp-jLMBUjHGcdNI4-PU0xqwHHJV1j4PcpirmH2HcJ7kYEctRQ_uwfa6rDD_kenZjsebEze3qPvO43uJYUH_RI0vUIcJBiG77hiopOzRXY4Mt2aPW8kqbfVJE3l9Rz4vbWHrlOFB4tfDCkDbYUSgl_8zyb3B9LKEI7LXGqEA2JcKTWOZ0myDlGnVikk4JvqoIY6i6LFK3wL5HRJEdxYs”

@javedaliit Please share postman screenshot payload body.

@IntegrationSupport No payload body in that API as per document only paramter
Attaching Screenshot please check and suggest me

@javedaliit Please share from where did you found this API ?

@IntegrationSupport
I found this API from

https://sandbox.abdm.gov.in/swagger/ndhm-phr-app.yaml

Can you please provide me API endpoint if or or any document reference

@javedaliit There is no reference document we have. Moreover the endpoint is incorrect. Please try GET - consent-artefacts and remove ?status=GRANTED
You will get all consent artefacts (grant,deny, revoked,expired) by consent-artefact api.

HI
@IntegrationSupport I removed but still blank response

@IntegrationSupport can you help on it?

@javedaliit Please share the screenshot of your PHR app, how many consents you can see against your ABHA address. Also confirm, from where you have generated X auth token.

@IntegrationSupport yes i m generation auth Token via gateway/v0.5/users/auth/init API
{
“requestId”: “requestIds”,
“timestamp”: “$timestamp”,
“query”: {
“id”: “javedali91@sbx”,
“purpose”: “KYC_AND_LINK”,
“authMode”: “DIRECT”,
“requester”: {
“type”: “HEALTH_LOCKER”,
“id”: “HEALTH_LOCKER_ID hERE”
}
}
}

@javedaliit This is Locker Setup request, care context is not generated here. Care context is generated when a patient visits a facility, followed by consent to view the health document by doctors. Since here you are setting up Health Locker, consent thing is not related to this.

@javedaliit API for building health locker