Webhooks
Hip data fetch
Webhook event is sent to fetch FHIR data for care contexts requested by HIU. HIP should prepare the ABDM compliant FHIR bundle for care contexts and push it to the HIU using the Care context data on-fetch API
Request
Headers:
Eka-Webhook-Signature
:<Eka Webhook Signature>
Refer: Webhook SignatureContent-Type
:application/json
Body:
Field Descriptions
data
: Contains additional details related to the event.-
hi_types
: Health information types requested by HIU- Available options:
OPConsultation
,Prescription
,DischargeSummary
,DiagnosticReport
,ImmunizationRecord
,HealthDocumentRecord
,WellnessRecord
- Available options:
-
key_information
: Contains the cryptographic key material and related parameters required for secure ECDH-based key exchange between HIU and HIP.crypto_alg
The cryptographic algorithm used for key exchange (e.g., “ECDH”).curve
The elliptic curve used in ECDH key generation (e.g., “Curve25519”, “P-256”).dh_public_key
Object containing the HIU’s public key and related metadata:expiry
The expiration timestamp (in ISO 8601 format) indicating how long the public key is valid.parameters
Additional parameters related to the ECDH key (optional or curve-specific).key_value
The base64-encoded public key value generated by the HIU.
nonce
A 32-byte random nonce (Base64-encoded) generated by the HIU, used to ensure uniqueness in the session key derivation.
-