The webhook event is triggered whenever a user initiates the linking of unlinked care contexts. Upon receiving this webhook, the HIP should generate
an OTP and save the care contexts for further processing.
Request
Headers:
Body:
{
"service": "abdm",
"event": "care_context_discover_link_init",
"event_time": 1750317906,
"transaction_id": "9f82f229-e511-4d56-9a02-1eee7dbe40fa",
"timestamp": 1750317906,
"business_id": "77237637763817",
"client_id": "77237637763817",
"data": {
"abha_address": "gajendrasingh5445@sbx",
"patient": [
{
"care_contexts": [
{
"referenceNumber": "CC101"
}
],
"count": 1,
"hi_type": "OPConsultation",
"id": "",
"ref_num": "temp"
}
],
"hip_id": "<partner hip id>",
"oid": "<eka user id>",
"partner_user_id": "<partner user id>",
"request_id": "7234a162-1c76-486d-be8c-22cdf5c5007f",
"txn_id": "1fe0a9d8-6737-471a-87b4-867d45707db5"
}
}