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

Request body

event'mcert.created' | 'mcert.updated' required

Type of event

event_timeinteger required

Event occurred timestamp

timestampinteger required

Timestamp of the event

client_idstring required

Client ID for the schedule

business_idstring required

Business ID for the schedule

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.