Skip to main content
POST
/
registered_url_for_doctor_events
Doctor Events
curl --request POST \
  --url https://{partner_host}/registered_url_for_doctor_events \
  --header 'Content-Type: application/json' \
  --data '{
  "event": "schedule.start_practice",
  "event_time": 1730189586,
  "timestamp": 1730189586,
  "client_id": "67978400352a61001d64e9fb",
  "business_id": "174159057718553",
  "data": {
    "doctor_id": "174159057723920",
    "partner_doctor_id": "test-doc-123",
    "clinic_id": "67978400352a61001d64e9fb",
    "partner_clinic_id": "CL04",
    "created_at": 1730189586,
    "modified_at": 1730189586,
    "partner_meta": {
      "key1": "value1"
    }
  }
}'

Body

application/json
event
enum<string>
required

Type of event

Available options:
schedule.start_practice,
schedule.stop_practice,
schedule.available_for_consultation
Example:

"schedule.start_practice"

event_time
integer
required

Event occurred timestamp

Example:

1730189586

timestamp
integer
required

Timestamp of the event

Example:

1730189586

client_id
string
required

Client ID for the schedule

Example:

"67978400352a61001d64e9fb"

business_id
string
required

Business ID for the schedule

Example:

"174159057718553"

data
object
required

Response

200

Successfully received the schedule event