Resolves or creates a patient from the provided demographics and attaches them to the self-scheduling attempt. If the attempt has a verified identity proof, patient resolution will use it for matching. Returns 200 if an existing patient was found, 201 if a new patient was created.
Security
PartnerApiKey and PartnerOAuth
Date of birth in yyyy-MM-dd format
Example:"1985-10-26"
- Mock serverhttps://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/self-scheduling/attempt/{attemptId}/patient
- Productionhttps://api-prod.lobbie.com/lobbie/api/partner/v2/account/{accountId}/self-scheduling/attempt/{attemptId}/patient
curl -i -X POST \
'https://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/self-scheduling/attempt/{attemptId}/patient' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"dateOfBirth": "1985-10-26",
"email": "jane.doe@example.com",
"firstName": "Jane",
"lastName": "Doe",
"phone": "5551234567"
}'Existing patient attached to self-scheduling attempt
Whether the patient is active. false indicates an archived or merged-away record.
Example:true
Patient's date of birth in ISO 8601 format (YYYY-MM-DD)
Example:"1990-01-15"
Response
{ "active": true, "createdAt": "2025-01-15T14:00:00Z", "dateOfBirth": "1990-01-15", "email": "john.doe@example.com", "firstName": "John", "gender": "male", "homeAddress": { "city": "San Francisco", "line1": "123 Main St", "line2": "Apt 4B", "postalCode": "94105", "stateRegion": "CA" }, "id": 12345, "lastName": "Doe", "mailingAddress": { "city": "San Francisco", "line1": "123 Main St", "line2": "Apt 4B", "postalCode": "94105", "stateRegion": "CA" }, "mobilePhone": "14155551234", "primaryLocationId": 1312, "primaryProviderId": 987, "updatedAt": "2025-01-15T14:00:00Z" }