POST
/
registered_url_for_doctor_events
curl --request POST \
  --url https:///%7B{partner_host}%7D/registered_url_for_doctor_events \
  --header 'Content-Type: application/json' \
  --data '{
  "event": "schedule.start_practice",
  "event_time": 1730189586,
  "timestamp": 1730189586,
  "client_id": "{{client_id}}",
  "business_id": "{{business_id}}",
  "data": {
    "doctor_id": "{{doctor_id}}",
    "partner_doctor_id": "{{partner_doctor_id}}",
    "clinic_id": "{{clinic_id}}",
    "partner_clinic_id": "{{partner_clinic_id}}",
    "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
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