Not getting call for this api : {{ BridgeURL }}/v0.5/links/link/init

hello team,

I m getting 202 ok on response of /v0.5/care-contexts/on-discover but after that not getting response of link/init

after successful completion of on-discover, the link/init API will automatically hit by ABDM right??

plase help @IntegrationSupport @Ramandeep1

thanks!!

@john456123333 Please share postman payload screeshot for v0.5/links/link/init along with headers.


Dear @john456123333,

Here is the correct endpoint for this API “https://dev.ndhm.gov.in/cm/v1/links/link/init” .

CC: @IntegrationSupport

hello @Sachin i have tried this API in postman it says : “error”: {
“code”: 1401,
“message”: “Token verification failed”
}

here my concern is that this API will be called by ABDM after on-discover right ?? if i want to hit by using postman what transaction id should i passed in body ?? @IntegrationSupport

@john456123333

If you are implementing the M2 flow you don’t need to call “/v0.5/links/link/init” APIs, its a callback from the ABDM to your bridge url.

Kindly make sure you are passing correct data in on-discover API, and kindly share the header and body of on-discover call.

CC: @IntegrationSupport


i m getting 202 accepted but on my bridge url i m not getting link/init call

image
above is my the bridge url file is it right way to do it?? @Sachin

can u please check @Sachin @IntegrationSupport ???

Dear @john456123333,

Kindly send me a meeting invite for today 12:30 PM IST on abdm.pc20@nha.gov.in, let us connect over a call and resolve your queries.

Kindly Include this devforum link in the mail.

thank u @Sachin for the time, i have sent a meet invitation.

@john456123333
Hi john
i am completing these flow these api

  1. https://dev.abdm.gov.in/gateway/v0.5/sessions
    2)https://dev.abdm.gov.in/gateway/v0.5/users/auth/init
    3)https://dev.abdm.gov.in/gateway/v0.5/users/auth/confirm
    4)https://dev.abdm.gov.in/gateway/v0.5/links/link/add-contexts
    5)https://dev.abdm.gov.in/gateway/v0.5/links/context/notify

What is the next step or flow can u please tell me
May be I am thinking two ways
way -1 :

  1. https://dev.abdm.gov.in/gateway/v0.5/subscription-requests/cm/init
    way-2 :
  2. https://dev.abdm.gov.in/gateway/v0.5/care-contexts/on-discover

hey @Humera have u have performed user initiated linking ?

hey @john456123333 tq but User (Patient) Initiated Linking

last 1 hour on ward i am doing these flow :

  1. https://dev.abdm.gov.in/gateway/v0.5/users/auth/init
  2. https://dev.abdm.gov.in/gateway/v0.5/care-contexts/on-discover
    response was coming 202 Accepted but in webhook was not coming
  3. https://dev.HIP.gov.in/gateway/v0.5/links/link/on-init
    response was coming 202 Accepted but in webhook was not coming
  4. https://dev.abdm.gov.in/gateway/v0.5/links/link/on-confirm
    response was coming 202 Accepted but in webhook was not coming

can u please give the flow for these User (Patient) Initiated Linking

which tech stack r u following ??

john
i am using java- servlets

can you please tell me the flow for these User (Patient) Initiated Linking or the above flow is correct or wrong

And call back response was not coming in webhook url in the above flow of User (Patient) Initiated Linking

we can discuss things in meeting, i m available after 2.30 today

@john456123333
okkk tq
i will send u the metting link or u will send me the metting link

@john456123333
hi john
if you are available after 2.30 today
this is my mobile number : 7569453247 please try to call me once