Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developer.eka.care/llms.txt

Use this file to discover all available pages before exploring further.

This webhook is triggered when a user initiates linking of discovered care contexts. Upon receiving this webhook, generate an OTP, send it to the user, and save the care contexts for further processing.
After generating and sending the OTP, call the On Link Init API to notify Eka that the OTP has been dispatched.

Request

Headers: Body:
{
  "service": "abdm",
  "event": "abha.care_context_discover_link_init",
  "event_time": 1750317906,
  "transaction_id": "<webhook transaction id>",
  "timestamp": 1750317906,
  "business_id": "77237637763817",
  "client_id": "77237637763817",
  "data": {
    "abha_address": "gajendrasingh5445@sbx",
    "patient": [
      {
        "care_contexts": [
          {
            "reference_number": "CC101"
          }
        ],
        "count": 1,
        "hi_type": "OPConsultation",
        "id": "",
        "ref_num": "temp"
      }
    ],
    "hip_id": "<partner hip id>",
    "oid": "<eka user id>",
    "partner_patient_id": "<partner user id>",
    "request_id": "7234a162-1c76-486d-be8c-22cdf5c5007f",
    "txn_id": "1fe0a9d8-6737-471a-87b4-867d45707db5"
  }
}