This is a slow operation that fetches up-to-date patient data directly from the EMR system. If the newest data is not critical, consider using the GET /patients endpoint instead for faster results from cached data.
Headers
Name | Type | Description |
---|---|---|
client_id | string | Required. Your Cobalt API client ID. |
client_secret | string | Required. Your Cobalt API client secret. |
access_token | string | Required. Token from Link Flow for the specific user. |
Body Parameters
Name | Type | Description |
---|---|---|
search_by | string | Required. Identifies the search method or criteria being used. Must be either “dob”, “name”, or “phone”. |
dob | string | Date of birth in ISO 8601 format (YYYY-MM-DD). |
first_name | string | Patient’s first name. |
last_name | string | Patient’s last name. |
phone | string | Phone number in format XXX-XXX-XXXX (e.g., “555-123-4567”). |
At least one of dob, first_name, last_name, or phone must be provided along with search_by. The search_by value selects which value(s) are used for searching, and are required.
Example Request
Success Response
Error Responses
- This endpoint supports live fetching from eClinicalWorks
- The operation is asynchronous - results are delivered via webhook notification
- Phone numbers must be formatted as XXX-XXX-XXXX
- Dates must be in ISO 8601 format (YYYY-MM-DD)