Skip to main content
Same calling convention as the Patient Journey tools — Vapi calls these live during a call, authenticated with the x-vapi-secret header rather than a dashboard JWT. See that page for the shared request/response envelope.

validate_intake_field

Format-only validation as the caller speaks each field, so Emma can ask again right away instead of catching a bad value at the end.
string
required
One of email, phone, or dateOfBirth. Any other field name always passes.
string
required
The value as transcribed from the caller
Result
phone accepts 7–15 digits after stripping formatting. dateOfBirth just needs to parse as a real past date.

submit_intake

Writes the full intake through to the Patient record once every field has been collected and validated.
string
required
string
required
string
required
string
required
string
required
string
required
string
required
Result
On success, this also writes name/email/phone/address/reasonForVisit to the Patient record and syncs to your connected CRM if the clinic has one enabled. If the CRM sync fails, the Patient record is still saved — the response reports success: false with error: “crm sync failed” so the failure gets flagged for staff follow-up, but the patient’s data isn’t lost.