Public API key: cxp_<hex> (firm-scoped) or cxpp_<hex> (provider-scoped). Required on every request.
Path Parameters
id
string<uuid>
required
Resource UUID
Body
application/json
referentFirmId
string<uuid>
required
Receiving firm
notes
string
Optional note appended to the referral notes. Line breaks are collapsed to spaces.
Maximum string length: 10000
reason
string
Optional note recorded on the resulting status-history entry. Line breaks are collapsed to spaces.
Maximum string length: 5000
allowDuplicateClient
boolean
default:false
Send even though your firm already referred this client to the same receiving firm from another case of the same case type (409 duplicate_client_referral). Set it only after confirming this is a separate matter; each override is audited.
Response
Updated referral
data
object
required
A referral as seen by either party. Mostly referral-level fields (financials, resolution, workflow); of the parent case's details only caseType and clientPhone are included — the rest live on the case (GET /cases/{id}). When the caller is the receiving firm and the referral is still SENT (not yet acknowledged), or was withdrawn or expired directly from SENT without being acknowledged, clientPhone, leadAttorneyName, leadAttorneyEmail, handlingTeamName, handlingTeamEmail, warmTransferUnsuccessfulReason, warmTransferUnsuccessfulReasonType and notes are null and customFields is empty. Acknowledging (POST /referrals/{id}/acknowledge) unmasks them.
Show child attributes
meta
object
required
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CaseXchange Public API","colors":{"primary":"#EA4E00","light":"#FF8142","dark":"#EA4E00"},"logo":{"light":"https://mintcdn.com/casexchange/KOlGhBF7XhztshRX/logo/light.png?fit=max\u0026auto=format\u0026n=KOlGhBF7XhztshRX\u0026q=85\u0026s=deebe246bf795c2ec8e597745d5a7506","dark":"https://mintcdn.com/casexchange/KOlGhBF7XhztshRX/logo/dark.png?fit=max\u0026auto=format\u0026n=KOlGhBF7XhztshRX\u0026q=85\u0026s=c28ea6f63b6fdd1aa1bb8b56da7d6cd8"},"favicon":"https://mintcdn.com/casexchange/KOlGhBF7XhztshRX/logo/favicon.png?fit=max\u0026auto=format\u0026n=KOlGhBF7XhztshRX\u0026q=85\u0026s=e2c7e208bb808008bf629ebc064d391d","navbar":{"links":[{"href":"/postman/CaseXchange-Public-API.postman_collection.json","label":"Postman Collection"},{"href":"mailto:help@casexchange.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.casexchange.com"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/case-xchange"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"casexchange","hasAudioNarration":false,"actualSubdomain":"casexchange","customDomains":["docs.casexchange.com"],"gitSource":{"type":"github","owner":"casexchange","repo":"api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10c5879ffae5051c406bed"},"entitlements":{},"buildId":"6b024522839604291951bb79","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"API","count":158},{"language":"default","tag":"Endpoints","count":154},{"language":"default","tag":"Webhooks","count":22},{"language":"default","tag":"Guides","count":20},{"language":"default","tag":"Med Cases","count":19},{"language":"default","tag":"Referrals","count":16},{"language":"default","tag":"MedEx Pharmacy","count":13},{"language":"default","tag":"Analytics","count":9},{"language":"default","tag":"Cases","count":9},{"language":"default","tag":"Get started","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/referrals/send-a-draft-referral","slug":"/api-reference/referrals/send-a-draft-referral","pageMetadata":{"title":"Send a draft referral","description":"Sends a DRAFT referral to a receiving firm, transitioning it to SENT. Only the sending firm may send. Requires STANDARD tier.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /referrals/{id}/send","href":"/api-reference/referrals/send-a-draft-referral","autogeneratedByOpenApi":true},"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: \"Sends a DRAFT referral to a receiving firm, transitioning it to SENT. Only the sending firm may send. Requires STANDARD tier.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Send a draft referral","description":"Sends a DRAFT referral to a receiving firm, transitioning it to SENT. Only the sending firm may send. Requires STANDARD tier.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /referrals/{id}/send","href":"/api-reference/referrals/send-a-draft-referral","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"sendReferral","summary":"Send a draft referral","description":"Sends a DRAFT referral to a receiving firm, transitioning it to SENT. Only the sending firm may send. Requires STANDARD tier.","tags":["Referrals"],"security":["e20b992a-b051-440b-8377-8702efd4b334"],"x-access-tier":"standard","parameters":["09223e9e-e1d7-4ee2-befb-d19bb16b0a50"],"requestBody":"3de3291f-c771-44c8-b761-63ff218f5c7f","responses":{"200":"6e47f121-53c0-4cad-9ae0-42523763e7d8","400":"0693eca2-a4a2-4e51-891b-b45bde3f0516","401":"26e9c4f0-2c54-45af-844d-f4dde0d54f22","403":"c45963e5-c318-4538-9a82-2f489acc0a46","404":"e5bfdec2-455f-425b-bcb4-25cc36d77317","409":"82cee237-74e7-42ad-ba11-03cd4ee91568"},"method":"post","type":"path","servers":["345f5755-9455-47f7-b251-5ea16ce352e2","95e4cacd-c70c-4f31-af42-14e9bf3f2ac6"],"path":"/referrals/{id}/send","baseUrlOptions":["https://api.casexchange.com/api/public/v1","/api/public/v1"],"title":"Send a draft referral","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"09223e9e-e1d7-4ee2-befb-d19bb16b0a50":{"in":"path","name":"id","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"Resource UUID","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"Resource UUID"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["referentFirmId"],"properties":{"referentFirmId":{"type":"string","format":"uuid","description":"Receiving firm","isRequired":true,"uniqueKey":"referentFirmId","typeLabel":"string\u003cuuid>"},"notes":{"type":"string","maxLength":10000,"description":"Optional note appended to the referral notes. Line breaks are collapsed to spaces.","uniqueKey":"notes","typeLabel":"string"},"reason":{"type":"string","maxLength":5000,"description":"Optional note recorded on the resulting status-history entry. Line breaks are collapsed to spaces.","uniqueKey":"reason","typeLabel":"string"},"allowDuplicateClient":{"type":"boolean","default":false,"description":"Send even though your firm already referred this client to the same receiving firm from another case of the same case type (409 `duplicate_client_referral`). Set it only after confirming this is a separate matter; each override is audited.","uniqueKey":"allowDuplicateClient","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"referentFirmId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","notes":"\u003cstring>","reason":"\u003cstring>","allowDuplicateClient":false}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"6e47f121-53c0-4cad-9ae0-42523763e7d8":{"description":"Updated referral","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","description":"A referral as seen by either party. Mostly referral-level fields (financials, resolution, workflow); of the parent case's details only caseType and clientPhone are included — the rest live on the case (GET /cases/{id}). When the caller is the receiving firm and the referral is still SENT (not yet acknowledged), or was withdrawn or expired directly from SENT without being acknowledged, clientPhone, leadAttorneyName, leadAttorneyEmail, handlingTeamName, handlingTeamEmail, warmTransferUnsuccessfulReason, warmTransferUnsuccessfulReasonType and notes are null and customFields is empty. Acknowledging (POST /referrals/{id}/acknowledge) unmasks them.","properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"referenceNumber":{"oneOf":[{"type":"string","description":"System-generated reference (e.g. PREFIX-0001)","isRequired":true,"uniqueKey":"data.referenceNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"System-generated reference (e.g. PREFIX-0001)","isRequired":true,"uniqueKey":"data.referenceNumber.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.referenceNumber","typeLabel":"string | null"},"status":{"type":"string","enum":["draft","sent","received","under_evaluation","investigating","signed","in_litigation","closing","won","lost","closed","rejected","withdrawn","expired","pending_spin_off"],"description":"The referral's shared status. The legacy 'received' value is reported as 'under_evaluation'.","isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"closingStatus":{"oneOf":[{"type":"string","enum":["won_settled","lost","no_longer_pursuing"],"isRequired":true,"uniqueKey":"data.closingStatus.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["won_settled","lost","no_longer_pursuing"],"isRequired":true,"uniqueKey":"data.closingStatus.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.closingStatus","typeLabel":"enum\u003cstring> | null"},"payoutType":{"oneOf":[{"type":"string","enum":["lump_sum","structured","hybrid","other"],"isRequired":true,"uniqueKey":"data.payoutType.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["lump_sum","structured","hybrid","other"],"isRequired":true,"uniqueKey":"data.payoutType.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.payoutType","typeLabel":"enum\u003cstring> | null"},"closureReason":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.closureReason.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.closureReason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.closureReason","typeLabel":"string | null"},"referringFirmId":{"type":"string","format":"uuid","description":"Sending firm","isRequired":true,"uniqueKey":"data.referringFirmId","typeLabel":"string\u003cuuid>"},"referentFirmId":{"oneOf":[{"type":"string","format":"uuid","description":"Receiving firm; null while the referral is a DRAFT","isRequired":true,"uniqueKey":"data.referentFirmId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Receiving firm; null while the referral is a DRAFT","isRequired":true,"uniqueKey":"data.referentFirmId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.referentFirmId","typeLabel":"string\u003cuuid> | null"},"lookNumber":{"oneOf":[{"type":"integer","minimum":1,"description":"Which look of its case this referral is: 1 for the first look, 2 for the next look after a rejection, withdrawal or expiry, and so on. Counts every look: re-referred by hand, sent by the Automatic Second Look, or recorded from the sending firm's case history.","isRequired":true,"uniqueKey":"data.lookNumber.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"description":"Which look of its case this referral is: 1 for the first look, 2 for the next look after a rejection, withdrawal or expiry, and so on. Counts every look: re-referred by hand, sent by the Automatic Second Look, or recorded from the sending firm's case history.","isRequired":true,"uniqueKey":"data.lookNumber.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.lookNumber","typeLabel":"integer | null"},"lookType":{"oneOf":[{"type":"string","enum":["first","re_referral","auto_second_look"],"description":"How this look happened: first (the first look), re_referral (a later look the sending firm sent), or auto_second_look (a later look the Automatic Second Look sent). Sending firm (owner of the case) only: null for the receiving firm.","isRequired":true,"uniqueKey":"data.lookType.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["first","re_referral","auto_second_look"],"description":"How this look happened: first (the first look), re_referral (a later look the sending firm sent), or auto_second_look (a later look the Automatic Second Look sent). Sending firm (owner of the case) only: null for the receiving firm.","isRequired":true,"uniqueKey":"data.lookType.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.lookType","typeLabel":"enum\u003cstring> | null"},"isLatestLook":{"oneOf":[{"type":"boolean","description":"Whether this is the case's current look. Null when the case's current look is unknown. Sending firm (owner of the case) only: null for the receiving firm.","isRequired":true,"uniqueKey":"data.isLatestLook.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this is the case's current look. Null when the case's current look is unknown. Sending firm (owner of the case) only: null for the receiving firm.","isRequired":true,"uniqueKey":"data.isLatestLook.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.isLatestLook","typeLabel":"boolean | null"},"caseType":{"oneOf":[{"type":"string","description":"The parent case's case type, as its system name (e.g. 'personal_injury')","isRequired":true,"uniqueKey":"data.caseType.oneOf.0","typeLabel":"string"},{"type":"null","description":"The parent case's case type, as its system name (e.g. 'personal_injury')","isRequired":true,"uniqueKey":"data.caseType.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.caseType","typeLabel":"string | null"},"clientPhone":{"oneOf":[{"type":"string","description":"The client's phone number from the parent case. Masked (null) for the receiving firm while the referral is still SENT, or after it was withdrawn or expired directly from SENT without being acknowledged. GET /cases/{id} masks the same phone as the placeholder '***-***-****' instead.","isRequired":true,"uniqueKey":"data.clientPhone.oneOf.0","typeLabel":"string"},{"type":"null","description":"The client's phone number from the parent case. Masked (null) for the receiving firm while the referral is still SENT, or after it was withdrawn or expired directly from SENT without being acknowledged. GET /cases/{id} masks the same phone as the placeholder '***-***-****' instead.","isRequired":true,"uniqueKey":"data.clientPhone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.clientPhone","typeLabel":"string | null"},"settlementAmount":{"oneOf":[{"type":"number","minimum":0,"maximum":1000000000,"description":"Final settlement amount in dollars","isRequired":true,"uniqueKey":"data.settlementAmount.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":1000000000,"description":"Final settlement amount in dollars","isRequired":true,"uniqueKey":"data.settlementAmount.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.settlementAmount","typeLabel":"number | null"},"attorneyFees":{"oneOf":[{"type":"number","minimum":0,"maximum":1000000000,"description":"Attorney fees in dollars","isRequired":true,"uniqueKey":"data.attorneyFees.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":1000000000,"description":"Attorney fees in dollars","isRequired":true,"uniqueKey":"data.attorneyFees.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.attorneyFees","typeLabel":"number | null"},"projectedSettlementAmount":{"oneOf":[{"type":"number","minimum":0,"maximum":1000000000,"description":"Projected settlement amount in dollars","isRequired":true,"uniqueKey":"data.projectedSettlementAmount.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":1000000000,"description":"Projected settlement amount in dollars","isRequired":true,"uniqueKey":"data.projectedSettlementAmount.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.projectedSettlementAmount","typeLabel":"number | null"},"estimatedDateOfResolution":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.estimatedDateOfResolution.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"data.estimatedDateOfResolution.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.estimatedDateOfResolution","typeLabel":"string\u003cdate-time> | null"},"estimatedDistributionDate":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.estimatedDistributionDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"data.estimatedDistributionDate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.estimatedDistributionDate","typeLabel":"string\u003cdate-time> | null"},"statuteOfLimitationsExpiration":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.statuteOfLimitationsExpiration.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"data.statuteOfLimitationsExpiration.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.statuteOfLimitationsExpiration","typeLabel":"string\u003cdate-time> | null"},"clientFeeAgreementPercentage":{"oneOf":[{"type":"number","minimum":0,"maximum":1,"description":"Client fee agreement as a FRACTION of the settlement, 0–1 (0.3333 = 33.33%). Not a whole percent — contrast with sendingFirmPercentage.","isRequired":true,"uniqueKey":"data.clientFeeAgreementPercentage.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":1,"description":"Client fee agreement as a FRACTION of the settlement, 0–1 (0.3333 = 33.33%). Not a whole percent — contrast with sendingFirmPercentage.","isRequired":true,"uniqueKey":"data.clientFeeAgreementPercentage.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.clientFeeAgreementPercentage","typeLabel":"number | null"},"sendingFirmPercentage":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"Referral fee owed to the sending firm as a WHOLE-NUMBER percent of attorney fees (33.33 = 33.33%). Input values strictly between 0 and 1 are rejected as likely fractions; 0 means no fee.","isRequired":true,"uniqueKey":"data.sendingFirmPercentage.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"description":"Referral fee owed to the sending firm as a WHOLE-NUMBER percent of attorney fees (33.33 = 33.33%). Input values strictly between 0 and 1 are rejected as likely fractions; 0 means no fee.","isRequired":true,"uniqueKey":"data.sendingFirmPercentage.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.sendingFirmPercentage","typeLabel":"number | null"},"netFeeToSendingFirm":{"oneOf":[{"type":"number","description":"attorneyFees × the sendingFirmPercentage published on this record ÷ 100, rounded to cents; at 33.33% it is exactly one third of attorneyFees. Null when either input is missing or zero.","isRequired":true,"uniqueKey":"data.netFeeToSendingFirm.oneOf.0","typeLabel":"number"},{"type":"null","description":"attorneyFees × the sendingFirmPercentage published on this record ÷ 100, rounded to cents; at 33.33% it is exactly one third of attorneyFees. Null when either input is missing or zero.","isRequired":true,"uniqueKey":"data.netFeeToSendingFirm.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.netFeeToSendingFirm","typeLabel":"number | null"},"netFeeToHandlingFirm":{"oneOf":[{"type":"number","description":"attorneyFees − netFeeToSendingFirm. Null when netFeeToSendingFirm is null.","isRequired":true,"uniqueKey":"data.netFeeToHandlingFirm.oneOf.0","typeLabel":"number"},{"type":"null","description":"attorneyFees − netFeeToSendingFirm. Null when netFeeToSendingFirm is null.","isRequired":true,"uniqueKey":"data.netFeeToHandlingFirm.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.netFeeToHandlingFirm","typeLabel":"number | null"},"resolutionDate":{"oneOf":[{"type":"string","format":"date-time","description":"When the outcome was recorded: the most recent transition into CLOSING, or into WON/LOST for legacy referrals that never passed through CLOSING.","isRequired":true,"uniqueKey":"data.resolutionDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the outcome was recorded: the most recent transition into CLOSING, or into WON/LOST for legacy referrals that never passed through CLOSING.","isRequired":true,"uniqueKey":"data.resolutionDate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.resolutionDate","typeLabel":"string\u003cdate-time> | null"},"closedDate":{"oneOf":[{"type":"string","format":"date-time","description":"The most recent transition into CLOSED.","isRequired":true,"uniqueKey":"data.closedDate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The most recent transition into CLOSED.","isRequired":true,"uniqueKey":"data.closedDate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.closedDate","typeLabel":"string\u003cdate-time> | null"},"leadAttorneyName":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.leadAttorneyName.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.leadAttorneyName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.leadAttorneyName","typeLabel":"string | null"},"leadAttorneyEmail":{"oneOf":[{"type":"string","format":"email","isRequired":true,"uniqueKey":"data.leadAttorneyEmail.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","isRequired":true,"uniqueKey":"data.leadAttorneyEmail.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.leadAttorneyEmail","typeLabel":"string\u003cemail> | null"},"handlingTeamName":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.handlingTeamName.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.handlingTeamName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.handlingTeamName","typeLabel":"string | null"},"handlingTeamEmail":{"oneOf":[{"type":"string","format":"email","isRequired":true,"uniqueKey":"data.handlingTeamEmail.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","isRequired":true,"uniqueKey":"data.handlingTeamEmail.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.handlingTeamEmail","typeLabel":"string\u003cemail> | null"},"warmTransferSuccessful":{"type":"boolean","description":"Whether the warm transfer to the receiving firm succeeded.","isRequired":true,"uniqueKey":"data.warmTransferSuccessful","typeLabel":"boolean"},"warmTransferUnsuccessfulReason":{"oneOf":[{"type":"string","description":"Free-text explanation when the warm transfer was unsuccessful. Only populated when warmTransferUnsuccessfulReasonType is OTHER. Masked (null) for the receiving firm while the referral is still SENT, or after it was withdrawn or expired directly from SENT without being acknowledged.","isRequired":true,"uniqueKey":"data.warmTransferUnsuccessfulReason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Free-text explanation when the warm transfer was unsuccessful. Only populated when warmTransferUnsuccessfulReasonType is OTHER. Masked (null) for the receiving firm while the referral is still SENT, or after it was withdrawn or expired directly from SENT without being acknowledged.","isRequired":true,"uniqueKey":"data.warmTransferUnsuccessfulReason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.warmTransferUnsuccessfulReason","typeLabel":"string | null"},"warmTransferUnsuccessfulReasonType":{"oneOf":[{"type":"string","enum":["FIRM_UNABLE_TO_ANSWER","CLIENT_UNABLE_TO_CONTINUE","OTHER","TRACKING_ONLY","SPIN_OFF_PRIMARY_TRANSFERRED"],"description":"Reason category when the warm transfer did not succeed. FIRM_UNABLE_TO_ANSWER, CLIENT_UNABLE_TO_CONTINUE and OTHER record a failed warm transfer. TRACKING_ONLY (sent after the fact, for tracking only) and SPIN_OFF_PRIMARY_TRANSFERRED (a spin-off case whose primary case was warm transferred) mean no warm transfer was meant to happen, and are not failures. Masked (null) for the receiving firm while the referral is still SENT, or after it was withdrawn or expired directly from SENT without being acknowledged.","isRequired":true,"uniqueKey":"data.warmTransferUnsuccessfulReasonType.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["FIRM_UNABLE_TO_ANSWER","CLIENT_UNABLE_TO_CONTINUE","OTHER","TRACKING_ONLY","SPIN_OFF_PRIMARY_TRANSFERRED"],"description":"Reason category when the warm transfer did not succeed. FIRM_UNABLE_TO_ANSWER, CLIENT_UNABLE_TO_CONTINUE and OTHER record a failed warm transfer. TRACKING_ONLY (sent after the fact, for tracking only) and SPIN_OFF_PRIMARY_TRANSFERRED (a spin-off case whose primary case was warm transferred) mean no warm transfer was meant to happen, and are not failures. Masked (null) for the receiving firm while the referral is still SENT, or after it was withdrawn or expired directly from SENT without being acknowledged.","isRequired":true,"uniqueKey":"data.warmTransferUnsuccessfulReasonType.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.warmTransferUnsuccessfulReasonType","typeLabel":"enum\u003cstring> | null"},"phase":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.phase.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.phase.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.phase","typeLabel":"string | null"},"notes":{"oneOf":[{"type":"string","description":"Aggregated referral notes visible to the caller","isRequired":true,"uniqueKey":"data.notes.oneOf.0","typeLabel":"string"},{"type":"null","description":"Aggregated referral notes visible to the caller","isRequired":true,"uniqueKey":"data.notes.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.notes","typeLabel":"string | null"},"isRetainerSigned":{"type":"boolean","isRequired":true,"uniqueKey":"data.isRetainerSigned","typeLabel":"boolean"},"autoWithdrawAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the sending firm's auto-expire deadline will move the referral to `expired` if the receiving firm has not met the rule: acknowledging the referral for standard referrals, or signing or rejecting it for the case types the sending firm lists; null when no deadline is running. Visible to both firms, including while SENT.","isRequired":true,"uniqueKey":"data.autoWithdrawAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the sending firm's auto-expire deadline will move the referral to `expired` if the receiving firm has not met the rule: acknowledging the referral for standard referrals, or signing or rejecting it for the case types the sending firm lists; null when no deadline is running. Visible to both firms, including while SENT.","isRequired":true,"uniqueKey":"data.autoWithdrawAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.autoWithdrawAt","typeLabel":"string\u003cdate-time> | null"},"autoWithdrawExtensionsRemaining":{"oneOf":[{"type":"integer","description":"Extensions the receiving firm may still request (each adds 48 counted hours); null when no clock applies.","isRequired":true,"uniqueKey":"data.autoWithdrawExtensionsRemaining.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Extensions the receiving firm may still request (each adds 48 counted hours); null when no clock applies.","isRequired":true,"uniqueKey":"data.autoWithdrawExtensionsRemaining.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.autoWithdrawExtensionsRemaining","typeLabel":"integer | null"},"customFields":{"type":"array","items":{"type":"object","description":"A resolved custom field value on a referral.","properties":{"fieldId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.customFields.items.[INDEX].fieldId","typeLabel":"string\u003cuuid>"},"fieldName":{"type":"string","description":"System name of the field","isRequired":true,"uniqueKey":"data.customFields.items.[INDEX].fieldName","typeLabel":"string"},"displayName":{"type":"string","isRequired":true,"uniqueKey":"data.customFields.items.[INDEX].displayName","typeLabel":"string"},"fieldType":{"type":"string","isRequired":true,"uniqueKey":"data.customFields.items.[INDEX].fieldType","typeLabel":"string"},"value":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.customFields.items.[INDEX].value.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.customFields.items.[INDEX].value.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.customFields.items.[INDEX].value","typeLabel":"string | null"}},"required":["fieldId","fieldName","displayName","fieldType","value"],"uniqueKey":"data.customFields.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.customFields","typeLabel":"object[]"},"createdAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","referenceNumber","status","closingStatus","payoutType","closureReason","referringFirmId","referentFirmId","lookNumber","lookType","isLatestLook","caseType","clientPhone","settlementAmount","attorneyFees","projectedSettlementAmount","estimatedDateOfResolution","estimatedDistributionDate","statuteOfLimitationsExpiration","clientFeeAgreementPercentage","sendingFirmPercentage","netFeeToSendingFirm","netFeeToHandlingFirm","resolutionDate","closedDate","leadAttorneyName","leadAttorneyEmail","handlingTeamName","handlingTeamEmail","warmTransferSuccessful","warmTransferUnsuccessfulReason","warmTransferUnsuccessfulReasonType","phase","notes","isRetainerSigned","autoWithdrawAt","autoWithdrawExtensionsRemaining","customFields","createdAt","updatedAt"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"meta":{"type":"object","properties":{"requestId":{"type":"string","example":"req_f2dbe1d3f6ad4a7bb5b4c9f2","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"}},"required":["requestId","timestamp"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["data","meta"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","referenceNumber":"\u003cstring>","status":"draft","closingStatus":"won_settled","payoutType":"lump_sum","closureReason":"\u003cstring>","referringFirmId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","referentFirmId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","lookNumber":2,"lookType":"first","isLatestLook":true,"caseType":"\u003cstring>","clientPhone":"\u003cstring>","settlementAmount":500000000,"attorneyFees":500000000,"projectedSettlementAmount":500000000,"estimatedDateOfResolution":"2023-11-07T05:31:56Z","estimatedDistributionDate":"2023-11-07T05:31:56Z","statuteOfLimitationsExpiration":"2023-11-07T05:31:56Z","clientFeeAgreementPercentage":0.5,"sendingFirmPercentage":50,"netFeeToSendingFirm":123,"netFeeToHandlingFirm":123,"resolutionDate":"2023-11-07T05:31:56Z","closedDate":"2023-11-07T05:31:56Z","leadAttorneyName":"\u003cstring>","leadAttorneyEmail":"jsmith@example.com","handlingTeamName":"\u003cstring>","handlingTeamEmail":"jsmith@example.com","warmTransferSuccessful":true,"warmTransferUnsuccessfulReason":"\u003cstring>","warmTransferUnsuccessfulReasonType":"FIRM_UNABLE_TO_ANSWER","phase":"\u003cstring>","notes":"\u003cstring>","isRetainerSigned":true,"autoWithdrawAt":"2023-11-07T05:31:56Z","autoWithdrawExtensionsRemaining":123,"customFields":[{"fieldId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","fieldName":"\u003cstring>","displayName":"\u003cstring>","fieldType":"\u003cstring>","value":"\u003cstring>"}],"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"meta":{"requestId":"req_f2dbe1d3f6ad4a7bb5b4c9f2","timestamp":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"0693eca2-a4a2-4e51-891b-b45bde3f0516":{"description":"Request validation failed, or the referral is not in a status that permits this transition (error code `invalid_state` or a validation error)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"requestId":{"type":"string","example":"req_f2dbe1d3f6ad4a7bb5b4c9f2","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"}},"required":["requestId","timestamp"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["error","meta"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"},"meta":{"requestId":"req_f2dbe1d3f6ad4a7bb5b4c9f2","timestamp":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"26e9c4f0-2c54-45af-844d-f4dde0d54f22":{"description":"Invalid or missing API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"requestId":{"type":"string","example":"req_f2dbe1d3f6ad4a7bb5b4c9f2","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"}},"required":["requestId","timestamp"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["error","meta"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"},"meta":{"requestId":"req_f2dbe1d3f6ad4a7bb5b4c9f2","timestamp":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"c45963e5-c318-4538-9a82-2f489acc0a46":{"description":"API key tier does not permit this action, the key is not firm-scoped (`wrong_scope`), or the calling firm is not the party allowed to perform this transition","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"requestId":{"type":"string","example":"req_f2dbe1d3f6ad4a7bb5b4c9f2","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"}},"required":["requestId","timestamp"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["error","meta"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"},"meta":{"requestId":"req_f2dbe1d3f6ad4a7bb5b4c9f2","timestamp":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"e5bfdec2-455f-425b-bcb4-25cc36d77317":{"description":"Resource not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"requestId":{"type":"string","example":"req_f2dbe1d3f6ad4a7bb5b4c9f2","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"}},"required":["requestId","timestamp"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["error","meta"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"},"meta":{"requestId":"req_f2dbe1d3f6ad4a7bb5b4c9f2","timestamp":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"82cee237-74e7-42ad-ba11-03cd4ee91568":{"description":"`duplicate_client_referral`: your firm already referred this client (same name, plus a matching date of birth, phone or email) to the same receiving firm from another case of the same case type, and that referral is still live or was sent within 7 days of this one. Two cases with different incident dates never match; a missing incident date on either case does not exempt the send. `error.details`: `{ matches, overrideField }`. Re-send with `allowDuplicateClient: true` if this is a separate matter.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"type":"object","properties":{"matches":{"type":"array","maxItems":5,"items":{"type":"object","properties":{"baseCaseId":{"type":"string","format":"uuid","description":"The earlier case.","isRequired":true,"uniqueKey":"error.details.matches.items.[INDEX].baseCaseId","typeLabel":"string\u003cuuid>"},"referenceNumber":{"oneOf":[{"type":"string","description":"The earlier case's reference number.","isRequired":true,"uniqueKey":"error.details.matches.items.[INDEX].referenceNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The earlier case's reference number.","isRequired":true,"uniqueKey":"error.details.matches.items.[INDEX].referenceNumber.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.details.matches.items.[INDEX].referenceNumber","typeLabel":"string | null"},"referralId":{"type":"string","format":"uuid","description":"The matching referral (hop) of the earlier case.","isRequired":true,"uniqueKey":"error.details.matches.items.[INDEX].referralId","typeLabel":"string\u003cuuid>"},"referentFirmName":{"type":"string","description":"The receiving firm.","isRequired":true,"uniqueKey":"error.details.matches.items.[INDEX].referentFirmName","typeLabel":"string"},"status":{"type":"string","description":"Status of the matching referral.","isRequired":true,"uniqueKey":"error.details.matches.items.[INDEX].status","typeLabel":"string"},"sentAt":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"error.details.matches.items.[INDEX].sentAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"error.details.matches.items.[INDEX].sentAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.details.matches.items.[INDEX].sentAt","typeLabel":"string\u003cdate-time> | null"},"matchedOn":{"type":"array","items":{"type":"string","enum":["name","dob","phone","email"],"uniqueKey":"error.details.matches.items.[INDEX].matchedOn.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Client fields that matched. Always includes name.","isRequired":true,"uniqueKey":"error.details.matches.items.[INDEX].matchedOn","typeLabel":"enum\u003cstring>[]"}},"required":["baseCaseId","referenceNumber","referralId","referentFirmName","status","sentAt","matchedOn"],"uniqueKey":"error.details.matches.items.[INDEX]","typeLabel":"object"},"description":"Up to 5 matching referrals, newest sentAt first. Never carries the other case's DOB, phone or email.","isRequired":true,"uniqueKey":"error.details.matches","typeLabel":"object[]"},"overrideField":{"type":"string","enum":["allowDuplicateClient"],"description":"The request field that sends anyway.","isRequired":true,"uniqueKey":"error.details.overrideField","typeLabel":"enum\u003cstring>"}},"required":["matches","overrideField"],"description":"Present for `duplicate_client_referral`.","uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"requestId":{"type":"string","example":"req_f2dbe1d3f6ad4a7bb5b4c9f2","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"}},"required":["requestId","timestamp"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["error","meta"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","details":{"matches":[{"baseCaseId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","referenceNumber":"\u003cstring>","referralId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","referentFirmName":"\u003cstring>","status":"\u003cstring>","sentAt":"2023-11-07T05:31:56Z","matchedOn":["name"]}],"overrideField":"allowDuplicateClient"}},"meta":{"requestId":"req_f2dbe1d3f6ad4a7bb5b4c9f2","timestamp":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"e20b992a-b051-440b-8377-8702efd4b334":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Public API key: `cxp_\u003chex>` (firm-scoped) or `cxpp_\u003chex>` (provider-scoped). Required on every request.","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"345f5755-9455-47f7-b251-5ea16ce352e2":{"url":"https://api.casexchange.com/api/public/v1","description":"Production Public API base path"},"95e4cacd-c70c-4f31-af42-14e9bf3f2ac6":{"url":"/api/public/v1","description":"Relative base path (for proxied docs/local environments)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Public API key: `cxp_\u003chex>` (firm-scoped) or `cxpp_\u003chex>` (provider-scoped). Required on every request.","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"X-API-Key","type":"string","description":"Public API key: `cxp_\u003chex>` (firm-scoped) or `cxpp_\u003chex>` (provider-scoped). Required on every request.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"X-API-Key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.yml"},"subdomain":"casexchange","siteName":"CaseXchange Public API","title":"Send a draft referral - CaseXchange Public API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-22T01:28:11.424Z","originalFileLocation":"api-reference/referrals/send-a-draft-referral.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=\"Sends a DRAFT referral to a receiving firm, transitioning it to SENT. Only the sending firm may send. Requires STANDARD tier.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CaseXchange Public API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/casexchange/5ej00RttGW84DLNC/_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/casexchange/5ej00RttGW84DLNC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/casexchange/5ej00RttGW84DLNC/_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/casexchange/5ej00RttGW84DLNC/_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/casexchange/5ej00RttGW84DLNC/_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/casexchange/5ej00RttGW84DLNC/_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/casexchange/5ej00RttGW84DLNC/_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/casexchange/5ej00RttGW84DLNC/_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/casexchange/5ej00RttGW84DLNC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send a draft referral - CaseXchange Public API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sends a DRAFT referral to a receiving firm, transitioning it to SENT. Only the sending firm may send. Requires STANDARD tier.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CaseXchange Public API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.casexchange.com/api-reference/referrals/send-a-draft-referral\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://casexchange.mintlify.site/_mintlify/api/og/v2?division=Referrals\u0026amp;title=Send+a+draft+referral\u0026amp;description=Sends+a+DRAFT+referral+to+a+receiving+firm%2C+transitioning+it+to+SENT.+Only+the+sending+firm+may+send.+Requires+STANDARD+tier.\u0026amp;theme=2a243f5ae05e2e0c81058e5c\u0026amp;signature=46c185e8c0bd74ed54e717a4bc4d28d4b02e124773a04a31e6e1fef3c033bed1\">\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=\"Send a draft referral - CaseXchange Public API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sends a DRAFT referral to a receiving firm, transitioning it to SENT. Only the sending firm may send. Requires STANDARD tier.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://casexchange.mintlify.site/_mintlify/api/og/v2?division=Referrals\u0026amp;title=Send+a+draft+referral\u0026amp;description=Sends+a+DRAFT+referral+to+a+receiving+firm%2C+transitioning+it+to+SENT.+Only+the+sending+firm+may+send.+Requires+STANDARD+tier.\u0026amp;theme=2a243f5ae05e2e0c81058e5c\u0026amp;signature=46c185e8c0bd74ed54e717a4bc4d28d4b02e124773a04a31e6e1fef3c033bed1\">\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/casexchange/5ej00RttGW84DLNC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CaseXchange Public API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#EA4E00\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.casexchange.com/api-reference/referrals/send-a-draft-referral\">\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/send-a-draft-referral.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.casexchange.com/#organization\",\"name\":\"CaseXchange Public API\",\"url\":\"https://docs.casexchange.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/casexchange/KOlGhBF7XhztshRX/logo/light.png?fit=max\u0026auto=format\u0026n=KOlGhBF7XhztshRX\u0026q=85\u0026s=deebe246bf795c2ec8e597745d5a7506\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.casexchange.com#website\",\"name\":\"CaseXchange Public API\",\"url\":\"https://docs.casexchange.com\",\"publisher\":{\"@id\":\"https://docs.casexchange.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.casexchange.com/api-reference/referrals/send-a-draft-referral#webpage\",\"url\":\"https://docs.casexchange.com/api-reference/referrals/send-a-draft-referral\",\"name\":\"Send a draft referral\",\"description\":\"Sends a DRAFT referral to a receiving firm, transitioning it to SENT. Only the sending firm may send. Requires STANDARD tier.\",\"dateModified\":\"2026-11-22T01:28:11.424Z\",\"isPartOf\":{\"@id\":\"https://docs.casexchange.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.casexchange.com/api-reference/referrals/send-a-draft-referral#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.casexchange.com/api-reference/referrals/send-a-draft-referral#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.casexchange.com/api-reference/account/identify-the-calling-api-key\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Referrals\",\"item\":\"https://docs.casexchange.com/api-reference/referrals/list-referrals\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Send a draft referral\",\"item\":\"https://docs.casexchange.com/api-reference/referrals/send-a-draft-referral\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.casexchange.com/api-reference/referrals/send-a-draft-referral#apireference\",\"headline\":\"Send a draft referral\",\"name\":\"Send a draft referral\",\"description\":\"Sends a DRAFT referral to a receiving firm, transitioning it to SENT. Only the sending firm may send. Requires STANDARD tier.\",\"url\":\"https://docs.casexchange.com/api-reference/referrals/send-a-draft-referral\",\"mainEntityOfPage\":{\"@id\":\"https://docs.casexchange.com/api-reference/referrals/send-a-draft-referral#webpage\"},\"dateModified\":\"2026-11-22T01:28:11.424Z\",\"publisher\":{\"@id\":\"https://docs.casexchange.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.casexchange.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CaseXchange Public API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CaseXchange Public API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/referrals/send-a-draft-referral.md","siteName":"CaseXchange Public API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API","groups":[{"group":"Get started","pages":[{"title":"Integration Overview","icon":"terminal","sidebarTitle":"Introduction","href":"/api-reference/overview"},{"title":"Response Format","icon":"brackets-curly","sidebarTitle":"Response format","href":"/api-reference/response-format"},{"title":"Error Handling","icon":"triangle-exclamation","sidebarTitle":"Error handling","href":"/api-reference/error-handling"},{"title":"Integration Workflows","icon":"diagram-project","sidebarTitle":"Workflows","href":"/api-reference/workflows"}]},{"group":"Endpoints","pages":[{"group":"Account","expanded":false,"pages":[{"title":"Identify the calling API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /me","href":"/api-reference/account/identify-the-calling-api-key"},{"title":"List your practice's clinicians","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /me/doctors","href":"/api-reference/account/list-your-practices-clinicians"},{"title":"List your practice's locations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /me/locations","href":"/api-reference/account/list-your-practices-locations"}]},{"group":"Analytics","expanded":false,"pages":[{"title":"Get dashboard analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /analytics/dashboard","href":"/api-reference/analytics/get-dashboard-analytics"},{"title":"Get case analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /analytics/cases","href":"/api-reference/analytics/get-case-analytics"},{"title":"Get sent-referral analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /analytics/sent","href":"/api-reference/analytics/get-sent-referral-analytics"},{"title":"Get received-referral analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /analytics/received","href":"/api-reference/analytics/get-received-referral-analytics"},{"title":"Get homepage analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /analytics/homepage","href":"/api-reference/analytics/get-homepage-analytics"},{"title":"List cases in a status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /analytics/cases-by-status","href":"/api-reference/analytics/list-cases-in-a-status"},{"title":"Get received-referral revenue analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /analytics/revenue-received","href":"/api-reference/analytics/get-received-referral-revenue-analytics"},{"title":"Get sent-referral revenue analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /analytics/revenue-sent","href":"/api-reference/analytics/get-sent-referral-revenue-analytics"},{"title":"Get referral-flow analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /analytics/referrals","href":"/api-reference/analytics/get-referral-flow-analytics"}]},{"group":"Cases","expanded":false,"pages":[{"title":"List cases","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /cases","href":"/api-reference/cases/list-cases"},{"title":"Create a case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /cases","href":"/api-reference/cases/create-a-case"},{"title":"Get case by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /cases/{id}","href":"/api-reference/cases/get-case-by-id"},{"title":"Update a case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml put /cases/{id}","href":"/api-reference/cases/update-a-case"},{"title":"Delete a case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml delete /cases/{id}","href":"/api-reference/cases/delete-a-case"},{"title":"Get case status history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /cases/{id}/status-history","href":"/api-reference/cases/get-case-status-history"},{"title":"Acknowledge a case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /cases/{id}/acknowledge","href":"/api-reference/cases/acknowledge-a-case"},{"title":"Update case status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /cases/{id}/status","href":"/api-reference/cases/update-case-status"},{"title":"Close a case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /cases/{id}/close","href":"/api-reference/cases/close-a-case"}]},{"group":"Documents","expanded":false,"pages":[{"title":"List documents for a case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /cases/{caseId}/documents","href":"/api-reference/documents/list-documents-for-a-case"},{"title":"Upload a document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /cases/{caseId}/documents","href":"/api-reference/documents/upload-a-document"},{"title":"Get document download URL","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /cases/{caseId}/documents/{docId}/download","href":"/api-reference/documents/get-document-download-url"},{"title":"Delete a document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml delete /cases/{caseId}/documents/{docId}","href":"/api-reference/documents/delete-a-document"}]},{"group":"Export","expanded":false,"pages":[{"title":"Download the full analytics workbook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /analytics/export","href":"/api-reference/export/download-the-full-analytics-workbook"},{"title":"Download one analytics category as XLSX","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /analytics/{category}/export","href":"/api-reference/export/download-one-analytics-category-as-xlsx"},{"title":"Download case data as CSV or XLSX","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /cases/export","href":"/api-reference/export/download-case-data-as-csv-or-xlsx"}]},{"group":"Extension","expanded":false,"pages":[{"title":"Report a selector miss from the browser extension","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /extension/telemetry/selector-miss","href":"/api-reference/extension/report-a-selector-miss-from-the-browser-extension"}]},{"group":"External Links","expanded":false,"pages":[{"title":"List external links for a system","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /external-links/list","href":"/api-reference/external-links/list-external-links-for-a-system"},{"title":"Look up a link by external ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /external-links","href":"/api-reference/external-links/look-up-a-link-by-external-id"},{"title":"Create an external link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /external-links","href":"/api-reference/external-links/create-an-external-link"},{"title":"Replace an external link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /external-links/{id}/replace","href":"/api-reference/external-links/replace-an-external-link"},{"title":"Delete an external link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml delete /external-links/{id}","href":"/api-reference/external-links/delete-an-external-link"}]},{"group":"Firms","expanded":false,"pages":[{"title":"List firms directory","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /firms/directory","href":"/api-reference/firms/list-firms-directory"},{"title":"Get the caller's firm","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /firms/me","href":"/api-reference/firms/get-the-callers-firm"},{"title":"Update the caller's firm","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml put /firms/me","href":"/api-reference/firms/update-the-callers-firm"},{"title":"List firms available to receive referrals","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /firms/available","href":"/api-reference/firms/list-firms-available-to-receive-referrals"},{"title":"Get firm by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /firms/{id}","href":"/api-reference/firms/get-firm-by-id"}]},{"group":"Health","expanded":false,"pages":[{"title":"Public API health check","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /health","href":"/api-reference/health/public-api-health-check"}]},{"group":"Import","expanded":false,"pages":[{"title":"Bulk import cases via CSV","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /import/cases","href":"/api-reference/import/bulk-import-cases-via-csv"},{"title":"Bulk update cases via CSV","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /import/cases/update","href":"/api-reference/import/bulk-update-cases-via-csv"},{"title":"Get a bulk update job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /import/cases/update/jobs/{jobId}","href":"/api-reference/import/get-a-bulk-update-job"}]},{"group":"Med Cases","expanded":false,"pages":[{"title":"List med cases","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /med-cases","href":"/api-reference/med-cases/list-med-cases"},{"title":"Create a med case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /med-cases","href":"/api-reference/med-cases/create-a-med-case"},{"title":"Get med case by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /med-cases/{id}","href":"/api-reference/med-cases/get-med-case-by-id"},{"title":"Update a med case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml put /med-cases/{id}","href":"/api-reference/med-cases/update-a-med-case"},{"title":"Delete a med case (not supported)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml delete /med-cases/{id}","href":"/api-reference/med-cases/delete-a-med-case-not-supported"},{"title":"List referrals on a med case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /med-cases/{id}/referrals","href":"/api-reference/med-cases/list-referrals-on-a-med-case"},{"title":"Create a referral on a med case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /med-cases/{id}/referrals","href":"/api-reference/med-cases/create-a-referral-on-a-med-case"},{"title":"Get a referral on a med case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /med-cases/{id}/referrals/{referralId}","href":"/api-reference/med-cases/get-a-referral-on-a-med-case"},{"title":"Update a referral on a med case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml put /med-cases/{id}/referrals/{referralId}","href":"/api-reference/med-cases/update-a-referral-on-a-med-case"},{"title":"Acknowledge a med referral (provider)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /med-cases/{id}/referrals/{referralId}/acknowledge","href":"/api-reference/med-cases/acknowledge-a-med-referral-provider"},{"title":"Accept a med referral (provider)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /med-cases/{id}/referrals/{referralId}/accept","href":"/api-reference/med-cases/accept-a-med-referral-provider"},{"title":"Reject a med referral (provider)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /med-cases/{id}/referrals/{referralId}/reject","href":"/api-reference/med-cases/reject-a-med-referral-provider"},{"title":"Start treatment on a med referral (provider)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /med-cases/{id}/referrals/{referralId}/start-treatment","href":"/api-reference/med-cases/start-treatment-on-a-med-referral-provider"},{"title":"Complete treatment on a med referral (provider)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /med-cases/{id}/referrals/{referralId}/complete-treatment","href":"/api-reference/med-cases/complete-treatment-on-a-med-referral-provider"},{"title":"Withdraw a med referral","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /med-cases/{id}/referrals/{referralId}/withdraw","href":"/api-reference/med-cases/withdraw-a-med-referral"},{"title":"Close a med referral","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /med-cases/{id}/referrals/{referralId}/close","href":"/api-reference/med-cases/close-a-med-referral"},{"title":"List insurance records the API key can access","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /insurances","href":"/api-reference/med-cases/list-insurance-records-the-api-key-can-access"},{"title":"Get a single insurance record","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /insurances/{id}","href":"/api-reference/med-cases/get-a-single-insurance-record"},{"title":"List insurance records for a single med case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /med-cases/{id}/insurances","href":"/api-reference/med-cases/list-insurance-records-for-a-single-med-case"}]},{"group":"Med Appointments","expanded":false,"pages":[{"title":"List appointments on a med case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /med-cases/{caseId}/appointments","href":"/api-reference/med-appointments/list-appointments-on-a-med-case"},{"title":"Add an appointment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /med-cases/{caseId}/appointments","href":"/api-reference/med-appointments/add-an-appointment"},{"title":"Get an appointment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /med-cases/{caseId}/appointments/{appointmentId}","href":"/api-reference/med-appointments/get-an-appointment"},{"title":"Edit an appointment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml put /med-cases/{caseId}/appointments/{appointmentId}","href":"/api-reference/med-appointments/edit-an-appointment"},{"title":"Remove an appointment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml delete /med-cases/{caseId}/appointments/{appointmentId}","href":"/api-reference/med-appointments/remove-an-appointment"}]},{"group":"Med Billing","expanded":false,"pages":[{"title":"List billing lines on an appointment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /med-cases/{caseId}/appointments/{appointmentId}/billable-events","href":"/api-reference/med-billing/list-billing-lines-on-an-appointment"},{"title":"Add a billing line","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /med-cases/{caseId}/appointments/{appointmentId}/billable-events","href":"/api-reference/med-billing/add-a-billing-line"},{"title":"Edit a billing line","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml patch /med-cases/{caseId}/appointments/{appointmentId}/billable-events/{eventId}","href":"/api-reference/med-billing/edit-a-billing-line"},{"title":"Remove a billing line","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml delete /med-cases/{caseId}/appointments/{appointmentId}/billable-events/{eventId}","href":"/api-reference/med-billing/remove-a-billing-line"}]},{"group":"MedEx Documents","expanded":false,"pages":[{"title":"List MedEx case documents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /med-cases/{caseId}/documents","href":"/api-reference/medex-documents/list-medex-case-documents"},{"title":"Upload a MedEx case document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /med-cases/{caseId}/documents","href":"/api-reference/medex-documents/upload-a-medex-case-document"},{"title":"Retrieve a MedEx case document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /med-cases/{caseId}/documents/{documentId}","href":"/api-reference/medex-documents/retrieve-a-medex-case-document"}]},{"group":"MedEx Pharmacy","expanded":false,"pages":[{"title":"List prescriptions routed to your pharmacy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /med-cases/{caseId}/prescriptions","href":"/api-reference/med-prescriptions/list-prescriptions-routed-to-your-pharmacy"},{"title":"List pharmacy fills on a referral","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /med-cases/{caseId}/referrals/{referralId}/pharmacy/fills","href":"/api-reference/med-pharmacy-ledger/list-pharmacy-fills-on-a-referral"},{"title":"Record a dispensed fill","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /med-cases/{caseId}/referrals/{referralId}/pharmacy/fills","href":"/api-reference/med-pharmacy-ledger/record-a-dispensed-fill"},{"title":"Get a pharmacy fill","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /med-cases/{caseId}/referrals/{referralId}/pharmacy/fills/{fillId}","href":"/api-reference/med-pharmacy-ledger/get-a-pharmacy-fill"},{"title":"Edit a pharmacy fill","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml patch /med-cases/{caseId}/referrals/{referralId}/pharmacy/fills/{fillId}","href":"/api-reference/med-pharmacy-ledger/edit-a-pharmacy-fill"},{"title":"Void a pharmacy fill","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /med-cases/{caseId}/referrals/{referralId}/pharmacy/fills/{fillId}/void","href":"/api-reference/med-pharmacy-ledger/void-a-pharmacy-fill"},{"title":"List pharmacy transactions on a referral","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /med-cases/{caseId}/referrals/{referralId}/pharmacy/transactions","href":"/api-reference/med-pharmacy-ledger/list-pharmacy-transactions-on-a-referral"},{"title":"Record a payment or adjustment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /med-cases/{caseId}/referrals/{referralId}/pharmacy/transactions","href":"/api-reference/med-pharmacy-ledger/record-a-payment-or-adjustment"},{"title":"Get a pharmacy transaction","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /med-cases/{caseId}/referrals/{referralId}/pharmacy/transactions/{transactionId}","href":"/api-reference/med-pharmacy-ledger/get-a-pharmacy-transaction"},{"title":"Edit a transaction's details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml patch /med-cases/{caseId}/referrals/{referralId}/pharmacy/transactions/{transactionId}","href":"/api-reference/med-pharmacy-ledger/edit-a-transactions-details"},{"title":"Get the ledger balance for a referral","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /med-cases/{caseId}/referrals/{referralId}/pharmacy/balance","href":"/api-reference/med-pharmacy-ledger/get-the-ledger-balance-for-a-referral"},{"title":"List reported balance snapshots","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /med-cases/{caseId}/referrals/{referralId}/pharmacy/balance-snapshots","href":"/api-reference/med-pharmacy-ledger/list-reported-balance-snapshots"},{"title":"Report your current balance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /med-cases/{caseId}/referrals/{referralId}/pharmacy/balance-snapshots","href":"/api-reference/med-pharmacy-ledger/report-your-current-balance"}]},{"group":"Messages","expanded":false,"pages":[{"title":"Send a partner message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /messages/send","href":"/api-reference/messages/send-a-partner-message"}]},{"group":"Network","expanded":false,"pages":[{"title":"List pending relationships","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /network/pending","href":"/api-reference/network/list-pending-relationships"},{"title":"Get an outbound network firm","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /network/outbound/{firmId}","href":"/api-reference/network/get-an-outbound-network-firm"},{"title":"Create or update an outbound relationship","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml put /network/outbound/{firmId}","href":"/api-reference/network/create-or-update-an-outbound-relationship"},{"title":"Update an outbound relationship","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml patch /network/outbound/{firmId}","href":"/api-reference/network/update-an-outbound-relationship"},{"title":"Get an inbound network firm","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /network/inbound/{firmId}","href":"/api-reference/network/get-an-inbound-network-firm"},{"title":"Update or accept/reject an inbound relationship","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml patch /network/inbound/{firmId}","href":"/api-reference/network/update-or-acceptreject-an-inbound-relationship"}]},{"group":"Notifications","expanded":false,"pages":[{"title":"Get notification preferences","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /notifications/preferences","href":"/api-reference/notifications/get-notification-preferences"},{"title":"Update notification preferences","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml put /notifications/preferences","href":"/api-reference/notifications/update-notification-preferences"},{"title":"List notification email addresses","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /notifications/emails","href":"/api-reference/notifications/list-notification-email-addresses"},{"title":"Add a notification email address","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /notifications/emails","href":"/api-reference/notifications/add-a-notification-email-address"}]},{"group":"Received Referrals","expanded":false,"pages":[{"title":"List received referrals","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /received-referrals","href":"/api-reference/received-referrals/list-received-referrals"},{"title":"Get available status transitions (receiver)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /received-referrals/{id}/available-statuses","href":"/api-reference/received-referrals/get-available-status-transitions-receiver"},{"title":"Get a received referral","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /received-referrals/{id}","href":"/api-reference/received-referrals/get-a-received-referral"},{"title":"Update a received referral","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml patch /received-referrals/{id}","href":"/api-reference/received-referrals/update-a-received-referral"}]},{"group":"Reference Data","expanded":false,"pages":[{"title":"List case types","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /case-types","href":"/api-reference/reference-data/list-case-types"},{"title":"List custom fields for a case type","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /case-types/{id}/fields","href":"/api-reference/reference-data/list-custom-fields-for-a-case-type"},{"title":"List jurisdictions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /jurisdictions","href":"/api-reference/reference-data/list-jurisdictions"},{"title":"List counties","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /counties","href":"/api-reference/reference-data/list-counties"}]},{"group":"Referrals","expanded":false,"pages":[{"title":"List referrals","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /referrals","href":"/api-reference/referrals/list-referrals"},{"title":"Find referrals by client identifiers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /referrals/match","href":"/api-reference/referrals/find-referrals-by-client-identifiers"},{"title":"Get referral status history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /referrals/{id}/status-history","href":"/api-reference/referrals/get-referral-status-history"},{"title":"Get available status transitions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /referrals/{id}/available-statuses","href":"/api-reference/referrals/get-available-status-transitions"},{"title":"Get referral by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /referrals/{id}","href":"/api-reference/referrals/get-referral-by-id"},{"title":"Update a referral","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml put /referrals/{id}","href":"/api-reference/referrals/update-a-referral"},{"title":"Delete a draft referral","description":"Permanently deletes a referral that is still in DRAFT status. Only the sending firm may delete. Requires FULL tier.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml delete /referrals/{id}","href":"/api-reference/referrals/delete-a-draft-referral"},{"title":"Send a draft referral","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /referrals/{id}/send","href":"/api-reference/referrals/send-a-draft-referral"},{"title":"Acknowledge a referral","description":"Acknowledges receipt of a SENT referral, transitioning it to UNDER_EVALUATION (INVESTIGATING when the retainer was pre-signed) and unmasking client details for the receiving firm. Only the receiving firm may acknowledge. Requires STANDARD tier.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /referrals/{id}/acknowledge","href":"/api-reference/referrals/acknowledge-a-referral"},{"title":"Begin investigating","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /referrals/{id}/begin-investigating","href":"/api-reference/referrals/begin-investigating"},{"title":"Mark a referral as signed","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /referrals/{id}/sign","href":"/api-reference/referrals/mark-a-referral-as-signed"},{"title":"Start litigation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /referrals/{id}/start-litigation","href":"/api-reference/referrals/start-litigation"},{"title":"Begin closing","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /referrals/{id}/begin-closing","href":"/api-reference/referrals/begin-closing"},{"title":"Close a referral","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /referrals/{id}/close","href":"/api-reference/referrals/close-a-referral"},{"title":"Reject a referral","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /referrals/{id}/reject","href":"/api-reference/referrals/reject-a-referral"},{"title":"Withdraw a referral","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /referrals/{id}/withdraw","href":"/api-reference/referrals/withdraw-a-referral"}]},{"group":"Routing","expanded":false,"pages":[{"title":"Evaluate routing for a case profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /routing/evaluate","href":"/api-reference/routing/evaluate-routing-for-a-case-profile"},{"title":"Evaluate routing for an existing case (re-refer)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /routing/re-refer","href":"/api-reference/routing/evaluate-routing-for-an-existing-case-re-refer"},{"title":"List routing rules","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /routing/rules","href":"/api-reference/routing/list-routing-rules"},{"title":"Create a routing rule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /routing/rules","href":"/api-reference/routing/create-a-routing-rule"},{"title":"Update a routing rule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml put /routing/rules/{id}","href":"/api-reference/routing/update-a-routing-rule"},{"title":"Delete a routing rule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml delete /routing/rules/{id}","href":"/api-reference/routing/delete-a-routing-rule"}]},{"group":"Salesforce","expanded":false,"pages":[{"title":"Get the active sending-profile mapping for an object/record-type","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /salesforce/send-mapping","href":"/api-reference/salesforce/get-the-active-sending-profile-mapping-for-an-objectrecord-type"},{"title":"Send a Salesforce record to CaseXchange as a new case or re-referral","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /salesforce/interactive-sends","href":"/api-reference/salesforce/send-a-salesforce-record-to-casexchange-as-a-new-case-or-re-referral"}]},{"group":"Sent Cases","expanded":false,"pages":[{"title":"List sent cases","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /sent-cases","href":"/api-reference/sent-cases/list-sent-cases"},{"title":"Create a sent case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /sent-cases","href":"/api-reference/sent-cases/create-a-sent-case"},{"title":"Get a sent case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /sent-cases/{id}","href":"/api-reference/sent-cases/get-a-sent-case"},{"title":"Update a sent case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml patch /sent-cases/{id}","href":"/api-reference/sent-cases/update-a-sent-case"},{"title":"Get available status transitions (sender)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /sent-cases/{id}/available-statuses","href":"/api-reference/sent-cases/get-available-status-transitions-sender"},{"title":"Refer / re-refer a sent case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /sent-cases/{id}/refer","href":"/api-reference/sent-cases/refer-re-refer-a-sent-case"}]},{"group":"SSO","expanded":false,"pages":[{"title":"Mint a single-use SSO link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /sso-links","href":"/api-reference/sso/mint-a-single-use-sso-link"}]},{"group":"Status Updates","expanded":false,"pages":[{"title":"Look up status updates by flexible id","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /status-updates/lookup","href":"/api-reference/status-updates/look-up-status-updates-by-flexible-id"},{"title":"List status updates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /status-updates","href":"/api-reference/status-updates/list-status-updates"}]},{"group":"Users","expanded":false,"pages":[{"title":"List the caller's firm users","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /users","href":"/api-reference/users/list-the-callers-firm-users"},{"title":"Invite a user","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /users","href":"/api-reference/users/invite-a-user"},{"title":"Update a user","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml put /users/{id}","href":"/api-reference/users/update-a-user"},{"title":"Deactivate a user","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml delete /users/{id}","href":"/api-reference/users/deactivate-a-user"}]},{"group":"Webhooks","expanded":false,"pages":[{"title":"List webhook subscriptions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /webhooks","href":"/api-reference/webhooks/list-webhook-subscriptions"},{"title":"Create a webhook subscription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /webhooks","href":"/api-reference/webhooks/create-a-webhook-subscription"},{"title":"Get a webhook subscription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /webhooks/{id}","href":"/api-reference/webhooks/get-a-webhook-subscription"},{"title":"Update a webhook subscription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml patch /webhooks/{id}","href":"/api-reference/webhooks/update-a-webhook-subscription"},{"title":"Delete a webhook subscription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml delete /webhooks/{id}","href":"/api-reference/webhooks/delete-a-webhook-subscription"},{"title":"List deliveries for a webhook subscription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /webhooks/{id}/deliveries","href":"/api-reference/webhooks/list-deliveries-for-a-webhook-subscription"},{"title":"Send a test event","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /webhooks/{id}/test","href":"/api-reference/webhooks/send-a-test-event"},{"title":"Rotate the signing secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /webhooks/{id}/rotate-secret","href":"/api-reference/webhooks/rotate-the-signing-secret"},{"title":"Enable echo mode","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /webhooks/{id}/echo/enable","href":"/api-reference/webhooks/enable-echo-mode"},{"title":"Disable echo mode","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml post /webhooks/{id}/echo/disable","href":"/api-reference/webhooks/disable-echo-mode"},{"title":"List echo captures","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yml get /webhooks/{id}/echo/captures","href":"/api-reference/webhooks/list-echo-captures"}]}]}]},{"tab":"Webhooks","pages":[{"title":"Webhooks","href":"/webhooks"}]}]},"basePath":"","title":"Send a draft referral - CaseXchange Public API","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CaRkHcld.js","snippetPresets-CbOVSLWB.js","utils-cjri0g4r.js","style-to-object-BY3JEAdk.js","utils-DINdUa17.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-B6z-PJGf.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BldndzCM.js","_Uint8Array-BFUkDgJK.js","isObject-FP1Yky1u.js","ApiExamples-gah5G0c1.js","usePlaygroundInputsStore-DMbftGRK.js","shallow-BPuQ-dV8.js","isEqual-Du6c450V.js","CodeSnippets-BSVM0Ibi.js","CodeSnippet-BtGQRZnK.js","use-playground-group-access-98JyaSW7.js","Page-DuvGhd6e.js","api-description-markdown-ja0XM5Ae.js","DynamicMarkdown-DgKZ4_wp.js","SectionHeading-S4Jc_qPe.js","MethodPill-HIsDH_bI.js","getPastedJson-BKEmMYEO.js","Check2Icon-CRFAnWm9.js","axios-CsQoIw0U.js","Markdown-CexXCNoj.js","AssistantPageLink-C2AZnMAs.js","dist-CjxLTLs9.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}