Create a test patient
Creates a new test patient for the organization with an auto-generated email address in the format test-patient+{random}@{org-domain} and a secure auto-generated password. The organization must have a valid domain configured.
| Path Parameters |
|---|
orgId string — REQUIREDOrganization ID |
| Request Body — REQUIRED Optional patient details. If not provided, defaults to firstName='Test' and lastName='Patient' |
|---|
firstName stringFirst name of the test patient. Defaults to 'Test' if not provided. |
lastName stringLast name of the test patient. Defaults to 'Patient' if not provided. |
dateOfBirth stringDate of birth in ISO format (YYYY-MM-DD) |
| Responses | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
201Test patient created successfully. The password is only returned once at creation time.
|