appointment.created and appointment.updated also fire as Operation Events when triggered by an RPA action Cobalt performed. The event types are the same; the trigger differs.Payload Envelope
Every sync event uses this envelope:| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for this event |
access_token_reference_id | string | Your reference ID associated with this webhook |
object | string | Always "event" |
created | string | ISO 8601 timestamp when the event was created |
type | string | The event type |
data | object | Event-specific data payload |
Appointment Events
appointment.created
appointment.created
Triggered when EHR staff create an appointment in your EHR (detected by Cobalt’s sync).Payload Example:Data Fields:
| Field | Type | Description |
|---|---|---|
appointment_id | string | Cobalt’s unique identifier for the appointment |
mrn | string | Patient’s Medical Record Number |
date_time | string | Appointment date and time (ISO 8601) |
timezone | string | Timezone for the appointment |
provider_id | string | Primary provider’s ID |
provider_name | string | Primary provider’s name |
secondary_provider_id | string | null | Secondary provider’s ID (if applicable) |
appointment.updated
appointment.updated
Triggered when EHR staff update an appointment in your EHR (detected by Cobalt’s sync).Payload Example:Data Fields:
| Field | Type | Description |
|---|---|---|
id | string | Cobalt’s unique identifier for the appointment |
ehr_appointment_id | string | The EHR’s native appointment ID |
patient_mrn | string | Patient’s Medical Record Number |
patient_name | string | Patient’s full name |
datetime | string | Appointment date and time (ISO 8601) |
duration | number | Appointment duration in minutes |
location | string | Appointment location/room |
status | string | Appointment status code |
provider_name | string | Provider’s name |
appointment_type | string | Type of appointment |
appointment_mode | string | Mode (e.g., “office”, “telehealth”) |
updated_fields | object | Fields that changed in this update |
appointment.status_updated
appointment.status_updated
Triggered when an appointment’s status changes in your EHR system.Payload Example:Data Fields:
| Field | Type | Description |
|---|---|---|
id | string | Cobalt’s unique identifier for the appointment |
ehr_appointment_id | string | The EHR’s native appointment ID |
patient_mrn | string | Patient’s Medical Record Number |
patient_name | string | Patient’s full name |
datetime | string | Appointment date and time (ISO 8601) |
status | string | New appointment status |
previous_status | string | Previous appointment status |
provider_name | string | Provider’s name |
Patient Events
patient.updated
patient.updated
Triggered when patient information is updated in your EHR system.Payload Example:Data Fields:
| Field | Type | Description |
|---|---|---|
mrn | string | Patient’s Medical Record Number |
patient_name | string | Patient’s full name |
updated_fields | object | Fields that changed in this update |