# Attach a patient to a self-scheduling attempt 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. Endpoint: POST /partner/v2/account/{accountId}/self-scheduling/attempt/{attemptId}/patient Version: 2.0 Security: PartnerOAuth ## Path parameters: - `attemptId` (integer, required) ## Request fields (application/json): - `dateOfBirth` (string, required) Date of birth in yyyy-MM-dd format Example: "1985-10-26" - `email` (string) Patient email address Example: "jane.doe@example.com" - `firstName` (string, required) Patient first name Example: "Jane" - `lastName` (string, required) Patient last name Example: "Doe" - `phone` (string) Patient phone number (10 digits) Example: "5551234567" ## Response 200 fields (application/json): - `dateOfBirth` (string) Patient's date of birth in ISO 8601 format (YYYY-MM-DD) Example: "1990-01-15" - `email` (string) Patient's email address Example: "john.doe@example.com" - `firstName` (string) Patient's first name Example: "John" - `id` (integer) Unique patient identifier Example: 12345 - `lastName` (string) Patient's last name Example: "Doe" - `mobilePhone` (string) Patient's mobile phone number (digits only, no formatting) Example: "14155551234" ## Response 201 fields (application/json): - `dateOfBirth` (string) Patient's date of birth in ISO 8601 format (YYYY-MM-DD) Example: "1990-01-15" - `email` (string) Patient's email address Example: "john.doe@example.com" - `firstName` (string) Patient's first name Example: "John" - `id` (integer) Unique patient identifier Example: 12345 - `lastName` (string) Patient's last name Example: "Doe" - `mobilePhone` (string) Patient's mobile phone number (digits only, no formatting) Example: "14155551234" ## Response 400 fields ## Response 401 fields ## Response 404 fields