---
title: "Doctor Events"
method: POST
path: "/registered_url_for_doctor_events"
tags: ["Doctor Webhooks"]
---

# Doctor Events

`POST /registered_url_for_doctor_events`

When a Doctor event occurs (such as the start of a practice), a webhook event is sent to registered webhooks with details about the schedule, including the doctor ID, partner doctor ID, and event time.
The receiver can use the details from the webhook event to update or manage schedules in the system.

## Request body

- object
  - `event` 'schedule.start_practice' | 'schedule.stop_practice' | 'schedule.available_for_consultation', required — Type of event
  - `event_time` integer, required — Event occurred timestamp
  - `timestamp` integer, required — Timestamp of the event
  - `client_id` string, required — Client ID for the schedule
  - `business_id` string, required — Business ID for the schedule
  - `data` object, required
    - `doctor_id` string, required — Identifier for the respective doctor in Eka
    - `partner_doctor_id` string, required — Identifier for the partner’s respective doctor
    - `clinic_id` string — Identifier for the respective clinic in eka
    - `partner_clinic_id` string — Identifier for the partner’s respective clinic
    - `created_at` integer, required — Creation timestamp in ISO format
    - `modified_at` integer, required — Modification timestamp in ISO format
    - `partner_meta` object — Partner-specific metadata
      - `key1` string — Partner-specific metadata

## Response `200`

Successfully received the schedule event

---

[API](https://skmtc.net/eka/apis/eka-developer-apis.md) · [All operations](https://skmtc.net/eka/apis/eka-developer-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eka/eka-developer-apis/versions/9ea23456f722/schema)
