start_date (string, required): Start of the date range in ISO format (YYYY-MM-DD)
end_date (string, required): End of the date range in ISO format (YYYY-MM-DD)
patient_mrn (string, optional): Filter by patient MRN
status (string, optional): Filter by referral status
priority (string, optional): Filter by priority — routine, urgent, or stat
direction (string, optional): Filter by referral direction — incoming or outgoing
ehr_id (string, optional): Filter by the referral’s EMR ID
receiving_line (string, optional): Filter by the receiving line — the fax number that received the document. Accepts any format; the value is canonicalized to E.164 before matching.
page (integer, optional): Page number (default: 1)
page_size (integer, optional): Results per page, max 100 (default: 100)
sort (string, optional): Sort order — pass created_at for ascending, defaults to descending by referral date
{"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":""},"entitlements":{},"buildId":"6af4ebf6921663801dbd101e","clientVersion":"0.0.4117","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":"custom-rbac-roles","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":"editor-metadata","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/referrals/get","slug":"/api-reference/referrals/get","pageMetadata":{"title":"Get Referrals","openapi":"GET /referrals","description":"Retrieve referrals from the Cobalt database for a specified date range.","href":"/api-reference/referrals/get"},"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: \"Retrieve referrals from the Cobalt database for a specified date range.\"\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`,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:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`start_date`}),` (string, required): Start of the date range in ISO format (YYYY-MM-DD)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`end_date`}),` (string, required): End of the date range in ISO format (YYYY-MM-DD)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`patient_mrn`}),` (string, optional): Filter by patient MRN`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`status`}),` (string, optional): Filter by referral status`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`priority`}),` (string, optional): Filter by priority — `,_jsx(_components.code,{children:`routine`}),`, `,_jsx(_components.code,{children:`urgent`}),`, or `,_jsx(_components.code,{children:`stat`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`direction`}),` (string, optional): Filter by referral direction — `,_jsx(_components.code,{children:`incoming`}),` or `,_jsx(_components.code,{children:`outgoing`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`ehr_id`}),` (string, optional): Filter by the referral’s EMR ID`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`receiving_line`}),` (string, optional): Filter by the receiving line — the fax number that received the document. Accepts any format; the value is canonicalized to E.164 before matching.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`page`}),` (integer, optional): Page number (default: 1)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`page_size`}),` (integer, optional): Results per page, max 100 (default: 100)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`sort`}),` (string, optional): Sort order — pass `,_jsx(_components.code,{children:`created_at`}),` for ascending, defaults to descending by referral date`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.usecobalt.com/v1/referrals?start_date=2026-03-01\u0026end_date=2026-03-31\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"client_id: your_client_id\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"client_secret: your_client_secret\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"access_token: your_access_token\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`example-response`,children:`Example Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`38`,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:`38`,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:` \"referrals\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4\"`}),_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:` \"ehr_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"REF-00123\"`}),_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:` \"patient_ehr_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PAT-456\"`}),_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:` \"patient_mrn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1234567\"`}),_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:` \"patient_first_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Jane\"`}),_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:` \"patient_last_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Smith\"`}),_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:` \"patient_dob\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1985-03-15\"`}),_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:` \"from_provider_ehr_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PROV-001\"`}),_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:` \"from_provider_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Dr. John Doe\"`}),_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:` \"to_provider_ehr_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PROV-002\"`}),_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:` \"to_provider_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Dr. Sarah Lee\"`}),_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:` \"priority\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"urgent\"`}),_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:` \"urgency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"urgent\"`}),_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:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Cardiology consultation\"`}),_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:` \"prior_authorization_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AUTH-12345\"`}),_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:` \"specialty\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Cardiology\"`}),_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:` \"to_facility_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example Regional Hospital\"`}),_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:` \"diagnosis_codes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"I10\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Z87.39\"`}),_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:` \"document_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5\"`}),_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:` \"direction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"incoming\"`}),_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:` \"receiving_line\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+12345678901\"`}),_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:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_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:` \"referral_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-03-10T00:00:00.000Z\"`}),_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:` \"last_activity_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-03-11T14:30:00.000Z\"`}),_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:` \"synced_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-03-11T14:35:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_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:` \"pagination\"`}),_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:` \"page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_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:` \"page_size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_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:` \"total_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_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:` \"total_pages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(Heading,{level:`3`,id:`top-level-fields`,children:`Top-Level Fields`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`success`}),` (boolean): Whether the request was successful`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`referrals`}),` (array): Array of referral objects`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`pagination`}),` (object): Pagination metadata`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`referral-object`,children:`Referral Object`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`id`}),` (string): Cobalt referral ID (UUID without dashes)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`ehr_id`}),` (string): The referral ID as it appears in the EMR`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`patient_ehr_id`}),` (string, nullable): The patient’s EMR ID`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`patient_mrn`}),` (string, nullable): Patient medical record number`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`patient_first_name`}),` (string, nullable): Patient first name`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`patient_last_name`}),` (string, nullable): Patient last name`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`patient_dob`}),` (string, nullable): Patient date of birth`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`from_provider_ehr_id`}),` (string, nullable): EMR ID of the referring provider`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`from_provider_name`}),` (string, nullable): Name of the referring provider`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`to_provider_ehr_id`}),` (string, nullable): EMR ID of the provider being referred to`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`to_provider_name`}),` (string, nullable): Name of the provider being referred to`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`priority`}),` (string, nullable): Referral priority — `,_jsx(_components.code,{children:`routine`}),`, `,_jsx(_components.code,{children:`urgent`}),`, or `,_jsx(_components.code,{children:`stat`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`urgency`}),` (string, nullable): Urgency designation as recorded in the EMR`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`reason`}),` (string, nullable): Reason for the referral`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`prior_authorization_code`}),` (string, nullable): Prior authorization code recorded on the referral`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`specialty`}),` (string, nullable): Referral specialty`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`to_facility_name`}),` (string, nullable): Name of the facility the referral is directed to`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`diagnosis_codes`}),` (array): ICD-10 diagnosis codes associated with the referral`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`document_ids`}),` (array): Cobalt IDs of attached documents (UUIDs without dashes)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`direction`}),` (string, nullable): Referral direction — `,_jsx(_components.code,{children:`incoming`}),` or `,_jsx(_components.code,{children:`outgoing`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`receiving_line`}),` (string, nullable): The receiving line — the fax number that received the document — in E.164 format (e.g. `,_jsx(_components.code,{children:`+12345678901`}),`).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`status`}),` (string, nullable): Current referral status`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`referral_date`}),` (string, nullable): Date the referral was created (ISO 8601)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`last_activity_at`}),` (string, nullable): Timestamp of the most recent activity on the referral (ISO 8601)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`synced_at`}),` (string, nullable): Timestamp of the last sync from the EMR (ISO 8601)`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`This endpoint returns referrals from the Cobalt database. Data is updated during scheduled syncs.`}),`\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":"Get Referrals","openapi":"GET /referrals","description":"Retrieve referrals from the Cobalt database for a specified date range.","href":"/api-reference/referrals/get"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Example Request","slug":"example-request","depth":2,"children":[]},{"title":"Example Response","slug":"example-response","depth":2,"children":[]},{"title":"Response Fields","slug":"response-fields","depth":2,"children":[{"title":"Top-Level Fields","slug":"top-level-fields","depth":3,"children":[]},{"title":"Referral Object","slug":"referral-object","depth":3,"children":[]}]},{"title":"Notes","slug":"notes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"getReferrals","summary":"List referrals","description":"Retrieve referrals from the Cobalt database for a specified date range.","tags":["Referrals"],"x-supported-emrs":["eClinicalWorks","ModmedEMA","Sunwave"],"parameters":["ea10d88b-18d9-4f90-9620-7c39a31319f3","c7890a8f-a511-4402-bcc4-1b4e86925351","bb4ef7ba-d680-470b-afb0-6ea6da672872","40a61318-ed61-43b1-aa76-ada09495e69c","10cf6891-dcac-4fc0-9189-4c88b963272d","2d7d8088-1960-461e-8718-08f4b96ff1b3","0c2d0cb8-2045-49d7-bd29-8957910ca0a7","9023f776-2897-4eb8-a301-c25dad501b42","2b76a891-ca23-452f-bbc7-37b018c4e0e8","f355f03d-ce4b-449e-8f72-6116901bdc10","c07af422-87b3-4bfd-9ecc-5b1de1c589e6"],"responses":{"200":"742d68c6-3def-4fa5-bdee-07a31c50bd91","400":"011eb8fc-cd54-4333-9bf3-3b92d5fa7759","401":"84083729-9644-424b-bfdf-cfe6a4e5492e","500":"39ff72c3-adc0-4af8-a569-cc163541ce20"},"method":"get","type":"path","servers":["1686858a-b4c9-4667-b3ea-ed26931cf915"],"security":["59e1e4f2-2938-46cd-8ffc-d8a065c90403"],"path":"/referrals","baseUrlOptions":["https://api.usecobalt.com/v1"],"title":"List referrals","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"ea10d88b-18d9-4f90-9620-7c39a31319f3":{"name":"start_date","in":"query","description":"Start of the referral date range (ISO 8601, YYYY-MM-DD).","schema":{"type":"string","example":"2026-03-15","isRequired":true,"description":"Start of the referral date range (ISO 8601, YYYY-MM-DD).","uniqueKey":"","typeLabel":"string"},"required":true,"x-supported-emrs":["eClinicalWorks","ModmedEMA","Sunwave"]},"c7890a8f-a511-4402-bcc4-1b4e86925351":{"name":"end_date","in":"query","description":"End of the referral date range (ISO 8601, YYYY-MM-DD).","schema":{"type":"string","example":"2026-03-20","isRequired":true,"description":"End of the referral date range (ISO 8601, YYYY-MM-DD).","uniqueKey":"","typeLabel":"string"},"required":true,"x-supported-emrs":["eClinicalWorks","ModmedEMA","Sunwave"]},"bb4ef7ba-d680-470b-afb0-6ea6da672872":{"name":"patient_mrn","in":"query","description":"Filter by patient Medical Record Number.","schema":{"type":"string","example":"12345","isRequired":false,"description":"Filter by patient Medical Record Number.","uniqueKey":"","typeLabel":"string"},"required":false,"x-supported-emrs":["eClinicalWorks","ModmedEMA","Sunwave"]},"40a61318-ed61-43b1-aa76-ada09495e69c":{"name":"status","in":"query","description":"Filter by referral status.","schema":{"type":"string","example":"Sent","isRequired":false,"description":"Filter by referral status.","uniqueKey":"","typeLabel":"string"},"required":false,"x-supported-emrs":["eClinicalWorks","ModmedEMA","Sunwave"]},"10cf6891-dcac-4fc0-9189-4c88b963272d":{"name":"priority","in":"query","description":"Filter by referral priority.","schema":{"type":"string","example":"routine","isRequired":false,"description":"Filter by referral priority.","uniqueKey":"","typeLabel":"string"},"required":false,"x-supported-emrs":["eClinicalWorks","ModmedEMA","Sunwave"]},"2d7d8088-1960-461e-8718-08f4b96ff1b3":{"name":"direction","in":"query","description":"Filter by referral direction (incoming, outgoing).","schema":{"type":"string","example":"outgoing","isRequired":false,"description":"Filter by referral direction (incoming, outgoing).","uniqueKey":"","typeLabel":"string"},"required":false,"x-supported-emrs":["eClinicalWorks","ModmedEMA","Sunwave"]},"0c2d0cb8-2045-49d7-bd29-8957910ca0a7":{"name":"ehr_id","in":"query","description":"Filter by the referral’s EHR ID.","schema":{"type":"string","example":"referral-emr-123","isRequired":false,"description":"Filter by the referral’s EHR ID.","uniqueKey":"","typeLabel":"string"},"required":false,"x-supported-emrs":["eClinicalWorks","ModmedEMA","Sunwave"]},"9023f776-2897-4eb8-a301-c25dad501b42":{"name":"receiving_line","in":"query","description":"Filter by the receiving line.","schema":{"type":"string","example":"555-123-4568","isRequired":false,"description":"Filter by the receiving line.","uniqueKey":"","typeLabel":"string"},"required":false,"x-supported-emrs":["eClinicalWorks","ModmedEMA","Sunwave"]},"2b76a891-ca23-452f-bbc7-37b018c4e0e8":{"name":"page","in":"query","description":"Page number.","schema":{"type":"integer","minimum":1,"default":1,"example":1,"isRequired":false,"description":"Page number.","uniqueKey":"","typeLabel":"integer"},"required":false,"x-supported-emrs":["eClinicalWorks","ModmedEMA","Sunwave"]},"f355f03d-ce4b-449e-8f72-6116901bdc10":{"name":"page_size","in":"query","description":"Items per page (max 100).","schema":{"type":"integer","minimum":1,"maximum":100,"default":100,"example":100,"isRequired":false,"description":"Items per page (max 100).","uniqueKey":"","typeLabel":"integer"},"required":false,"x-supported-emrs":["eClinicalWorks","ModmedEMA","Sunwave"]},"c07af422-87b3-4bfd-9ecc-5b1de1c589e6":{"name":"sort","in":"query","description":"Sort order. \"created_at\" sorts oldest-first; the default is newest-first.","schema":{"type":"string","enum":["created_at"],"example":"created_at","isRequired":false,"description":"Sort order. \"created_at\" sorts oldest-first; the default is newest-first.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false,"x-supported-emrs":["eClinicalWorks","ModmedEMA","Sunwave"]}},"responses":{"742d68c6-3def-4fa5-bdee-07a31c50bd91":{"description":"Referrals for the account","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"referrals":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Cobalt referral ID (dashless UUID).","uniqueKey":"referrals.items.[INDEX].id","typeLabel":"string"},"ehr_id":{"type":"string","description":"EMR referral ID.","uniqueKey":"referrals.items.[INDEX].ehr_id","typeLabel":"string"},"patient_ehr_id":{"type":"string","description":"EMR patient ID.","uniqueKey":"referrals.items.[INDEX].patient_ehr_id","typeLabel":"string"},"patient_mrn":{"type":"string","description":"Patient Medical Record Number.","uniqueKey":"referrals.items.[INDEX].patient_mrn","typeLabel":"string"},"patient_first_name":{"type":"string","description":"Patient first name.","uniqueKey":"referrals.items.[INDEX].patient_first_name","typeLabel":"string"},"patient_last_name":{"type":"string","description":"Patient last name.","uniqueKey":"referrals.items.[INDEX].patient_last_name","typeLabel":"string"},"patient_dob":{"type":"string","format":"date","description":"Patient date of birth.","uniqueKey":"referrals.items.[INDEX].patient_dob","typeLabel":"string\u003cdate>"},"from_provider_ehr_id":{"type":"string","description":"Referring-from provider EHR ID.","uniqueKey":"referrals.items.[INDEX].from_provider_ehr_id","typeLabel":"string"},"from_provider_name":{"type":"string","description":"Referring-from provider name.","uniqueKey":"referrals.items.[INDEX].from_provider_name","typeLabel":"string"},"to_provider_ehr_id":{"type":"string","description":"Referring-to provider EHR ID.","uniqueKey":"referrals.items.[INDEX].to_provider_ehr_id","typeLabel":"string"},"to_provider_name":{"type":"string","description":"Referring-to provider name.","uniqueKey":"referrals.items.[INDEX].to_provider_name","typeLabel":"string"},"priority":{"type":"string","description":"Referral priority.","uniqueKey":"referrals.items.[INDEX].priority","typeLabel":"string"},"urgency":{"type":"string","description":"Referral urgency.","uniqueKey":"referrals.items.[INDEX].urgency","typeLabel":"string"},"reason":{"type":"string","description":"Referral reason.","uniqueKey":"referrals.items.[INDEX].reason","typeLabel":"string"},"prior_authorization_code":{"type":"string","description":"Prior authorization code.","uniqueKey":"referrals.items.[INDEX].prior_authorization_code","typeLabel":"string"},"specialty":{"type":"string","description":"Referral specialty.","uniqueKey":"referrals.items.[INDEX].specialty","typeLabel":"string"},"to_facility_name":{"type":"string","description":"Name of the facility being referred to.","uniqueKey":"referrals.items.[INDEX].to_facility_name","typeLabel":"string"},"visits_used":{"oneOf":[{"type":"integer","description":"Visits used against the referral.","uniqueKey":"referrals.items.[INDEX].visits_used.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Visits used against the referral.","uniqueKey":"referrals.items.[INDEX].visits_used.oneOf.1","typeLabel":"null"}],"uniqueKey":"referrals.items.[INDEX].visits_used","typeLabel":"integer | null"},"unit_type":{"oneOf":[{"type":"string","description":"Unit the referral counts in (e.g. visits).","uniqueKey":"referrals.items.[INDEX].unit_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unit the referral counts in (e.g. visits).","uniqueKey":"referrals.items.[INDEX].unit_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"referrals.items.[INDEX].unit_type","typeLabel":"string | null"},"diagnosis_codes":{"type":"array","items":{"type":"string","uniqueKey":"referrals.items.[INDEX].diagnosis_codes.items.[INDEX]","typeLabel":"string"},"description":"ICD-10 diagnosis codes.","uniqueKey":"referrals.items.[INDEX].diagnosis_codes","typeLabel":"string[]"},"document_ids":{"type":"array","items":{"type":"string","uniqueKey":"referrals.items.[INDEX].document_ids.items.[INDEX]","typeLabel":"string"},"description":"Cobalt document IDs (dashless).","uniqueKey":"referrals.items.[INDEX].document_ids","typeLabel":"string[]"},"direction":{"type":"string","description":"Referral direction (incoming, outgoing).","uniqueKey":"referrals.items.[INDEX].direction","typeLabel":"string"},"receiving_line":{"type":"string","description":"Receiving line.","uniqueKey":"referrals.items.[INDEX].receiving_line","typeLabel":"string"},"referral_source":{"type":"string","description":"Referral source (e.g. referring organization).","uniqueKey":"referrals.items.[INDEX].referral_source","typeLabel":"string"},"patient_email":{"type":"string","description":"Patient email address.","uniqueKey":"referrals.items.[INDEX].patient_email","typeLabel":"string"},"patient_phone":{"type":"string","description":"Patient phone number.","uniqueKey":"referrals.items.[INDEX].patient_phone","typeLabel":"string"},"insurance_name":{"type":"string","description":"Primary insurance payer name.","uniqueKey":"referrals.items.[INDEX].insurance_name","typeLabel":"string"},"insurance_member_id":{"type":"string","description":"Primary insurance member/subscriber ID.","uniqueKey":"referrals.items.[INDEX].insurance_member_id","typeLabel":"string"},"insurance_group_number":{"type":"string","description":"Primary insurance group number.","uniqueKey":"referrals.items.[INDEX].insurance_group_number","typeLabel":"string"},"insurance_policy_status":{"type":"string","description":"Primary insurance policy status.","uniqueKey":"referrals.items.[INDEX].insurance_policy_status","typeLabel":"string"},"insurance_effective_date":{"type":"string","description":"Primary insurance policy effective date.","uniqueKey":"referrals.items.[INDEX].insurance_effective_date","typeLabel":"string"},"target_admission_date":{"type":"string","format":"date","description":"Target admission date for the referral/opportunity.","uniqueKey":"referrals.items.[INDEX].target_admission_date","typeLabel":"string\u003cdate>"},"status":{"type":"string","description":"Referral status.","uniqueKey":"referrals.items.[INDEX].status","typeLabel":"string"},"referral_date":{"type":"string","description":"Referral date (ISO 8601).","uniqueKey":"referrals.items.[INDEX].referral_date","typeLabel":"string"},"last_activity_at":{"type":"string","description":"Last activity timestamp (ISO 8601).","uniqueKey":"referrals.items.[INDEX].last_activity_at","typeLabel":"string"},"synced_at":{"type":"string","description":"When Cobalt last synced the referral (ISO 8601).","uniqueKey":"referrals.items.[INDEX].synced_at","typeLabel":"string"}},"example":{"id":"c624cd97fc684b4587d98e258ab9ff10","ehr_id":"referral-emr-123","patient_ehr_id":"patient-123","patient_mrn":"12345","patient_first_name":"Jane","patient_last_name":"Doe","patient_dob":"1980-01-15","from_provider_ehr_id":"provider-456","from_provider_name":"Dr. Alex Smith","to_provider_ehr_id":"provider-123","to_provider_name":"Dr. Jordan Lee","priority":"routine","urgency":"routine","reason":"Specialist consultation","prior_authorization_code":"AUTH-12345","specialty":"Cardiology","to_facility_name":"Main Hospital","visits_used":2,"unit_type":"V (VISIT)","diagnosis_codes":["I10","E11.9"],"document_ids":["9cd3314db75d4ce692a46882006e9621"],"direction":"outgoing","receiving_line":"555-123-4568","referral_source":"Main Hospital","patient_email":"jane.doe@example.com","patient_phone":"555-123-4567","insurance_name":"Blue Cross Anthem","insurance_member_id":"MEM123456789","insurance_group_number":"GRP98999","insurance_policy_status":"active","insurance_effective_date":"2026-01-01","target_admission_date":"2026-09-01","status":"Sent","referral_date":"2026-09-01T09:00:00Z","last_activity_at":"2026-09-01T10:00:00Z","synced_at":"2026-09-01T10:05:00Z"},"uniqueKey":"referrals.items.[INDEX]","typeLabel":"object"},"example":[{"id":"c624cd97fc684b4587d98e258ab9ff10","ehr_id":"referral-emr-123","patient_ehr_id":"patient-123","patient_mrn":"12345","patient_first_name":"Jane","patient_last_name":"Doe","patient_dob":"1980-01-15","from_provider_ehr_id":"provider-456","from_provider_name":"Dr. Alex Smith","to_provider_ehr_id":"provider-123","to_provider_name":"Dr. Jordan Lee","priority":"routine","urgency":"routine","reason":"Specialist consultation","prior_authorization_code":"AUTH-12345","specialty":"Cardiology","to_facility_name":"Main Hospital","visits_used":2,"unit_type":"V (VISIT)","diagnosis_codes":["I10","E11.9"],"document_ids":["9cd3314db75d4ce692a46882006e9621"],"direction":"outgoing","receiving_line":"555-123-4568","referral_source":"Main Hospital","patient_email":"jane.doe@example.com","patient_phone":"555-123-4567","insurance_name":"Blue Cross Anthem","insurance_member_id":"MEM123456789","insurance_group_number":"GRP98999","insurance_policy_status":"active","insurance_effective_date":"2026-01-01","target_admission_date":"2026-09-01","status":"Sent","referral_date":"2026-09-01T09:00:00Z","last_activity_at":"2026-09-01T10:00:00Z","synced_at":"2026-09-01T10:05:00Z"}],"isRequired":true,"uniqueKey":"referrals","typeLabel":"object[]"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":1,"isRequired":true,"uniqueKey":"pagination.page","typeLabel":"integer"},"page_size":{"type":"integer","example":1,"isRequired":true,"uniqueKey":"pagination.page_size","typeLabel":"integer"},"total_count":{"type":"integer","example":1,"isRequired":true,"uniqueKey":"pagination.total_count","typeLabel":"integer"},"total_pages":{"type":"integer","example":1,"isRequired":true,"uniqueKey":"pagination.total_pages","typeLabel":"integer"}},"required":["page","page_size","total_count","total_pages"],"isRequired":true,"uniqueKey":"pagination","typeLabel":"object"}},"required":["success","referrals","pagination"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"referrals":[{"id":"c624cd97fc684b4587d98e258ab9ff10","ehr_id":"referral-emr-123","patient_ehr_id":"patient-123","patient_mrn":"12345","patient_first_name":"Jane","patient_last_name":"Doe","patient_dob":"1980-01-15","from_provider_ehr_id":"provider-456","from_provider_name":"Dr. Alex Smith","to_provider_ehr_id":"provider-123","to_provider_name":"Dr. Jordan Lee","priority":"routine","urgency":"routine","reason":"Specialist consultation","prior_authorization_code":"AUTH-12345","specialty":"Cardiology","to_facility_name":"Main Hospital","visits_used":2,"unit_type":"V (VISIT)","diagnosis_codes":["I10","E11.9"],"document_ids":["9cd3314db75d4ce692a46882006e9621"],"direction":"outgoing","receiving_line":"555-123-4568","referral_source":"Main Hospital","patient_email":"jane.doe@example.com","patient_phone":"555-123-4567","insurance_name":"Blue Cross Anthem","insurance_member_id":"MEM123456789","insurance_group_number":"GRP98999","insurance_policy_status":"active","insurance_effective_date":"2026-01-01","target_admission_date":"2026-09-01","status":"Sent","referral_date":"2026-09-01T09:00:00Z","last_activity_at":"2026-09-01T10:00:00Z","synced_at":"2026-09-01T10:05:00Z"}],"pagination":{"page":1,"page_size":1,"total_count":1,"total_pages":1}}}},"exampleType":"generated"}},"exampleType":"generated"},"011eb8fc-cd54-4333-9bf3-3b92d5fa7759":{"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"},"84083729-9644-424b-bfdf-cfe6a4e5492e":{"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"},"39ff72c3-adc0-4af8-a569-cc163541ce20":{"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":{"59e1e4f2-2938-46cd-8ffc-d8a065c90403":{"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":{"1686858a-b4c9-4667-b3ea-ed26931cf915":{"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":"Get Referrals - Cobalt","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-22T18:06:51.385Z","originalFileLocation":"api-reference/referrals/get.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=\"Retrieve referrals from the Cobalt database for a specified date range.\">\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=\"Get Referrals - Cobalt\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve referrals from the Cobalt database for a specified date range.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cobalt\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.usecobalt.com/api-reference/referrals/get\">\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=Referrals\u0026amp;title=Get+Referrals\u0026amp;description=Retrieve+referrals+from+the+Cobalt+database+for+a+specified+date+range.\u0026amp;theme=ffc7333b91b15631759a2f94\u0026amp;signature=6f6a1d936643d163fde7507a5376fad684376667d88af6876421855600e97f16\">\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=\"Get Referrals - Cobalt\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve referrals from the Cobalt database for a specified date range.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cobalt-cd7844c1.mintlify.site/_mintlify/api/og/v2?division=Referrals\u0026amp;title=Get+Referrals\u0026amp;description=Retrieve+referrals+from+the+Cobalt+database+for+a+specified+date+range.\u0026amp;theme=ffc7333b91b15631759a2f94\u0026amp;signature=6f6a1d936643d163fde7507a5376fad684376667d88af6876421855600e97f16\">\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/referrals/get\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/referrals/get.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/referrals/get#webpage\",\"url\":\"https://docs.usecobalt.com/api-reference/referrals/get\",\"name\":\"Get Referrals\",\"description\":\"Retrieve referrals from the Cobalt database for a specified date range.\",\"dateModified\":\"2026-09-22T18:06:51.385Z\",\"isPartOf\":{\"@id\":\"https://docs.usecobalt.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.usecobalt.com/api-reference/referrals/get#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.usecobalt.com/api-reference/referrals/get#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Referrals\",\"item\":\"https://docs.usecobalt.com/api-reference/referrals/create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Referrals\",\"item\":\"https://docs.usecobalt.com/api-reference/referrals/get\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.usecobalt.com/api-reference/referrals/get#apireference\",\"headline\":\"Get Referrals\",\"name\":\"Get Referrals\",\"description\":\"Retrieve referrals from the Cobalt database for a specified date range.\",\"url\":\"https://docs.usecobalt.com/api-reference/referrals/get\",\"mainEntityOfPage\":{\"@id\":\"https://docs.usecobalt.com/api-reference/referrals/get#webpage\"},\"dateModified\":\"2026-09-22T18:06:51.385Z\",\"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\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cobalt\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/referrals/get.md","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}","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","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","description":"Queues a referral for creation in the provider's EMR system.","href":"/api-reference/referrals/create"},{"title":"Get Referrals","openapi":"GET /referrals","href":"/api-reference/referrals/get"},{"title":"Update Referral","openapi":"PATCH /referrals/{id}","description":"Queues an update to an existing referral in the provider's EMR system.","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":"Get Referrals - Cobalt","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js","Markdown-CMT1uFWQ.js","clsx-C8f2yC9R.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CI2D8R2Y.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-k78Wrw_e.js"]}