Create Task For Invited Patient

Create a task for an invited patient.

If the patient has already enrolled in Ferry, this endpoint will behave identically to the create appointment task endpoint.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
invitationstring or objectRequired
providerSpecialtystringRequired
The specialty of the provider that the patient needs to see.
reasonForVisitstringRequired
The reason for the patient's visit.
distanceInMilesdoubleOptional

The maximum distance (in miles) from the patient’s home where the provider can be located.

npislist of strings or list of lists of stringsOptional
The NPIs to prioritize in the search.
patientPreferencesstringOptional

Any preferences the patient has for the appointment (provider gender, age, language, etc.).

providerSubspecialtystringOptional
The subspecialty of the provider that the patient needs to see.
timeFramestringOptional
The time frame in which the patient needs to have the appointment. This can be in any reasonable format.

Response

This endpoint returns an object.
PENDINGobject
OR
ENROLLEDobject