{
"success": false,
"message": "Resource not found"
}
{
"success": false,
"message": "Internal server error"
}
Providers
Update Provider by EMR ID
Updates a provider’s status, working hours, and/or availability visibility using the EMR ID. This is an alternative to using Cobalt’s internal provider ID.
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.)
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cobalt","colors":{"primary":"#576dee","light":"#8a9af4","dark":"#3a4cbc"},"logo":{"light":"https://mintcdn.com/cobalt-cd7844c1/ARV8r_xeyMO_zivG/logo/light.svg?fit=max\u0026auto=format\u0026n=ARV8r_xeyMO_zivG\u0026q=85\u0026s=de8566184dd7d19c926d1f0e5ee04d74","dark":"https://mintcdn.com/cobalt-cd7844c1/ARV8r_xeyMO_zivG/logo/dark.svg?fit=max\u0026auto=format\u0026n=ARV8r_xeyMO_zivG\u0026q=85\u0026s=c9b017690a9cf87eea9b8c1a41a0330e"},"favicon":"https://mintcdn.com/cobalt-cd7844c1/NyZchDiv0WDjeFlo/favicon.svg?fit=max\u0026auto=format\u0026n=NyZchDiv0WDjeFlo\u0026q=85\u0026s=f4adc378c31a71ebba62a9d5d28f3bb6","navbar":{"links":[{"href":"mailto:bryan@usecobalt.com","label":"Support"}]},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/usecobalt"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cobalt-cd7844c1","hasAudioNarration":false,"actualSubdomain":"cobalt-cd7844c1","customDomains":["docs.usecobalt.com"],"gitSource":{"type":"github","owner":"cobalt-technology","repo":"docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aeb81311e96749541e6c0eb","collectionId":"ab3720db-2863-44ce-9f2d-5c66de8589f5","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeb81311e96749541e6c0eb"},"entitlements":{},"buildId":"6aee23acda0700b7084566dd","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API Reference","count":89},{"language":"default","tag":"Guides","count":31},{"language":"default","tag":"Webhooks","count":13},{"language":"default","tag":"Account","count":8},{"language":"default","tag":"Orders","count":6},{"language":"default","tag":"Patients","count":6},{"language":"default","tag":"Appointments","count":5},{"language":"default","tag":"Link","count":5},{"language":"default","tag":"Claims","count":4},{"language":"default","tag":"Documents","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/providers/update-by-ehr","slug":"/api-reference/providers/update-by-ehr","pageMetadata":{"title":"Update Provider by EMR ID","openapi":"PATCH /providers/ehr/{ehr_id}","description":"Updates a provider's status, working hours, and/or availability visibility using the EMR ID. This is an alternative to using Cobalt's internal provider ID.","href":"/api-reference/providers/update-by-ehr"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Updates a provider’s status, working hours, and/or availability visibility using the EMR ID. This is an alternative to using Cobalt’s internal provider ID.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`example-request`,children:`Example Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`34`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`34`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PATCH`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.usecobalt.com/v1/providers/ehr/12345`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'client_id: ci_live_198908HJDKJSH98789OHKJL'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'client_secret: cs_live_9827hofdsklOYYHJLJh'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'access_token: 493JKLHIU98789hLKH9HHJH'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-d `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"status\": \"active\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"hours\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"day\": \"Monday\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"shifts\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"start\": \"T09:00:00\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"end\": \"T18:00:00\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"facility_id\": \"095f8067-d3fc-4e13-b771-32f87cd0c3f2\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"set_start_date\": \"2025-11-13T00:00:00\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"set_end_date\": \"2026-11-13T00:00:00\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"day\": \"Tuesday\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"shifts\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"start\": \"T08:00:00\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"end\": \"T17:00:00\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"facility_id\": \"095f8067-d3fc-4e13-b771-32f87cd0c3f2\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"set_start_date\": \"2025-11-13T00:00:00\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"set_end_date\": \"2026-11-13T00:00:00\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Response:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Provider status and hours updated successfully.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provider_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"abc123def4567890abcdef1234567890\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body-parameters`,children:`Request Body Parameters`}),`\n`,_jsx(_components.p,{children:`You can update one or more of the following fields:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`status`}),` (string, optional): Provider’s sync status`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"active\"`}),`: Schedule will be synced from EMR`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"inactive\"`}),`: Schedule will not be synced from EMR`]}),`\n`,_jsx(_components.li,{children:`Status is case-insensitive (“active”, “Active”, “ACTIVE” are all accepted)`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`hide_in_availability`}),` (string, optional): Controls whether provider is hidden from availability results`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"false\"`}),`: Provider appears in `,_jsx(_components.code,{children:`/v1/availability`}),` endpoint (default behavior)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\"true\"`}),`: Provider is hidden from `,_jsx(_components.code,{children:`/v1/availability`}),` endpoint`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Common use case`}),`: Set a provider to `,_jsx(_components.code,{children:`\"status\": \"active\"`}),` and `,_jsx(_components.code,{children:`\"hide_in_availability\": \"true\"`}),` to continue syncing their schedule (for reporting purposes) while hiding them from new appointment availability`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`hours`}),` (array, optional): Provider’s working schedule`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.code,{children:`facility_id`}),` must exist in your organization’s locations`]}),`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.code,{children:`facility_name`}),` will be automatically enriched from the database`]}),`\n`,_jsxs(_components.li,{children:[`Time format must be `,_jsx(_components.code,{children:`THH:MM:SS`}),` (e.g., `,_jsx(_components.code,{children:`T08:00:00`}),`)`]}),`\n`,_jsxs(_components.li,{children:[`Dates must be in ISO 8601 format (e.g., `,_jsx(_components.code,{children:`2025-11-13T00:00:00`}),`)`]}),`\n`,_jsx(_components.li,{children:`Days must be capitalized day names (Monday, Tuesday, etc.)`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`example-hide-provider-from-availability`,children:`Example: Hide Provider from Availability`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PATCH`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.usecobalt.com/v1/providers/ehr/12345`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'client_id: ci_live_198908HJDKJSH98789OHKJL'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'client_secret: cs_live_9827hofdsklOYYHJLJh'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'access_token: 493JKLHIU98789hLKH9HHJH'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-d `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"status\": \"active\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"hide_in_availability\": \"true\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Response:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Provider status and hide_in_availability updated successfully.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provider_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"abc123def4567890abcdef1234567890\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Provider by EMR ID","openapi":"PATCH /providers/ehr/{ehr_id}","description":"Updates a provider's status, working hours, and/or availability visibility using the EMR ID. This is an alternative to using Cobalt's internal provider ID.","href":"/api-reference/providers/update-by-ehr"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Example Request","slug":"example-request","depth":3,"children":[]},{"title":"Request Body Parameters","slug":"request-body-parameters","depth":3,"children":[]},{"title":"Example: Hide Provider from Availability","slug":"example-hide-provider-from-availability","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"updateProviderByEhrId","summary":"Update a provider by EMR ID","description":"Updates a provider's status, working hours, and/or availability visibility using the EMR ID. This is an alternative to using Cobalt's internal provider ID.","tags":["Providers"],"x-supported-emrs":["Athena","Credible","eClinicalWorks","EZDERM","ModmedEMA","ModmedGastro","PracticeFusion","TheraNest","WebPt"],"parameters":["687e2e28-52e6-49ce-91f4-161dc98b4a7b"],"requestBody":"64402e5e-4477-4557-8903-90e605472dda","responses":{"200":"9a87ff3f-d173-4f74-a75e-3faf2404f521","400":"28c542e2-4cfb-404c-92aa-0f29ef4f90a1","401":"a0c1e893-434c-488f-a216-da5e8a096721","404":"6bd92090-37e0-4fb5-9c8b-d45b020cb444","500":"ab15661d-eedf-4817-a066-ca966cd2d090"},"method":"patch","type":"path","servers":["2156e228-74e3-4b1b-9ca6-e2fbcba33952"],"security":["b8bb90f4-5209-4ee6-baa1-4759a1fd55d0"],"path":"/providers/ehr/{ehr_id}","baseUrlOptions":["https://api.usecobalt.com/v1"],"title":"Update a provider by EMR ID","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"687e2e28-52e6-49ce-91f4-161dc98b4a7b":{"name":"ehr_id","in":"path","description":"EMR provider ID.","schema":{"type":"string","example":"provider-123","isRequired":true,"description":"EMR provider ID.","uniqueKey":"","typeLabel":"string"},"required":true}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","x-supported-emrs":["Athena","Credible","eClinicalWorks","EZDERM","ModmedEMA","ModmedGastro","PracticeFusion","TheraNest","WebPt"],"description":"Provider status. One of: \"active\", \"inactive\".","example":"active","uniqueKey":"status","typeLabel":"string"},"hours":{"type":"array","items":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"hours.items.[INDEX].additionalProperties","typeLabel":"any"},"uniqueKey":"hours.items.[INDEX]","typeLabel":"object"},"x-supported-emrs":["Athena","Credible","eClinicalWorks","EZDERM","ModmedEMA","ModmedGastro","PracticeFusion","TheraNest","WebPt"],"description":"Provider working hours (per-day shift definitions).","example":[{"day":"Monday","shifts":[{"start":"09:00","end":"17:00"}]}],"uniqueKey":"hours","typeLabel":"object[]"},"hide_in_availability":{"type":"string","x-supported-emrs":["Athena","Credible","eClinicalWorks","EZDERM","ModmedEMA","ModmedGastro","PracticeFusion","TheraNest","WebPt"],"description":"Whether to hide the provider from availability. One of: \"true\", \"false\".","example":"false","uniqueKey":"hide_in_availability","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"active","hours":[{"day":"Monday","shifts":[{"start":"09:00","end":"17:00"}]}],"hide_in_availability":"false"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"9a87ff3f-d173-4f74-a75e-3faf2404f521":{"description":"Provider updated","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","example":"Provider updated","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"provider_id":{"type":"string","example":"b2c3d4e5f6a1478899aabbccddeeff00","isRequired":true,"uniqueKey":"provider_id","typeLabel":"string"}},"required":["success","message","provider_id"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"message":"Provider updated","provider_id":"b2c3d4e5f6a1478899aabbccddeeff00"}}},"exampleType":"generated"}},"exampleType":"generated"},"28c542e2-4cfb-404c-92aa-0f29ef4f90a1":{"description":"Bad request — missing or invalid parameters","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"message":{"type":"string","example":"Request could not be completed.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["success","message"],"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"message":"Bad request — missing or invalid parameters"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"Bad request — missing or invalid parameters"}}},"exampleType":"examples"}},"exampleType":"examples"},"a0c1e893-434c-488f-a216-da5e8a096721":{"description":"Unauthorized — missing or invalid credentials","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"message":{"type":"string","example":"Request could not be completed.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["success","message"],"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"message":"Unauthorized — missing or invalid credentials"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"Unauthorized — missing or invalid credentials"}}},"exampleType":"examples"}},"exampleType":"examples"},"6bd92090-37e0-4fb5-9c8b-d45b020cb444":{"description":"Resource not found","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"message":{"type":"string","example":"Request could not be completed.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["success","message"],"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"message":"Resource not found"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"Resource not found"}}},"exampleType":"examples"}},"exampleType":"examples"},"ab15661d-eedf-4817-a066-ca966cd2d090":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"example":false,"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"message":{"type":"string","example":"Request could not be completed.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["success","message"],"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"message":"Internal server error"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"Internal server error"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"b8bb90f4-5209-4ee6-baa1-4759a1fd55d0":{"ClientCredentials":{"type":"apiKey","in":"header","name":"client_id","scopes":[],"schemeName":"ClientCredentials"},"ClientSecret":{"type":"apiKey","in":"header","name":"client_secret","scopes":[],"schemeName":"ClientSecret"},"AccessToken":{"type":"apiKey","in":"header","name":"access_token","scopes":[],"schemeName":"AccessToken"}}},"servers":{"2156e228-74e3-4b1b-9ca6-e2fbcba33952":{"url":"https://api.usecobalt.com/v1","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"client_id","scopes":[],"schemeName":"ClientCredentials"},"schema":{"title":"client_id","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ClientCredentials","name":"client_id"},{"scheme":{"type":"apiKey","in":"header","name":"client_secret","scopes":[],"schemeName":"ClientSecret"},"schema":{"title":"client_secret","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ClientSecret","name":"client_secret"},{"scheme":{"type":"apiKey","in":"header","name":"access_token","scopes":[],"schemeName":"AccessToken"},"schema":{"title":"access_token","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"AccessToken","name":"access_token"}],"title":"ClientCredentials \u0026 ClientSecret \u0026 AccessToken"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"cobalt-cd7844c1","siteName":"Cobalt","title":"Update Provider by EMR ID - Cobalt","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-02T20:30:38.681Z","originalFileLocation":"api-reference/providers/update-by-ehr.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Updates a provider\u0026#x27;s status, working hours, and/or availability visibility using the EMR ID. This is an alternative to using Cobalt\u0026#x27;s internal provider ID.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cobalt\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cobalt-cd7844c1/dfAt917AjSM3D_ey/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cobalt-cd7844c1/dfAt917AjSM3D_ey/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cobalt-cd7844c1/dfAt917AjSM3D_ey/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cobalt-cd7844c1/dfAt917AjSM3D_ey/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cobalt-cd7844c1/dfAt917AjSM3D_ey/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cobalt-cd7844c1/dfAt917AjSM3D_ey/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cobalt-cd7844c1/dfAt917AjSM3D_ey/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cobalt-cd7844c1/dfAt917AjSM3D_ey/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cobalt-cd7844c1/dfAt917AjSM3D_ey/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Provider by EMR ID - Cobalt\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates a provider\u0026#x27;s status, working hours, and/or availability visibility using the EMR ID. This is an alternative to using Cobalt\u0026#x27;s internal provider ID.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cobalt\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.usecobalt.com/api-reference/providers/update-by-ehr\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cobalt-cd7844c1.mintlify.site/_mintlify/api/og/v2?division=Providers\u0026amp;title=Update+Provider+by+EMR+ID\u0026amp;description=Updates+a+provider%27s+status%2C+working+hours%2C+and%2For+availability+visibility+using+the+EMR+ID.+This+is+an+alternative+to+using+Cobalt%27s+internal+provider+ID.\u0026amp;theme=72420f10eea96853e49e9a24\u0026amp;signature=8e0ca15d127b28ed195368ffa0696a7ced13c2dda1126e2f2044a2ea3ef5a99e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update Provider by EMR ID - Cobalt\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates a provider\u0026#x27;s status, working hours, and/or availability visibility using the EMR ID. This is an alternative to using Cobalt\u0026#x27;s internal provider ID.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cobalt-cd7844c1.mintlify.site/_mintlify/api/og/v2?division=Providers\u0026amp;title=Update+Provider+by+EMR+ID\u0026amp;description=Updates+a+provider%27s+status%2C+working+hours%2C+and%2For+availability+visibility+using+the+EMR+ID.+This+is+an+alternative+to+using+Cobalt%27s+internal+provider+ID.\u0026amp;theme=72420f10eea96853e49e9a24\u0026amp;signature=8e0ca15d127b28ed195368ffa0696a7ced13c2dda1126e2f2044a2ea3ef5a99e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cobalt-cd7844c1/dfAt917AjSM3D_ey/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cobalt\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#576dee\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.usecobalt.com/api-reference/providers/update-by-ehr\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/providers/update-by-ehr.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.usecobalt.com/#organization\",\"name\":\"Cobalt\",\"url\":\"https://docs.usecobalt.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cobalt-cd7844c1/ARV8r_xeyMO_zivG/logo/light.svg?fit=max\u0026auto=format\u0026n=ARV8r_xeyMO_zivG\u0026q=85\u0026s=de8566184dd7d19c926d1f0e5ee04d74\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.usecobalt.com#website\",\"name\":\"Cobalt\",\"url\":\"https://docs.usecobalt.com\",\"publisher\":{\"@id\":\"https://docs.usecobalt.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.usecobalt.com/api-reference/providers/update-by-ehr#webpage\",\"url\":\"https://docs.usecobalt.com/api-reference/providers/update-by-ehr\",\"name\":\"Update Provider by EMR ID\",\"description\":\"Updates a provider's status, working hours, and/or availability visibility using the EMR ID. This is an alternative to using Cobalt's internal provider ID.\",\"dateModified\":\"2026-02-02T20:30:38.681Z\",\"isPartOf\":{\"@id\":\"https://docs.usecobalt.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.usecobalt.com/api-reference/providers/update-by-ehr#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.usecobalt.com/api-reference/providers/update-by-ehr#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Providers\",\"item\":\"https://docs.usecobalt.com/api-reference/providers/get\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Provider by EMR ID\",\"item\":\"https://docs.usecobalt.com/api-reference/providers/update-by-ehr\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.usecobalt.com/api-reference/providers/update-by-ehr#apireference\",\"headline\":\"Update Provider by EMR ID\",\"name\":\"Update Provider by EMR ID\",\"description\":\"Updates a provider's status, working hours, and/or availability visibility using the EMR ID. This is an alternative to using Cobalt's internal provider ID.\",\"url\":\"https://docs.usecobalt.com/api-reference/providers/update-by-ehr\",\"mainEntityOfPage\":{\"@id\":\"https://docs.usecobalt.com/api-reference/providers/update-by-ehr#webpage\"},\"dateModified\":\"2026-02-02T20:30:38.681Z\",\"publisher\":{\"@id\":\"https://docs.usecobalt.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.usecobalt.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cobalt\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Cobalt","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/docs/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Account","pages":[{"title":"Activate Account","openapi":"POST /account/activate","href":"/api-reference/account/activate"},{"title":"Deactivate Account","openapi":"POST /account/deactivate","href":"/api-reference/account/deactivate"},{"title":"Lock Client","openapi":"POST /client/lock","href":"/api-reference/account/lock"},{"title":"Rotate Access Token","openapi":"POST /access-token/rotate","href":"/api-reference/account/rotate-access-token"},{"title":"Disable Credential","openapi":"PATCH /credentials/{credentialId}/disable","href":"/api-reference/account/disable-credential"},{"title":"Enable Credential","openapi":"PATCH /credentials/{credentialId}/enable","href":"/api-reference/account/enable-credential"},{"title":"Delete Credential","openapi":"DELETE /credentials/{credentialId}","href":"/api-reference/account/delete-credential"},{"title":"Get Last Schedule Sync","openapi":"GET /last-schedule-sync","href":"/api-reference/system/last-schedule-sync"}]},{"group":"Appointments","pages":[{"title":"Create Appointments","openapi":"POST /appointments","href":"/api-reference/appointments/create"},{"title":"Fetch Appointments","openapi":"POST /appointments/fetch","href":"/api-reference/appointments/fetch"},{"title":"Get Appointments","openapi":"GET /appointments","href":"/api-reference/appointments/get"},{"title":"Get Appointment by ID","openapi":"GET /appointments/{id}","href":"/api-reference/appointments/get-by-id"},{"title":"Update Appointment","openapi":"PATCH /appointments/{id}","href":"/api-reference/appointments/update"}]},{"group":"Availability","pages":[{"title":"Fetch Availability","openapi":"POST /availability/fetch","href":"/api-reference/availability/fetch"},{"title":"Get Availability","openapi":"GET /availability","href":"/api-reference/availability/get"}]},{"group":"Claims","pages":[{"title":"Create Claim","openapi":"POST /claims","href":"/api-reference/claims/create"},{"title":"Get Claims","openapi":"GET /claims","href":"/api-reference/claims/get"},{"title":"Get Claim by ID","openapi":"GET /claims/{id}","href":"/api-reference/claims/get-by-id"},{"title":"Fetch Claims","openapi":"POST /claims/fetch","href":"/api-reference/claims/fetch"}]},{"group":"Codes","pages":[{"title":"Add Diagnosis Codes","openapi":"POST /appointments/{appointment_id}/codes","href":"/api-reference/codes/add"},{"title":"Remove Diagnosis Codes","openapi":"DELETE /appointments/{appointment_id}/codes","href":"/api-reference/codes/remove"}]},{"group":"Documents","pages":[{"title":"List Documents","openapi":"GET /documents","href":"/api-reference/documents/list"},{"title":"Fetch Document","openapi":"POST /documents/fetch","href":"/api-reference/documents/fetch"},{"title":"Get Document","openapi":"GET /documents/{id}","href":"/api-reference/documents/get"},{"title":"Upload Document","openapi":"POST /documents","href":"/api-reference/documents/upload"}]},{"group":"Eligibility","pages":[{"title":"Get Eligibility Checks","openapi":"GET /eligibility-checks","href":"/api-reference/eligibility-checks/get"},{"title":"Get Eligibility Benefits","openapi":"GET /eligibility-checks/{id}/benefits","href":"/api-reference/eligibility-checks/benefits"}]},{"group":"Fee Schedules","pages":[{"title":"Get Fee Schedules","openapi":"GET /fee-schedules","href":"/api-reference/fee-schedules/get"},{"title":"Get Fee Schedule Items","openapi":"GET /fee-schedules/{feeScheduleId}/items","href":"/api-reference/fee-schedules/items"}]},{"group":"Forms","pages":[{"title":"List Forms","openapi":"GET /forms","href":"/api-reference/forms/get"},{"title":"Get Form","openapi":"GET /forms/{id}","href":"/api-reference/forms/get-by-id"},{"title":"Sync Forms","openapi":"POST /forms/fetch","href":"/api-reference/forms/fetch"}]},{"group":"Insurance","pages":[{"title":"Get Insurance Providers","openapi":"GET /insurance-providers","href":"/api-reference/insurance-providers/get"}]},{"group":"Link","pages":[{"title":"Create Link Token","openapi":"POST /link/token/create","href":"/api-reference/link/create-token"},{"title":"Exchange Public Token","openapi":"GET /link/token/exchange","href":"/api-reference/link/exchange-token"}]},{"group":"Locations","pages":[{"title":"Get Locations","openapi":"GET /locations","href":"/api-reference/locations/get"},{"title":"Update Location Status","openapi":"PATCH /locations/{id}","href":"/api-reference/locations/update"}]},{"group":"Messages","pages":[{"title":"Send Message","openapi":"POST /messages","href":"/api-reference/messages/create"}]},{"group":"Notes","pages":[{"title":"Create Note","openapi":"POST /notes","href":"/api-reference/notes/create"}]},{"group":"Orders","pages":[{"title":"Search Order Catalog","openapi":"POST /orders/catalog/fetch","href":"/api-reference/orders/catalog"},{"title":"Create Order","openapi":"POST /orders","href":"/api-reference/orders/create"},{"title":"Get Orders","openapi":"GET /orders","href":"/api-reference/orders/get"},{"title":"Get Order","openapi":"GET /orders/{id}","href":"/api-reference/orders/get-by-id"},{"title":"Update Order","openapi":"PATCH /orders/{id}","href":"/api-reference/orders/update"},{"title":"Create Order Results","openapi":"POST /orders/{id}/results","href":"/api-reference/orders/results"}]},{"group":"Org Settings","pages":[{"title":"Fetch Org Settings","openapi":"POST /org-settings/fetch","href":"/api-reference/org-settings/fetch"}]},{"group":"Patient Notes","pages":[{"title":"Create Patient Note","openapi":"POST /patient-notes","href":"/api-reference/patient-notes/create"}]},{"group":"Patients","pages":[{"title":"Create Patient","openapi":"POST /patients","href":"/api-reference/patients/create"},{"title":"Fetch Patients","openapi":"POST /patients/fetch","href":"/api-reference/patients/fetch"},{"title":"Get Patients","openapi":"GET /patients","href":"/api-reference/patients/get"},{"title":"Update Patient","openapi":"PATCH /patients/{id}","href":"/api-reference/patients/update"},{"group":"Insurance","pages":[{"title":"Add Patient Insurance","openapi":"POST /patients/{patient_mrn}/insurances","href":"/api-reference/patients/insurances/add"},{"title":"Update Patient Insurance","openapi":"PATCH /patients/{patient_mrn}/insurances/{emr_insurance_id}","href":"/api-reference/patients/insurances/update"}]}]},{"group":"Payments","pages":[{"title":"Create Payment","openapi":"POST /payments","href":"/api-reference/payments/create"},{"title":"Get Payments","openapi":"GET /payments","href":"/api-reference/payments/get"},{"title":"Get Payment by ID","openapi":"GET /payments/{id}","href":"/api-reference/payments/get-by-id"}]},{"group":"Pharmacies","pages":[{"title":"Get Pharmacies","openapi":"GET /pharmacies","href":"/api-reference/pharmacies/get"}]},{"group":"Providers","pages":[{"title":"Get Providers","openapi":"GET /providers","href":"/api-reference/providers/get"},{"title":"Update Provider","openapi":"PATCH /providers/{id}","description":"Updates a provider's status, working hours, and/or availability visibility.","href":"/api-reference/providers/update"},{"title":"Update Provider by EMR ID","openapi":"PATCH /providers/ehr/{ehr_id}","href":"/api-reference/providers/update-by-ehr"}]},{"group":"Recalls","pages":[{"title":"Get Recalls","openapi":"GET /recalls","description":"Lists recalls for the connected account.","href":"/api-reference/recalls/list"},{"title":"Create Recall","openapi":"POST /recalls","href":"/api-reference/recalls/create"},{"title":"Update Recall","openapi":"PATCH /recalls/{id}","href":"/api-reference/recalls/update"},{"title":"Add Action to Recall","openapi":"POST /recalls/{id}/actions","href":"/api-reference/recalls/create-action"}]},{"group":"Referrals","pages":[{"title":"Create Referral","openapi":"POST /referrals","href":"/api-reference/referrals/create"},{"title":"Get Referrals","openapi":"GET /referrals","href":"/api-reference/referrals/get"},{"title":"Update Referral","openapi":"PATCH /referrals/{id}","href":"/api-reference/referrals/update"}]},{"group":"Referring Providers","pages":[{"title":"Create Referring Provider","openapi":"POST /referring-providers","href":"/api-reference/referring-providers/create"},{"title":"Get Referring Providers","openapi":"GET /referring-providers","href":"/api-reference/referring-providers/get"}]},{"group":"Encounters","pages":[{"title":"Create Encounter","openapi":"POST /encounters","href":"/api-reference/encounters/create"},{"title":"Update Encounter","openapi":"PATCH /encounters/{id}","href":"/api-reference/encounters/update"}]},{"group":"Settings","pages":[{"title":"Get Settings","openapi":"GET /settings","href":"/api-reference/settings/get"},{"title":"Update Settings","openapi":"POST /settings","href":"/api-reference/settings/update"}]},{"group":"Staff","pages":[{"title":"Get Staff","openapi":"GET /staff","href":"/api-reference/staff/get"}]},{"group":"Tasks","pages":[{"title":"Create Task","openapi":"POST /tasks","href":"/api-reference/tasks/create"},{"title":"Create Task Note","openapi":"POST /tasks/notes","href":"/api-reference/tasks/notes/create"}]},{"group":"Telephone Encounters","pages":[{"title":"List Telephone Encounters","openapi":"GET /telephone-encounters","href":"/api-reference/telephone-encounters/list"},{"title":"Create Telephone Encounter","openapi":"POST /telephone-encounters","href":"/api-reference/telephone-encounters/create"},{"title":"Add Action to Telephone Encounter","openapi":"POST /telephone-encounters/actions","href":"/api-reference/telephone-encounters/create-action"}]},{"group":"Visit Statuses","pages":[{"title":"Get Visit Statuses","openapi":"GET /visit-statuses","href":"/api-reference/visit-statuses/get"}]},{"group":"Visit Types","pages":[{"title":"Get Visit Types","openapi":"GET /visit-types","href":"/api-reference/visit-types/get"}]},{"group":"Webhooks","pages":[{"title":"Create Webhook","openapi":"POST /webhook","href":"/api-reference/webhooks/create"},{"title":"Delete Webhook","openapi":"DELETE /webhook/{id}","href":"/api-reference/webhooks/delete"},{"title":"Get Webhooks","openapi":"GET /webhook","href":"/api-reference/webhooks/get"},{"title":"Rotate Webhook Secret","openapi":"POST /webhook/rotate-secret","href":"/api-reference/webhooks/rotate-secret"},{"title":"Send Test Webhook","openapi":"POST /webhook/test","href":"/api-reference/webhooks/send-test-webhook"},{"title":"Get Webhook Events","openapi":"GET /webhook-events","href":"/api-reference/webhook-events/get"},{"title":"Get Webhook Event","openapi":"GET /webhook-events/{id}","href":"/api-reference/webhook-events/get-by-id"}]}]}]},"basePath":"","title":"Update Provider by EMR ID - Cobalt","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}