POST
/
registered_url_for_add_appointment_events
curl --request POST \
  --url https:///%7B{partner_host}%7D/registered_url_for_add_appointment_events \
  --header 'Content-Type: application/json' \
  --data '{
  "service": "appointment",
  "event": "appointment.created",
  "transaction_id": "8y3458734657",
  "event_time": 1730189586,
  "timestamp": 1730189586,
  "client_id": "67978400352a61001d64e9fb",
  "business_id": "174159057718553",
  "data": {
    "appointment_id": "api-abb67007-1e53-4f0f-b428-a4bc025468a4",
    "partner_appointment_id": "67ce9032abfba8001d17ddd2",
    "doctor_id": "174159057723920",
    "partner_doctor_id": "test-doc-123",
    "patient_id": "174678912588458",
    "partner_patient_id": "174678912588458",
    "clinic_id": "67978400352a61001d64e9fb",
    "partner_clinic_id": "CL04",
    "status": "BK",
    "action": "created",
    "created_at": 1730189586,
    "modified_at": 1730189586,
    "custom_attributes": {
      "label": [
        "vital_submitted"
      ]
    },
    "partner_meta": {
      "key1": "value1"
    },
    "sa_ids": [
      "sa_25061014072610653"
    ]
  }
}'

Body

application/json

The body is of type object.