Skip to main content
POST
Import Waitlist

Path Parameters

campaign_id
string
required

The ID of the campaign to add targets to.

Body

application/json
entries
(WaitlistImportTargetEntry · object | ReferralImportTargetEntry · object | RecallImportTargetEntry · object | AppointmentImportTargetEntry · object | LeadImportTargetEntry · object)[]
required

Queue entries to import — fetched by the frontend from the integrations service.

An entry off the EHR's appointment waitlist, with the slot it is waiting on.

launch
boolean
default:false

Whether to launch the imported targets immediately or only add them.

allow_duplicates
boolean
default:false

When False, entries already imported (matched on external_id) are skipped.

suggested_time_slot
SuggestedTimeSlot · object | null

Slot the agent should pitch on every imported call. Stored on each target's input_data.

timezone
string | null

IANA timezone every imported time is rendered in — the agent's, so the strings on the target read the way the agent will say them. Defaults to US/Eastern.

Example:

"America/New_York"

ehr_source
enum<string>
default:modmed

EHR the entries came from — stamps each target's external_id prefix and the patient's extra_data.ehr_source.

Available options:
eclinicalworks,
modmed,
athenapractice,
drchrono,
athenahealth,
modmedapi,
athenaone,
ggastro,
veradigm,
prosper_ehr,
greenway_intergy,
nextgen,
nextech,
nextech_practice_plus,
orchestrator_cerner,
advancedmd,
erad,
ezderm,
exa,
carecloud,
elation

Response

Successful Response