Skip to main content
PATCH
Update Provider by EMR ID

Example Request

Response:

Request Body Parameters

You can update one or more of the following fields:
  • status (string, optional): Provider’s sync status
    • "active": Schedule will be synced from EMR
    • "inactive": Schedule will not be synced from EMR
    • Status is case-insensitive (“active”, “Active”, “ACTIVE” are all accepted)
  • hide_in_availability (string, optional): Controls whether provider is hidden from availability results
    • "false": Provider appears in /v1/availability endpoint (default behavior)
    • "true": Provider is hidden from /v1/availability endpoint
    • Common use case: Set a provider to "status": "active" and "hide_in_availability": "true" to continue syncing their schedule (for reporting purposes) while hiding them from new appointment availability
  • hours (array, optional): Provider’s working schedule
    • The facility_id must exist in your organization’s locations
    • The facility_name will be automatically enriched from the database
    • Time format must be THH:MM:SS (e.g., T08:00:00)
    • Dates must be in ISO 8601 format (e.g., 2025-11-13T00:00:00)
    • Days must be capitalized day names (Monday, Tuesday, etc.)

Example: Hide Provider from Availability

Response:

Authorizations

client_id
string
header
required
client_secret
string
header
required
access_token
string
header
required

Path Parameters

ehr_id
string
required

The provider's EMR ID (ehr_id from GET /providers)

Body

application/json
status
enum<string>
Available options:
active,
inactive
hours
object[]
hide_in_availability
enum<string>

Controls whether provider is hidden from availability results. When "true", provider won't appear in /v1/availability endpoint.

Available options:
true,
false

Response

Successful response

success
boolean
message
string
provider_id
string