Book appointment
Book an in-person visit with a provider.
POST/v1/actions
typebook_appointment
Input
patientobjectRequiredWho the visit is for.
refstringRequiredYour ID for the patient. Vene uses it to match callbacks. Up to 255 characters.
first_namestringRequiredAs the place has it on file. Up to 120 characters.
last_namestringRequiredAs the place has it on file. Up to 120 characters.
date_of_birthdateRequiredPlaces check it with the name.
provideranyRequiredWho to book with.
patient_relationshipenumRequiredNew or established patient.
Possible values
newHas not seen this provider or practice in three years.establishedHas seen them in the last three years.
reasonstringRequiredSaid to the office as written. Up to 500 characters.
insuranceobjectLeave out when the patient pays cash.
payer_namestringRequiredUp to 255 characters.
plan_namestringUp to 255 characters.
member_idstringRequiredFrom the card. Up to 64 characters.
group_numberstringFrom the card. Up to 64 characters.
rx_binstringPharmacy BIN from the card. Up to 32 characters.
rx_pcnstringPharmacy PCN from the card. Up to 32 characters.
rx_groupstringPharmacy group from the card. Up to 64 characters.
referralobjectSend it when the office needs one.
referring_providerobjectRequiredfirst_namestringRequiredThe clinician's first name. Up to 120 characters.
last_namestringRequiredThe clinician's last name. Up to 120 characters.
credentialstringSuch as
MDorNP. Up to 32 characters.npistringThe clinician's NPI. The surest way to find the office. 10 digits.
specialtystringSuch as
cardiology. Up to 120 characters.practiceobjectWhere the patient is seen.
namestringSuch as
Oakland Heart Center. Up to 255 characters.addressobjectRequiredline1stringRequiredStreet address. Up to 255 characters.
line2stringSuite or unit. Up to 255 characters.
citystringRequiredUp to 120 characters.
statestringRequiredSuch as
CA. Two-letter state code.postal_codestringRequiredFive-digit ZIP code. 5 digits.
phonestringA hint. Vene checks the number before it dials. E.164 phone number.
referral_numberstringUp to 64 characters.
preferred_windowsarray of objectsRequiredTimes the patient can make. 1 to 10 items.
starttimestampRequiredWhen the window opens.
endtimestampRequiredWhen it closes. After
start.
Returns
The action, with this result once it ends.
summarystringWhat happened, in a sentence or two. Up to 2,000 characters.
failure_reasonenum, nullableWhy it failed. Null unless
failed.Possible values
patient_authorization_requiredThe place needs the patient herself to authorize it.place_would_not_helpThe place would not discuss it with Vene.place_unreachableClosed, never answered, or no working number.declined_by_youYou declined something the action needed.fee_over_maxThe fee was overmax_fee. The result names it.internal_errorA Vene fault.
next_stepstring, nullableWhat you could do next. Up to 1,000 characters.
appointmentobject, nullableThe booked visit.
starts_attimestampduration_minutesinteger1 to 1,440.
providerobjectfirst_namestringThe clinician's first name. Up to 120 characters.
last_namestringThe clinician's last name. Up to 120 characters.
credentialstringSuch as
MDorNP. Up to 32 characters.npistringThe clinician's NPI. The surest way to find the office. 10 digits.
specialtystringSuch as
cardiology. Up to 120 characters.practiceobjectWhere the patient is seen.
namestringSuch as
Oakland Heart Center. Up to 255 characters.addressobjectline1stringStreet address. Up to 255 characters.
line2stringSuite or unit. Up to 255 characters.
citystringUp to 120 characters.
statestringSuch as
CA. Two-letter state code.postal_codestringFive-digit ZIP code. 5 digits.
phonestringA hint. Vene checks the number before it dials. E.164 phone number.
locationobjectline1stringStreet address. Up to 255 characters.
line2stringSuite or unit. Up to 255 characters.
citystringUp to 120 characters.
statestringSuch as
CA. Two-letter state code.postal_codestringFive-digit ZIP code. 5 digits.
confirmation_numberstringUp to 64 characters.
arrival_instructionsstringUp to 2,000 characters.
Questions
inputtextnumberbooleandatechoiceslot
Calls
book_provider_appointment
Errors
400invalid_requestThe body or query failed validation.
401unauthorizedThe API key is missing, unknown, or revoked.
403forbiddenThe key lacks the scope.
409idempotency_conflictThe key was used with a different body.
429rate_limitedOver a limit. Wait for
Retry-After.500internal_errorA Vene fault.