Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion api-reference/doc-tool/post_webhooks/post_webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -1230,6 +1230,7 @@ paths:
- patientid
- sendurlpdf
- url
- type
properties:
docid:
type: string
Expand All @@ -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:
Expand Down