POST
/
registered_url_for_status_change_events
curl --request POST \
  --url https:///%7B{partner_host}%7D/registered_url_for_status_change_events \
  --header 'Content-Type: application/json' \
  --data '{
  "business_id": "77133577914507",
  "client_id": "",
  "event": "appointment.statuschange",
  "event_time": 1749544752,
  "service": "appointment",
  "timestamp": 1730189586,
  "transaction_id": "api-53423-GH_228766880001",
  "data": {
    "appointment_id": "api-53423-GH_228766880001",
    "clinic_id": "678f4fcd4ce758001d3624ee",
    "created_at": 1749532041,
    "custom_attributes": {
      "label": [
        "vitals_submitted"
      ],
      "tags": [
        "paid",
        "in_consult"
      ]
    },
    "doctor_id": "173744358327115",
    "modified_at": 1749544752,
    "partner_appointment_id": "GH_228766880001",
    "partner_clinic_id": "CL04",
    "partner_doctor_id": "sheilly",
    "partner_meta": {
      "appointment_id": "api-abb67007-1e53-4f0f-b428-a4bc025468a4",
      "encounter_id": "228766880001",
      "facility_id": "GH"
    },
    "partner_patient_id": "MM01156831",
    "patient_id": "173986493567406",
    "status": "CM"
  }
}'

Body

application/json

The body is of type object.