Skip to main content
POST
Requires scope: api:manage-patients Olira assigns a stable patient id — use it in all subsequent calls. Shell patients are supported if you send at least one anchor field (external id, email, phone, name, or DOB).

Parameters

str | None
Given name; omit for shell patients.
str | None
Family name; omit for shell patients.
str | None
Contact email.
str | None
Contact phone.
str | None
ISO 8601 datetime string.
str
default:"\"unknown\""
Stored sex/gender field.
str
default:"\"UTC\""
IANA timezone (e.g. America/New_York).
list[ExternalIdentifier] | None
Links to your systems (Epic MRN, FHIR id, etc.).
dict[str, Any] | None
Arbitrary JSON-safe metadata.

Returns

Patient — Created patient including Olira-assigned id.
str
Olira patient id.
str | None
Given name.
str | None
Family name.
str | None
Sex/gender.
str
IANA timezone.
str
Patient lifecycle status from API.
str | None
Email.
str | None
Phone.
str | None
DOB ISO string.
str | None
Creation timestamp.
list[ExternalIdentifier]
External ids. Each carries integration_id (str | None) — platform-assigned, read-only; None if you supplied the identifier yourself.
dict[str, Any] | None
Metadata blob.

Raises