List actions
Lists your actions, newest first, one page at a time.
GET/v1/actions
Query parameters
patient_refstringOnly this patient's actions. Up to 255 characters.
typeenumOnly this action type.
Possible values
pharmacy_statusIs a prescription ready.pharmacy_transferMove a prescription.pharmacy_stock_checkWho has a drug in stock.find_availabilityFind openings.book_appointmentBook a visit.reschedule_appointmentMove a visit.cancel_appointmentCancel a visit.
statusenumOnly this status.
Possible values
queuedAccepted, not started.in_progressLooking up numbers or on a call.waiting_for_answerAsked you a question. Continues when you answer.waiting_for_callbackWaiting to call again, or for a place to call back.succeededThe place gave a definite answer.failedNo definite answer. Seefailure_reason.cancelledYou cancelled it.
created_aftertimestampOnly actions created after this.
created_beforetimestampOnly actions created before this.
limitintegerActions per page. 1 to 100. Defaults to
20.cursorstringnext_cursorfrom the last page. Up to 256 characters.
Returns
A page of actions.
dataarray of objectsNewest first.
idstringThe action ID. Starts with
act_.typeenumThe action type.
Possible values
pharmacy_statusIs a prescription ready.pharmacy_transferMove a prescription.pharmacy_stock_checkWho has a drug in stock.find_availabilityFind openings.book_appointmentBook a visit.reschedule_appointmentMove a visit.cancel_appointmentCancel a visit.
statusenumWhere the action stands.
Possible values
queuedAccepted, not started.in_progressLooking up numbers or on a call.waiting_for_answerAsked you a question. Continues when you answer.waiting_for_callbackWaiting to call again, or for a place to call back.succeededThe place gave a definite answer.failedNo definite answer. Seefailure_reason.cancelledYou cancelled it.
inputobjectWhat you sent. Its fields depend on
type; see the action types.questionsarray of objectsEvery question, oldest first.
questionstringUp to 500 characters.
helpstring, nullablecall_idstringStarts with
call_.typeenumPossible values
inputFill one optional input field.textFree text.numberA number, within any limits.booleanYes or no.dateA date.choiceOne of the offered options.slotPick an offered opening, or send new windows.
pathstringUp to 200 characters.
idstringStarts with
q_.asked_attimestampanswered_attimestamp, nullableanswerobject, nullablevalueanyunavailableenumPossible values
true
notestring
max_lengthinteger1 to 2,000.
integerbooleanminnumbermaxnumberoptionsarray of objectsidstringlabelstringUp to 200 characters.
slotobjectstarts_attimestampWhen the visit starts.
duration_minutesintegerHow long it runs. 1 to 1,440.
providerobjectWho the visit is with.
first_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.
locationobjectWhere. Always set in results.
line1stringStreet 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.
held_untiltimestamp, nullable
multipleboolean
resultobject, nullableSet when it ends. These fields are shared; the rest depend on
type(action types).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.
trailarray of objectsEvery call, oldest first.
idstringThe call ID. Starts with
call_.call_typeenumWhy Vene made the call.
Possible values
ask_pharmacy_fill_statusAsk a pharmacy about a fill.ask_prescriber_to_resolve_holdAsk a prescriber's office to act on a hold.ask_pharmacy_to_transfer_prescriptionAsk a pharmacy to pull a transfer.ask_pharmacy_stockAsk a pharmacy about stock.ask_provider_availabilityAsk an office about openings.book_provider_appointmentBook with an office.reschedule_provider_appointmentReschedule with an office.cancel_provider_appointmentCancel with an office.inbound_callbackA place called Vene back.
placeobjectWho was on the other end.
namestringaddressobject, nullableline1stringStreet 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.
phonestringThe number dialed, or the one that called in. E.164 phone number.
started_attimestamp, nullableWhen it connected.
ended_attimestamp, nullableWhen it ended.
ended_reasonenum, nullableHow it ended.
Possible values
completedThe call ran to its end.voicemailIt reached voicemail.no_answerNobody picked up.busyThe line was busy.they_hung_upThe place hung up.queue_callbackA phone queue took Vene's number to call back.long_holdVene hung up after about ten minutes on hold.
created_attimestampWhen you created it.
updated_attimestampWhen it last changed.
ended_attimestamp, nullableWhen it ended.
next_cursorstring, nullablePass as
cursorfor the next page. Null on the last.
Errors
400invalid_requestThe body or query failed validation.
401unauthorizedThe API key is missing, unknown, or revoked.
403forbiddenThe key lacks the scope.
429rate_limitedOver a limit. Wait for
Retry-After.500internal_errorA Vene fault.