Doctor Webhooks
Consent Form Events
When a consent form or medical certificate is created or updated, a webhook is sent to the registered endpoint containing the Doctor Id, Patient Id, Consent form url, type(represents whether it is a medical certificate or consent form) etc. The receiving system can use these details as per their need.
post/registered_url_for_consent_form
Request
- Base URLhttps://api.eka.care
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"event": "mcert.created",
"event_time": 1730189586,
"timestamp": 1730189586,
"client_id": "67978400352a61001d64e9fb",
"business_id": "174159057718553",
"data": {
"docid": "174159057723920",
"id": "eaaf7c24-ebcd-4340-975a-851d6e31478f",
"owner": "174159057723925",
"patientid": "175465638609726",
"sendurlpdf": "https://mcertificate.dev.eka.care/b-161467756044203/eaaf7c24-ebcd-4340-975a-851d6e31478f.pdf",
"url": "https://mcertificate.dev.eka.care/b-161467756044203/eaaf7c24-ebcd-4340-975a-851d6e31478f.pdf",
"type": "mcert"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.