diff --git a/api-reference/doc-tool/post_webhooks/post_webhook.yaml b/api-reference/doc-tool/post_webhooks/post_webhook.yaml index 0900b8a4..5c0de81a 100644 --- a/api-reference/doc-tool/post_webhooks/post_webhook.yaml +++ b/api-reference/doc-tool/post_webhooks/post_webhook.yaml @@ -1178,7 +1178,7 @@ paths: - Doctor Webhooks summary: Consent Form Events description: >- - When a consent form is created or updated, a webhook is sent to the registered endpoint containing the Doctor Id, Patient Id, Consent form url etc. + 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. @@ -1230,6 +1230,7 @@ paths: - patientid - sendurlpdf - url + - type properties: docid: type: string @@ -1255,6 +1256,10 @@ paths: type: string example: "https://mcertificate.dev.eka.care/b-161467756044203/eaaf7c24-ebcd-4340-975a-851d6e31478f.pdf" description: "Consent form url" + type: + type: string + example: "mcert" + description: "Type of document. \nPossible values: **mcert** (for medical certificate), **consent** (for consent form)." deprecated: false /registered_url_for_receipt_events: