Creates a lead + case + plaintiff + initial survey details, pinned to the validated receiving organization (no marketplace routing). leadStatus accepts new_lead (the default) and test_lead; the retired spelling PendingLead is accepted and stored as new_lead. screened_needs_match returns HTTP 400 before creating a lead because marketplace placement is unsupported. Ordinary leads immediately appear in the receiving firm’s Pending Leads and New Leads lists, even without an individual attorney; test leads remain hidden. Legacy partner keys keep working; integration keys require leads:write.
Supports one selected organization via organizationId. Omit it to use the key’s organization. HQ descendant access requires an active acting attorney with hq:view_child_orgs, cases:view, cases:view_all, hq:view_all_cases, hq:manage_child_orgs, cases:create, cases:assign, intake:create. Existing key scopes still apply. The selector requires an integration API key; legacy partner/OIDC routing is unchanged. Repeat the selector on every cursor page, related mutation, upload completion, and detail/download request. Mutation key scopes, idempotency, revisions, and resource-specific eligibility still apply. See HQ authorization.
Requires the leads:write scope. Legacy partner API keys and OIDC bearer tokens are also accepted on this endpoint (shipped behavior, unchanged); integration keys are scope-enforced. Rate tier: write.
Org-issued integration API key (service account credential). The plaintext secret is shown once at creation.
Query Parameters
organizationId
string<uuid>
Select one organization for this request. Defaults to the key organization. An HQ key may select an active descendant when its active acting attorney has the required HQ and resource permissions. Repeat the same organizationId on related mutations, upload completion, detail requests, and every cursor page. See /authorization.
Body
application/json
Other legacy lead properties retain their existing imperative validation; see docs/api/v1-public-api.md.
description
string
required
Required narrative, including when lemonLaw is supplied.
firstName
string
required
lastName
string
required
email
string
required
phone
string
required
zipCode
string
required
city
string
required
state
string
required
caseType
string
surveyDetails
object
Intake answers keyed by accessor (max 200 keys). Null-valued entries are skipped. Do not duplicate an accessor supplied through lemonLaw, even with the same value.
Show child attributes
lemonLaw
object
Optional structured Lemon Law intake. Requires effective caseType "Lemon Law"; PATCH may inherit the stored case type. Supplied fields overwrite canonical survey answers and take precedence over client-derived values. Omitted fields are preserved. Nulls, blanks, unknown fields, and overlapping surveyDetails accessors return HTTP 400. Use surveyDetails for intentional blanks.
Show child attributes
{key}
any
Response
{ success: true, leadId, caseId }
success
boolean
required
{key}
any
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Presolve Documentation","description":"Help for Presolve users, developer integration guides, and API reference.","colors":{"primary":"#334E68","light":"#627D98","dark":"#627D98"},"logo":{"light":"https://mintcdn.com/grand-charter/kgY2Gushfw80fPEZ/images/presolve-logo-light.svg?fit=max\u0026auto=format\u0026n=kgY2Gushfw80fPEZ\u0026q=85\u0026s=e9ba70b57f4e3c87a6dc5c3dce12cdec","dark":"https://mintcdn.com/grand-charter/kgY2Gushfw80fPEZ/images/presolve_logo_2.svg?fit=max\u0026auto=format\u0026n=kgY2Gushfw80fPEZ\u0026q=85\u0026s=cfe20825a75066df6a1608ee4ed8e473","href":"https://www.presolve.com/"},"favicon":{"light":"https://mintcdn.com/grand-charter/kgY2Gushfw80fPEZ/images/presolve-logo-light.svg?fit=max\u0026auto=format\u0026n=kgY2Gushfw80fPEZ\u0026q=85\u0026s=e9ba70b57f4e3c87a6dc5c3dce12cdec","dark":"https://mintcdn.com/grand-charter/kgY2Gushfw80fPEZ/images/presolve_logo_2.svg?fit=max\u0026auto=format\u0026n=kgY2Gushfw80fPEZ\u0026q=85\u0026s=cfe20825a75066df6a1608ee4ed8e473"},"api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","javascript","python"]}},"appearance":{"default":"system"},"footer":{"socials":{}},"seo":{"metatags":{"canonical":"https://www.presolve.com/docs"}},"fonts":{"heading":{"family":"ABC Diatype","weight":700,"source":"fonts/ABCDiatype-Bold.woff2","format":"woff2"},"body":{"family":"ABC Diatype","weight":400,"source":"fonts/ABCDiatype-Regular.woff2","format":"woff2"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"grand-charter","hasAudioNarration":false,"actualSubdomain":"grand-charter","customDomains":["www.presolve.com"],"gitSource":{"type":"github","owner":"grandcharter","repo":"grand-charter","deployBranch":"docs-live","contentDirectory":"docs-site","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aff86df283455f42d7cde0a","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"API Reference","count":203},{"language":"default","tag":"Help Center","count":102},{"language":"default","tag":"Documents","count":26},{"language":"default","tag":"Billing","count":21},{"language":"default","tag":"Accounting","count":19},{"language":"default","tag":"Integrations","count":19},{"language":"default","tag":"Cases","count":16},{"language":"default","tag":"Settlement Funds","count":14},{"language":"default","tag":"Developer Guides","count":13},{"language":"default","tag":"Organization administration","count":13}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"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":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/leads/create-a-lead","slug":"/api-reference/leads/create-a-lead","pageMetadata":{"title":"Create a lead","description":"Creates a lead + case + plaintiff + initial survey details, pinned to the validated receiving organization (no marketplace routing). leadStatus accepts new_lead (the default) and test_lead; the retired spelling PendingLead is accepted and stored as new_lead. screened_needs_match returns HTTP 400 before creating a lead because marketplace placement is unsupported. Ordinary leads immediately appear in the receiving firm’s Pending Leads and New Leads lists, even without an individual attorney; test leads remain hidden. Legacy partner keys keep working; integration keys require leads:write.\n\nSupports one selected organization via `organizationId`. Omit it to use the key's organization. HQ descendant access requires an active acting attorney with `hq:view_child_orgs`, `cases:view`, `cases:view_all`, `hq:view_all_cases`, `hq:manage_child_orgs`, `cases:create`, `cases:assign`, `intake:create`. Existing key scopes still apply. The selector requires an integration API key; legacy partner/OIDC routing is unchanged. Repeat the selector on every cursor page, related mutation, upload completion, and detail/download request. Mutation key scopes, idempotency, revisions, and resource-specific eligibility still apply. See [HQ authorization](/authorization).\n\nRequires the `leads:write` scope. Legacy partner API keys and OIDC bearer tokens are also accepted on this endpoint (shipped behavior, unchanged); integration keys are scope-enforced. Rate tier: `write`.","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/leads","href":"/api-reference/leads/create-a-lead","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Creates a lead + case + plaintiff + initial survey details, pinned to the validated receiving organization (no marketplace routing). leadStatus accepts new_lead (the default) and test_lead; the retired spelling PendingLead is accepted and stored as new_lead. screened_needs_match returns HTTP 400 before creating a lead because marketplace placement is unsupported. Ordinary leads immediately appear in the receiving firm’s Pending Leads and New Leads lists, even without an individual attorney; test leads remain hidden. Legacy partner keys keep working; integration keys require leads:write.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Supports one selected organization via \", _jsx(_components.code, {\n children: \"organizationId\"\n }), \". Omit it to use the key’s organization. HQ descendant access requires an active acting attorney with \", _jsx(_components.code, {\n children: \"hq:view_child_orgs\"\n }), \", \", _jsx(_components.code, {\n children: \"cases:view\"\n }), \", \", _jsx(_components.code, {\n children: \"cases:view_all\"\n }), \", \", _jsx(_components.code, {\n children: \"hq:view_all_cases\"\n }), \", \", _jsx(_components.code, {\n children: \"hq:manage_child_orgs\"\n }), \", \", _jsx(_components.code, {\n children: \"cases:create\"\n }), \", \", _jsx(_components.code, {\n children: \"cases:assign\"\n }), \", \", _jsx(_components.code, {\n children: \"intake:create\"\n }), \". Existing key scopes still apply. The selector requires an integration API key; legacy partner/OIDC routing is unchanged. Repeat the selector on every cursor page, related mutation, upload completion, and detail/download request. Mutation key scopes, idempotency, revisions, and resource-specific eligibility still apply. See \", _jsx(_components.a, {\n href: \"/authorization\",\n children: \"HQ authorization\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Requires the \", _jsx(_components.code, {\n children: \"leads:write\"\n }), \" scope. Legacy partner API keys and OIDC bearer tokens are also accepted on this endpoint (shipped behavior, unchanged); integration keys are scope-enforced. Rate tier: \", _jsx(_components.code, {\n children: \"write\"\n }), \".\"]\n })]\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":"Create a lead","description":"Creates a lead + case + plaintiff + initial survey details, pinned to the validated receiving organization (no marketplace routing). leadStatus accepts new_lead (the default) and test_lead; the retired spelling PendingLead is accepted and stored as new_lead. screened_needs_match returns HTTP 400 before creating a lead because marketplace placement is unsupported. Ordinary leads immediately appear in the receiving firm’s Pending Leads and New Leads lists, even without an individual attorney; test leads remain hidden. Legacy partner keys keep working; integration keys require leads:write.\n\nSupports one selected organization via `organizationId`. Omit it to use the key's organization. HQ descendant access requires an active acting attorney with `hq:view_child_orgs`, `cases:view`, `cases:view_all`, `hq:view_all_cases`, `hq:manage_child_orgs`, `cases:create`, `cases:assign`, `intake:create`. Existing key scopes still apply. The selector requires an integration API key; legacy partner/OIDC routing is unchanged. Repeat the selector on every cursor page, related mutation, upload completion, and detail/download request. Mutation key scopes, idempotency, revisions, and resource-specific eligibility still apply. See [HQ authorization](/authorization).\n\nRequires the `leads:write` scope. Legacy partner API keys and OIDC bearer tokens are also accepted on this endpoint (shipped behavior, unchanged); integration keys are scope-enforced. Rate tier: `write`.","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/leads","href":"/api-reference/leads/create-a-lead","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"post_leads","tags":["Leads"],"summary":"Create a lead","description":"Creates a lead + case + plaintiff + initial survey details, pinned to the validated receiving organization (no marketplace routing). leadStatus accepts new_lead (the default) and test_lead; the retired spelling PendingLead is accepted and stored as new_lead. screened_needs_match returns HTTP 400 before creating a lead because marketplace placement is unsupported. Ordinary leads immediately appear in the receiving firm’s Pending Leads and New Leads lists, even without an individual attorney; test leads remain hidden. Legacy partner keys keep working; integration keys require leads:write.\n\nSupports one selected organization via `organizationId`. Omit it to use the key's organization. HQ descendant access requires an active acting attorney with `hq:view_child_orgs`, `cases:view`, `cases:view_all`, `hq:view_all_cases`, `hq:manage_child_orgs`, `cases:create`, `cases:assign`, `intake:create`. Existing key scopes still apply. The selector requires an integration API key; legacy partner/OIDC routing is unchanged. Repeat the selector on every cursor page, related mutation, upload completion, and detail/download request. Mutation key scopes, idempotency, revisions, and resource-specific eligibility still apply. See [HQ authorization](/authorization).\n\nRequires the `leads:write` scope. Legacy partner API keys and OIDC bearer tokens are also accepted on this endpoint (shipped behavior, unchanged); integration keys are scope-enforced. Rate tier: `write`.","security":["2d68e58c-639c-4cc2-8af5-15568182a27f"],"x-organization-scope":"selected-organization","x-required-scope":"leads:write","x-rate-limit-tier":"write","parameters":["6b468d00-697a-4b38-9bc3-5dae5f3e436b"],"requestBody":"88b65554-4c7e-472c-98ad-a1a1d15a75ee","responses":{"201":"a0c51dda-174e-4e00-903f-8ac4e179a78e","400":"178bf51e-f6f0-4291-b111-6d89a745ef4e","401":"35bd0eeb-2c35-4513-b7be-f4506e6adea2","403":"62c16347-fde2-4da7-8b91-ec540c180b0c","404":"185c73aa-a1b0-4522-9647-dcf5c1ad4b07","409":"dc9b994e-a44e-4532-953d-b2ec81542bd5","429":"9c80cd69-52e0-4857-80f9-50558729d9bd"},"method":"post","type":"path","servers":["c8e7e4e7-df75-40fa-b7a0-9b44892236e2"],"path":"/api/v1/leads","baseUrlOptions":["https://www.presolve.com"],"title":"Create a lead","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"6b468d00-697a-4b38-9bc3-5dae5f3e436b":{"in":"query","name":"organizationId","description":"Select one organization for this request. Defaults to the key organization. An HQ key may select an active descendant when its active acting attorney has the required HQ and resource permissions. Repeat the same organizationId on related mutations, upload completion, detail requests, and every cursor page. See /authorization.","schema":{"type":"string","format":"uuid","description":"Select one organization for this request. Defaults to the key organization. An HQ key may select an active descendant when its active acting attorney has the required HQ and resource permissions. Repeat the same organizationId on related mutations, upload completion, detail requests, and every cursor page. See /authorization.","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"description":{"type":"string","description":"Required narrative, including when lemonLaw is supplied.","isRequired":true,"uniqueKey":"description","typeLabel":"string"},"firstName":{"type":"string","isRequired":true,"uniqueKey":"firstName","typeLabel":"string"},"lastName":{"type":"string","isRequired":true,"uniqueKey":"lastName","typeLabel":"string"},"email":{"type":"string","isRequired":true,"uniqueKey":"email","typeLabel":"string"},"phone":{"type":"string","isRequired":true,"uniqueKey":"phone","typeLabel":"string"},"zipCode":{"type":"string","isRequired":true,"uniqueKey":"zipCode","typeLabel":"string"},"city":{"type":"string","isRequired":true,"uniqueKey":"city","typeLabel":"string"},"state":{"type":"string","isRequired":true,"uniqueKey":"state","typeLabel":"string"},"caseType":{"type":"string","uniqueKey":"caseType","typeLabel":"string"},"surveyDetails":{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"surveyDetails.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"surveyDetails.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"surveyDetails.additionalProperties.oneOf.2","typeLabel":"boolean"},{"type":"null","uniqueKey":"surveyDetails.additionalProperties.oneOf.3","typeLabel":"null"}],"uniqueKey":"surveyDetails.additionalProperties","typeLabel":"string | number | boolean | null"},"description":"Intake answers keyed by accessor (max 200 keys). Null-valued entries are skipped. Do not duplicate an accessor supplied through lemonLaw, even with the same value.","uniqueKey":"surveyDetails","typeLabel":"object"},"lemonLaw":{"type":"object","properties":{"make":{"type":"string","minLength":1,"maxLength":200,"uniqueKey":"lemonLaw.make","typeLabel":"string"},"model":{"type":"string","minLength":1,"maxLength":200,"uniqueKey":"lemonLaw.model","typeLabel":"string"},"year":{"type":"integer","minimum":1900,"maximum":2100,"uniqueKey":"lemonLaw.year","typeLabel":"integer"},"vin":{"type":"string","pattern":"^[A-HJ-NPR-Z0-9]{17}$","uniqueKey":"lemonLaw.vin","typeLabel":"string"},"vehicleType":{"type":"string","enum":["New","Used","New, purchased from dealership","Used, purchased from dealership","Used, purchased from private party","Certified Pre-Owned","Leased Vehicle","Not sure"],"uniqueKey":"lemonLaw.vehicleType","typeLabel":"enum\u003cstring>"},"purchaseType":{"type":"string","enum":["purchase","lease","cpo","used-dealer"],"uniqueKey":"lemonLaw.purchaseType","typeLabel":"enum\u003cstring>"},"purchaseState":{"type":"string","enum":["AL","AK","AZ","AR","CA","CO","CT","DE","DC","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY"],"description":"Two-letter US state or DC abbreviation; normalized to uppercase.","uniqueKey":"lemonLaw.purchaseState","typeLabel":"enum\u003cstring>"},"purchaseDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Purchase/delivery date, YYYY-MM-DD; shown as Delivery date in the Lemon Law tab.","uniqueKey":"lemonLaw.purchaseDate","typeLabel":"string"},"acquisitionMonth":{"type":"string","pattern":"^(?!0000)(\\d{4})-(0[1-9]|1[0-2])$","uniqueKey":"lemonLaw.acquisitionMonth","typeLabel":"string"},"dealerName":{"type":"string","minLength":1,"maxLength":200,"uniqueKey":"lemonLaw.dealerName","typeLabel":"string"},"lienholderName":{"type":"string","minLength":1,"maxLength":200,"uniqueKey":"lemonLaw.lienholderName","typeLabel":"string"},"warranty":{"type":"string","enum":["Yes, full manufacturer warranty","Yes, extended warranty","No, out of warranty","Not sure"],"uniqueKey":"lemonLaw.warranty","typeLabel":"enum\u003cstring>"},"repairAttempts":{"oneOf":[{"type":"integer","description":"Reported attempts for the same issue, as a nonnegative integer or one of \"None\", \"1\", \"2\", \"3\", \"4 or more\". Exact counts prefill repair totals; the \"4 or more\" band stays reported text and may inform phase triage using its lower bound.","maximum":2147483647,"minimum":0,"uniqueKey":"lemonLaw.repairAttempts.oneOf.0","typeLabel":"integer"},{"type":"string","description":"Reported attempts for the same issue, as a nonnegative integer or one of \"None\", \"1\", \"2\", \"3\", \"4 or more\". Exact counts prefill repair totals; the \"4 or more\" band stays reported text and may inform phase triage using its lower bound.","enum":["None","1","2","3","4 or more"],"uniqueKey":"lemonLaw.repairAttempts.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"lemonLaw.repairAttempts","typeLabel":"integer | enum\u003cstring>"},"issues":{"type":"string","minLength":1,"maxLength":10000,"uniqueKey":"lemonLaw.issues","typeLabel":"string"},"vehicleStatus":{"type":"string","enum":["Still driving it with issues","At dealership or shop","Repaired, but issue returned","Repaired and resolved","Sold it or returned to dealer","Totaled or not drivable"],"uniqueKey":"lemonLaw.vehicleStatus","typeLabel":"enum\u003cstring>"},"firstRepairDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","uniqueKey":"lemonLaw.firstRepairDate","typeLabel":"string"},"firstRepairMileage":{"type":"integer","minimum":0,"maximum":2147483647,"uniqueKey":"lemonLaw.firstRepairMileage","typeLabel":"integer"},"daysOutOfService":{"type":"integer","minimum":0,"maximum":2147483647,"uniqueKey":"lemonLaw.daysOutOfService","typeLabel":"integer"},"currentMileage":{"type":"integer","minimum":0,"maximum":2147483647,"description":"Used to prefill the client intake questionnaire.","uniqueKey":"lemonLaw.currentMileage","typeLabel":"integer"},"purchaseMileage":{"type":"integer","minimum":0,"maximum":2147483647,"description":"Used to prefill the client intake questionnaire.","uniqueKey":"lemonLaw.purchaseMileage","typeLabel":"integer"},"businessUse":{"type":"string","enum":["personal","business","mixed"],"uniqueKey":"lemonLaw.businessUse","typeLabel":"enum\u003cstring>"},"safetyDefect":{"type":"string","enum":["yes","no","unknown"],"uniqueKey":"lemonLaw.safetyDefect","typeLabel":"enum\u003cstring>"},"soldOrTraded":{"type":"string","enum":["yes","no","unknown"],"uniqueKey":"lemonLaw.soldOrTraded","typeLabel":"enum\u003cstring>"},"soldOrTradedNotes":{"type":"string","minLength":1,"maxLength":10000,"uniqueKey":"lemonLaw.soldOrTradedNotes","typeLabel":"string"}},"additionalProperties":false,"description":"Optional structured Lemon Law intake. Requires effective caseType \"Lemon Law\"; PATCH may inherit the stored case type. Supplied fields overwrite canonical survey answers and take precedence over client-derived values. Omitted fields are preserved. Nulls, blanks, unknown fields, and overlapping surveyDetails accessors return HTTP 400. Use surveyDetails for intentional blanks.","uniqueKey":"lemonLaw","typeLabel":"object"}},"required":["description","firstName","lastName","email","phone","zipCode","city","state"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"description":"Other legacy lead properties retain their existing imperative validation; see docs/api/v1-public-api.md.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"description":"\u003cstring>","firstName":"\u003cstring>","lastName":"\u003cstring>","email":"\u003cstring>","phone":"\u003cstring>","zipCode":"\u003cstring>","city":"\u003cstring>","state":"\u003cstring>","caseType":"\u003cstring>","surveyDetails":{},"lemonLaw":{"make":"\u003cstring>","model":"\u003cstring>","year":2000,"vin":"\u003cstring>","purchaseDate":"\u003cstring>","acquisitionMonth":"\u003cstring>","dealerName":"\u003cstring>","lienholderName":"\u003cstring>","repairAttempts":1073741823,"issues":"\u003cstring>","firstRepairDate":"\u003cstring>","firstRepairMileage":1073741823,"daysOutOfService":1073741823,"currentMileage":1073741823,"purchaseMileage":1073741823,"soldOrTradedNotes":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"a0c51dda-174e-4e00-903f-8ac4e179a78e":{"description":"{ success: true, leadId, caseId }","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","const":true,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"}},"required":["success"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true}}},"exampleType":"generated"}},"exampleType":"generated"},"178bf51e-f6f0-4291-b111-6d89a745ef4e":{"description":"Validation failed (VALIDATION_FAILED).","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Human-readable error message. 5xx responses are always scrubbed to \"Internal server error\".","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code (ErrorCode), e.g. UNAUTHORIZED, FORBIDDEN, VALIDATION_FAILED, NOT_FOUND, INVALID_STATE_TRANSITION, DUPLICATE_ENTRY, STALE_REVISION, IDEMPOTENCY_IN_PROGRESS, IDEMPOTENCY_CONFLICT, RATE_LIMITED, INTERNAL_ERROR.","isRequired":true,"uniqueKey":"code","typeLabel":"string"}},"required":["success","error","code"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"35bd0eeb-2c35-4513-b7be-f4506e6adea2":{"description":"Missing, invalid, or expired API key (UNAUTHORIZED).","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Human-readable error message. 5xx responses are always scrubbed to \"Internal server error\".","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code (ErrorCode), e.g. UNAUTHORIZED, FORBIDDEN, VALIDATION_FAILED, NOT_FOUND, INVALID_STATE_TRANSITION, DUPLICATE_ENTRY, STALE_REVISION, IDEMPOTENCY_IN_PROGRESS, IDEMPOTENCY_CONFLICT, RATE_LIMITED, INTERNAL_ERROR.","isRequired":true,"uniqueKey":"code","typeLabel":"string"}},"required":["success","error","code"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"62c16347-fde2-4da7-8b91-ec540c180b0c":{"description":"API key lacks the required scope, or the selected organization is not authorized (FORBIDDEN).","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Human-readable error message. 5xx responses are always scrubbed to \"Internal server error\".","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code (ErrorCode), e.g. UNAUTHORIZED, FORBIDDEN, VALIDATION_FAILED, NOT_FOUND, INVALID_STATE_TRANSITION, DUPLICATE_ENTRY, STALE_REVISION, IDEMPOTENCY_IN_PROGRESS, IDEMPOTENCY_CONFLICT, RATE_LIMITED, INTERNAL_ERROR.","isRequired":true,"uniqueKey":"code","typeLabel":"string"}},"required":["success","error","code"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"185c73aa-a1b0-4522-9647-dcf5c1ad4b07":{"description":"Resource not found in the caller’s organization (NOT_FOUND).","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Human-readable error message. 5xx responses are always scrubbed to \"Internal server error\".","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code (ErrorCode), e.g. UNAUTHORIZED, FORBIDDEN, VALIDATION_FAILED, NOT_FOUND, INVALID_STATE_TRANSITION, DUPLICATE_ENTRY, STALE_REVISION, IDEMPOTENCY_IN_PROGRESS, IDEMPOTENCY_CONFLICT, RATE_LIMITED, INTERNAL_ERROR.","isRequired":true,"uniqueKey":"code","typeLabel":"string"}},"required":["success","error","code"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"dc9b994e-a44e-4532-953d-b2ec81542bd5":{"description":"Conflict: invalid state transition, duplicate entry, stale revision, or idempotency conflict.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Human-readable error message. 5xx responses are always scrubbed to \"Internal server error\".","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code (ErrorCode), e.g. UNAUTHORIZED, FORBIDDEN, VALIDATION_FAILED, NOT_FOUND, INVALID_STATE_TRANSITION, DUPLICATE_ENTRY, STALE_REVISION, IDEMPOTENCY_IN_PROGRESS, IDEMPOTENCY_CONFLICT, RATE_LIMITED, INTERNAL_ERROR.","isRequired":true,"uniqueKey":"code","typeLabel":"string"}},"required":["success","error","code"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"9c80cd69-52e0-4857-80f9-50558729d9bd":{"description":"Rate limit exceeded (RATE_LIMITED). Honor Retry-After.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","const":false,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Human-readable error message. 5xx responses are always scrubbed to \"Internal server error\".","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Stable machine-readable error code (ErrorCode), e.g. UNAUTHORIZED, FORBIDDEN, VALIDATION_FAILED, NOT_FOUND, INVALID_STATE_TRANSITION, DUPLICATE_ENTRY, STALE_REVISION, IDEMPOTENCY_IN_PROGRESS, IDEMPOTENCY_CONFLICT, RATE_LIMITED, INTERNAL_ERROR.","isRequired":true,"uniqueKey":"code","typeLabel":"string"}},"required":["success","error","code"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2d68e58c-639c-4cc2-8af5-15568182a27f":{"integrationApiKey":{"type":"apiKey","in":"header","name":"x-api-key","description":"Org-issued integration API key (service account credential). The plaintext secret is shown once at creation.","scopes":[],"schemeName":"integrationApiKey"}}},"servers":{"c8e7e4e7-df75-40fa-b7a0-9b44892236e2":{"url":"https://www.presolve.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Org-issued integration API key (service account credential). The plaintext secret is shown once at creation.","scopes":[],"schemeName":"integrationApiKey"},"schema":{"title":"x-api-key","type":"string","description":"Org-issued integration API key (service account credential). The plaintext secret is shown once at creation.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"integrationApiKey","name":"x-api-key"}],"title":"integrationApiKey"}]},"originalFileLocation":"openapi.json"},"subdomain":"grand-charter","siteName":"Presolve Documentation","title":"Create a lead - Presolve Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T19:49:54.633Z","originalFileLocation":"api-reference/leads/create-a-lead.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=\"Creates a lead + case + plaintiff + initial survey details, pinned to the validated receiving organization (no marketplace routing). leadStatus accepts new_lead (the default) and test_lead; the retired spelling PendingLead is accepted and stored as new_lead. screened_needs_match returns HTTP 400 before creating a lead because marketplace placement is unsupported. Ordinary leads immediately appear in the receiving firm’s Pending Leads and New Leads lists, even without an individual attorney; test leads remain hidden. Legacy partner keys keep working; integration keys require leads:write. Supports one selected organization via organizationId. Omit it to use the key\u0026#x27;s organization. HQ descendant access requires an active acting attorney with hq:view_child_orgs, cases:view, cases:view_all, hq:view_all_cases, hq:manage_child_orgs, cases:create, cases:assign, intake:create. Existing key scopes still apply. The selector requires an integration API key; legacy partner/OIDC routing is unchanged. Repeat the selector on every cursor page, related mutation, upload completion, and detail/download request. Mutation key scopes, idempotency, revisions, and resource-specific eligibility still apply. See HQ authorization. Requires the leads:write scope. Legacy partner API keys and OIDC bearer tokens are also accepted on this endpoint (shipped behavior, unchanged); integration keys are scope-enforced. Rate tier: write.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Presolve Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/grand-charter/PwZqexm48nOhpZH5/_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=\"/docs/mintlify-assets/_mintlify/favicons/grand-charter/PwZqexm48nOhpZH5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/grand-charter/PwZqexm48nOhpZH5/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/grand-charter/PwZqexm48nOhpZH5/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/grand-charter/PwZqexm48nOhpZH5/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/grand-charter/PwZqexm48nOhpZH5/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/grand-charter/PwZqexm48nOhpZH5/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/grand-charter/PwZqexm48nOhpZH5/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/grand-charter/PwZqexm48nOhpZH5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a lead - Presolve Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a lead + case + plaintiff + initial survey details, pinned to the validated receiving organization (no marketplace routing). leadStatus accepts new_lead (the default) and test_lead; the retired spelling PendingLead is accepted and stored as new_lead. screened_needs_match returns HTTP 400 before creating a lead because marketplace placement is unsupported. Ordinary leads immediately appear in the receiving firm’s Pending Leads and New Leads lists, even without an individual attorney; test leads remain hidden. Legacy partner keys keep working; integration keys require leads:write. Supports one selected organization via organizationId. Omit it to use the key\u0026#x27;s organization. HQ descendant access requires an active acting attorney with hq:view_child_orgs, cases:view, cases:view_all, hq:view_all_cases, hq:manage_child_orgs, cases:create, cases:assign, intake:create. Existing key scopes still apply. The selector requires an integration API key; legacy partner/OIDC routing is unchanged. Repeat the selector on every cursor page, related mutation, upload completion, and detail/download request. Mutation key scopes, idempotency, revisions, and resource-specific eligibility still apply. See HQ authorization. Requires the leads:write scope. Legacy partner API keys and OIDC bearer tokens are also accepted on this endpoint (shipped behavior, unchanged); integration keys are scope-enforced. Rate tier: write.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Presolve Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.presolve.com/docs/api-reference/leads/create-a-lead\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://grand-charter.mintlify.site/docs/_mintlify/api/og/v2?division=Leads\u0026amp;title=Create+a+lead\u0026amp;description=Creates+a+lead+%2B+case+%2B+plaintiff+%2B+initial+survey+details%2C+pinned+to+the+validated+receiving+organization+%28no+marketplace+routing%29.+leadStatus+accepts+new_lead\u0026amp;theme=38b60eada00d734a353ffc01\u0026amp;signature=6b4d38da030f379803256b6391de3c320b162ae4fd96345f4c15bb816812a469\">\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=\"Create a lead - Presolve Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a lead + case + plaintiff + initial survey details, pinned to the validated receiving organization (no marketplace routing). leadStatus accepts new_lead (the default) and test_lead; the retired spelling PendingLead is accepted and stored as new_lead. screened_needs_match returns HTTP 400 before creating a lead because marketplace placement is unsupported. Ordinary leads immediately appear in the receiving firm’s Pending Leads and New Leads lists, even without an individual attorney; test leads remain hidden. Legacy partner keys keep working; integration keys require leads:write. Supports one selected organization via organizationId. Omit it to use the key\u0026#x27;s organization. HQ descendant access requires an active acting attorney with hq:view_child_orgs, cases:view, cases:view_all, hq:view_all_cases, hq:manage_child_orgs, cases:create, cases:assign, intake:create. Existing key scopes still apply. The selector requires an integration API key; legacy partner/OIDC routing is unchanged. Repeat the selector on every cursor page, related mutation, upload completion, and detail/download request. Mutation key scopes, idempotency, revisions, and resource-specific eligibility still apply. See HQ authorization. Requires the leads:write scope. Legacy partner API keys and OIDC bearer tokens are also accepted on this endpoint (shipped behavior, unchanged); integration keys are scope-enforced. Rate tier: write.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://grand-charter.mintlify.site/docs/_mintlify/api/og/v2?division=Leads\u0026amp;title=Create+a+lead\u0026amp;description=Creates+a+lead+%2B+case+%2B+plaintiff+%2B+initial+survey+details%2C+pinned+to+the+validated+receiving+organization+%28no+marketplace+routing%29.+leadStatus+accepts+new_lead\u0026amp;theme=38b60eada00d734a353ffc01\u0026amp;signature=6b4d38da030f379803256b6391de3c320b162ae4fd96345f4c15bb816812a469\">\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=\"/docs/mintlify-assets/_mintlify/favicons/grand-charter/PwZqexm48nOhpZH5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Presolve Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#334E68\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.presolve.com/docs/api-reference/leads/create-a-lead\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/leads/create-a-lead.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.presolve.com/#organization\",\"name\":\"Presolve Documentation\",\"url\":\"https://www.presolve.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/grand-charter/kgY2Gushfw80fPEZ/images/presolve-logo-light.svg?fit=max\u0026auto=format\u0026n=kgY2Gushfw80fPEZ\u0026q=85\u0026s=e9ba70b57f4e3c87a6dc5c3dce12cdec\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.presolve.com/docs#website\",\"name\":\"Presolve Documentation\",\"url\":\"https://www.presolve.com/docs\",\"publisher\":{\"@id\":\"https://www.presolve.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.presolve.com/docs/api-reference/leads/create-a-lead#webpage\",\"url\":\"https://www.presolve.com/docs/api-reference/leads/create-a-lead\",\"name\":\"Create a lead\",\"description\":\"Creates a lead + case + plaintiff + initial survey details, pinned to the validated receiving organization (no marketplace routing). leadStatus accepts new_lead (the default) and test_lead; the retired spelling PendingLead is accepted and stored as new_lead. screened_needs_match returns HTTP 400 before creating a lead because marketplace placement is unsupported. Ordinary leads immediately appear in the receiving firm’s Pending Leads and New Leads lists, even without an individual attorney; test leads remain hidden. Legacy partner keys keep working; integration keys require leads:write. Supports one selected organization via organizationId. Omit it to use the key's organization. HQ descendant access requires an active acting attorney with hq:view_child_orgs, cases:view, cases:view_all, hq:view_all_cases, hq:manage_child_orgs, cases:create, cases:assign, intake:create. Existing key scopes still apply. The selector requires an integration API key; legacy partner/OIDC routing is unchanged. Repeat the selector on every cursor page, related mutation, upload completion, and detail/download request. Mutation key scopes, idempotency, revisions, and resource-specific eligibility still apply. See HQ authorization. Requires the leads:write scope. Legacy partner API keys and OIDC bearer tokens are also accepted on this endpoint (shipped behavior, unchanged); integration keys are scope-enforced. Rate tier: write.\",\"dateModified\":\"2026-11-06T19:49:54.633Z\",\"isPartOf\":{\"@id\":\"https://www.presolve.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.presolve.com/docs/api-reference/leads/create-a-lead#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.presolve.com/docs/api-reference/leads/create-a-lead#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Leads\",\"item\":\"https://www.presolve.com/docs/api-reference/leads/list-pending-intake-reviews\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a lead\",\"item\":\"https://www.presolve.com/docs/api-reference/leads/create-a-lead\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.presolve.com/docs/api-reference/leads/create-a-lead#apireference\",\"headline\":\"Create a lead\",\"name\":\"Create a lead\",\"description\":\"Creates a lead + case + plaintiff + initial survey details, pinned to the validated receiving organization (no marketplace routing). leadStatus accepts new_lead (the default) and test_lead; the retired spelling PendingLead is accepted and stored as new_lead. screened_needs_match returns HTTP 400 before creating a lead because marketplace placement is unsupported. Ordinary leads immediately appear in the receiving firm’s Pending Leads and New Leads lists, even without an individual attorney; test leads remain hidden. Legacy partner keys keep working; integration keys require leads:write. Supports one selected organization via organizationId. Omit it to use the key's organization. HQ descendant access requires an active acting attorney with hq:view_child_orgs, cases:view, cases:view_all, hq:view_all_cases, hq:manage_child_orgs, cases:create, cases:assign, intake:create. Existing key scopes still apply. The selector requires an integration API key; legacy partner/OIDC routing is unchanged. Repeat the selector on every cursor page, related mutation, upload completion, and detail/download request. Mutation key scopes, idempotency, revisions, and resource-specific eligibility still apply. See HQ authorization. Requires the leads:write scope. Legacy partner API keys and OIDC bearer tokens are also accepted on this endpoint (shipped behavior, unchanged); integration keys are scope-enforced. Rate tier: write.\",\"url\":\"https://www.presolve.com/docs/api-reference/leads/create-a-lead\",\"mainEntityOfPage\":{\"@id\":\"https://www.presolve.com/docs/api-reference/leads/create-a-lead#webpage\"},\"dateModified\":\"2026-11-06T19:49:54.633Z\",\"publisher\":{\"@id\":\"https://www.presolve.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.presolve.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Presolve Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Presolve Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/leads/create-a-lead.md","siteName":"Presolve Documentation","nav":{"global":null,"tabs":[{"tab":"Help Center","pages":[{"title":"Help Center","href":"/help"}]},{"tab":"What's new","pages":[{"title":"What's new","href":"/changelog"}]},{"tab":"Developer Guides","pages":[{"title":"Developer Guides","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Platform","pages":[{"title":"Describe the calling service account","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/me","href":"/api-reference/platform/describe-the-calling-service-account"}]},{"group":"Org \u0026 Team","pages":[{"title":"Get the organization profile","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/organization","href":"/api-reference/org-\u0026-team/get-the-organization-profile"},{"title":"List organization members","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/members","href":"/api-reference/org-\u0026-team/list-organization-members"},{"title":"Get member detail","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/members/{memberId}","href":"/api-reference/org-\u0026-team/get-member-detail"},{"title":"List org roles and permission sets","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/roles","href":"/api-reference/org-\u0026-team/list-org-roles-and-permission-sets"},{"title":"List pending member invites","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/member-invites","href":"/api-reference/org-\u0026-team/list-pending-member-invites"},{"title":"Invite a member","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/member-invites","href":"/api-reference/org-\u0026-team/invite-a-member"},{"title":"Rescind a member invite","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/member-invites/{inviteId}","href":"/api-reference/org-\u0026-team/rescind-a-member-invite"},{"title":"List the org’s service accounts (integration keys)","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/service-accounts","href":"/api-reference/org-\u0026-team/list-the-org’s-service-accounts-integration-keys"},{"title":"Create a service account","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/service-accounts","href":"/api-reference/org-\u0026-team/create-a-service-account"},{"title":"Revoke a service account","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/service-accounts/{keyId}","href":"/api-reference/org-\u0026-team/revoke-a-service-account"},{"title":"Reconfigure a service account","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/service-accounts/{keyId}","href":"/api-reference/org-\u0026-team/reconfigure-a-service-account"}]},{"group":"Cases","pages":[{"title":"List / search cases","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases","href":"/api-reference/cases/list-search-cases"},{"title":"Create a case","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases","href":"/api-reference/cases/create-a-case"},{"title":"Get case detail","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}","href":"/api-reference/cases/get-case-detail"},{"title":"Archive (soft-delete) a case","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/cases/{caseId}","href":"/api-reference/cases/archive-soft-delete-a-case"},{"title":"Update mutable case fields","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/cases/{caseId}","href":"/api-reference/cases/update-mutable-case-fields"},{"title":"Restore an archived case","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases/{caseId}/restore","href":"/api-reference/cases/restore-an-archived-case"},{"title":"Request a case turn-down","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases/{caseId}/turndown-requests","href":"/api-reference/cases/request-a-case-turn-down"},{"title":"Cancel a pending turn-down","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/cases/{caseId}/turndown-requests","href":"/api-reference/cases/cancel-a-pending-turn-down"},{"title":"List case history entries","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/history","href":"/api-reference/cases/list-case-history-entries"},{"title":"List case tags","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/tags","href":"/api-reference/cases/list-case-tags"},{"title":"Add a case tag","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v1/cases/{caseId}/tags/{tag}","href":"/api-reference/cases/add-a-case-tag"},{"title":"Remove a case tag","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/cases/{caseId}/tags/{tag}","href":"/api-reference/cases/remove-a-case-tag"},{"title":"List case attorneys","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/attorneys","href":"/api-reference/cases/list-case-attorneys"},{"title":"Change the primary attorney","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v1/cases/{caseId}/primary-attorney","href":"/api-reference/cases/change-the-primary-attorney"},{"title":"Add / update a secondary attorney","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v1/cases/{caseId}/attorneys/{attorneyId}","href":"/api-reference/cases/add-update-a-secondary-attorney"},{"title":"Remove a secondary attorney","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/cases/{caseId}/attorneys/{attorneyId}","href":"/api-reference/cases/remove-a-secondary-attorney"}]},{"group":"Leads","pages":[{"title":"List pending intake reviews","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/leads/intake-reviews","href":"/api-reference/leads/list-pending-intake-reviews"},{"title":"List / filter leads","description":"Returns leads linked to cases owned by the selected organization. Excludes prospective intake reviews; use GET /leads/intake-reviews for those. source filters lead UTM attribution, not caseSource. nextCursor is null when the list is exhausted. These creation-ordered lists are current inventories, not change feeds: rescan to discover older records newly assigned or handed off.\n\nSupports one selected organization via `organizationId`. Omit it to use the key's organization. HQ descendant access requires an active acting attorney with `hq:view_child_orgs`, `cases:view`, `cases:view_all`, `hq:view_all_cases`. Existing key scopes still apply. The selector requires an integration API key; legacy partner/OIDC routing is unchanged. Repeat the selector on every cursor page, related mutation, upload completion, and detail/download request. See [HQ authorization](/authorization).\n\nRequires the `leads:read` scope. Rate tier: `read`.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/leads","href":"/api-reference/leads/list-filter-leads"},{"title":"Create a lead","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/leads","href":"/api-reference/leads/create-a-lead"},{"title":"Get lead detail","description":"Includes linked caseId and UTM/attribution fields for an organization-owned lead. Intake-review listing does not authorize this endpoint. Distribution internals are never serialized.\n\nSupports one selected organization via `organizationId`. Omit it to use the key's organization. HQ descendant access requires an active acting attorney with `hq:view_child_orgs`, `cases:view`, `cases:view_all`, `hq:view_all_cases`. Existing key scopes still apply. The selector requires an integration API key; legacy partner/OIDC routing is unchanged. Repeat the selector on every cursor page, related mutation, upload completion, and detail/download request. See [HQ authorization](/authorization).\n\nRequires the `leads:read` scope. Rate tier: `read`.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/leads/{leadId}","href":"/api-reference/leads/get-lead-detail"},{"title":"Update a lead","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/leads/{leadId}","href":"/api-reference/leads/update-a-lead"},{"title":"List lead status history","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/leads/{leadId}/history","href":"/api-reference/leads/list-lead-status-history"},{"title":"Transition lead status (guarded)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/leads/{leadId}/transitions","href":"/api-reference/leads/transition-lead-status-guarded"},{"title":"Cancel a pending lead turn-down","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/leads/{leadId}/turndown-requests","href":"/api-reference/leads/cancel-a-pending-lead-turn-down"},{"title":"List the org’s lead sub-status definitions","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/lead-statuses","href":"/api-reference/leads/list-the-org’s-lead-sub-status-definitions"},{"title":"List the org’s turn-down reasons","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/turndown-reasons","href":"/api-reference/leads/list-the-org’s-turn-down-reasons"}]},{"group":"Clients","pages":[{"title":"List / search clients","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/clients","href":"/api-reference/clients/list-search-clients"},{"title":"Create a standalone client","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/clients","href":"/api-reference/clients/create-a-standalone-client"},{"title":"Get client detail","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/clients/{clientId}","href":"/api-reference/clients/get-client-detail"},{"title":"Update a client","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/clients/{clientId}","href":"/api-reference/clients/update-a-client"},{"title":"List cases for a client","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/clients/{clientId}/cases","href":"/api-reference/clients/list-cases-for-a-client"},{"title":"List client relationships","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/clients/{clientId}/relationships","href":"/api-reference/clients/list-client-relationships"}]},{"group":"Contacts","pages":[{"title":"List / search contacts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/contacts","href":"/api-reference/contacts/list-search-contacts"},{"title":"Create a contact","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/contacts","href":"/api-reference/contacts/create-a-contact"},{"title":"Get contact detail","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/contacts/{contactId}","href":"/api-reference/contacts/get-contact-detail"},{"title":"Soft-delete a contact","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/contacts/{contactId}","href":"/api-reference/contacts/soft-delete-a-contact"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/contacts/{contactId}","href":"/api-reference/contacts/update-a-contact"},{"title":"List cases a contact is assigned to","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/contacts/{contactId}/cases","href":"/api-reference/contacts/list-cases-a-contact-is-assigned-to"},{"title":"List contacts on a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/contacts","href":"/api-reference/contacts/list-contacts-on-a-case"},{"title":"Assign a contact to a case","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v1/cases/{caseId}/contacts/{contactId}","href":"/api-reference/contacts/assign-a-contact-to-a-case"},{"title":"Unassign a contact from a case","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/cases/{caseId}/contacts/{contactId}","href":"/api-reference/contacts/unassign-a-contact-from-a-case"},{"title":"List contact assignment types","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/contact-assignment-types","href":"/api-reference/contacts/list-contact-assignment-types"}]},{"group":"Documents","pages":[{"title":"List / filter documents org-wide","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/documents","href":"/api-reference/documents/list-filter-documents-org-wide"},{"title":"Merged folder + document snapshot for a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/document-items","href":"/api-reference/documents/merged-folder-+-document-snapshot-for-a-case"},{"title":"Get document metadata","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/documents/{documentId}","href":"/api-reference/documents/get-document-metadata"},{"title":"Soft-delete a document","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/documents/{documentId}","href":"/api-reference/documents/soft-delete-a-document"},{"title":"Rename / move a document","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/documents/{documentId}","href":"/api-reference/documents/rename-move-a-document"},{"title":"Restore a soft-deleted document","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/documents/{documentId}/restore","href":"/api-reference/documents/restore-a-soft-deleted-document"},{"title":"Download document content","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/documents/{documentId}/content","href":"/api-reference/documents/download-document-content"},{"title":"List document versions","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/documents/{documentId}/versions","href":"/api-reference/documents/list-document-versions"},{"title":"Download a prior version","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/documents/{documentId}/versions/{versionId}/content","href":"/api-reference/documents/download-a-prior-version"},{"title":"List document tags","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/documents/{documentId}/tags","href":"/api-reference/documents/list-document-tags"},{"title":"Add a document tag","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v1/documents/{documentId}/tags/{tag}","href":"/api-reference/documents/add-a-document-tag"},{"title":"Remove a document tag","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/documents/{documentId}/tags/{tag}","href":"/api-reference/documents/remove-a-document-tag"},{"title":"Batch-move documents / folders","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/documents/batch/move","href":"/api-reference/documents/batch-move-documents-folders"},{"title":"Batch-copy documents","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/documents/batch/copy","href":"/api-reference/documents/batch-copy-documents"},{"title":"Batch soft-delete documents","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/documents/batch/delete","href":"/api-reference/documents/batch-soft-delete-documents"},{"title":"Move a document to another case","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/documents/{documentId}/move-to-case","href":"/api-reference/documents/move-a-document-to-another-case"},{"title":"Get the full folder hierarchy for a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/folder-tree","href":"/api-reference/documents/get-the-full-folder-hierarchy-for-a-case"},{"title":"Create a folder","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases/{caseId}/folders","href":"/api-reference/documents/create-a-folder"},{"title":"Soft-delete a folder","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/folders/{folderId}","href":"/api-reference/documents/soft-delete-a-folder"},{"title":"Rename / move a folder","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/folders/{folderId}","href":"/api-reference/documents/rename-move-a-folder"},{"title":"Restore a soft-deleted folder","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/folders/{folderId}/restore","href":"/api-reference/documents/restore-a-soft-deleted-folder"},{"title":"Mint a presigned upload session","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/document-uploads","href":"/api-reference/documents/mint-a-presigned-upload-session"},{"title":"Commit a presigned upload","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/document-uploads/{uploadId}/complete","href":"/api-reference/documents/commit-a-presigned-upload"},{"title":"List share links","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/share-links","href":"/api-reference/documents/list-share-links"},{"title":"Create a share link","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/share-links","href":"/api-reference/documents/create-a-share-link"},{"title":"Revoke a share link","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/share-links/{linkId}","href":"/api-reference/documents/revoke-a-share-link"}]},{"group":"Notes","pages":[{"title":"List notes on a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/notes","href":"/api-reference/notes/list-notes-on-a-case"},{"title":"Create a note","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases/{caseId}/notes","href":"/api-reference/notes/create-a-note"},{"title":"Get note detail","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/notes/{noteId}","href":"/api-reference/notes/get-note-detail"},{"title":"Soft-delete a note","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/notes/{noteId}","href":"/api-reference/notes/soft-delete-a-note"},{"title":"Update a note","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/notes/{noteId}","href":"/api-reference/notes/update-a-note"}]},{"group":"Tasks","pages":[{"title":"List tasks org-wide","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/tasks","href":"/api-reference/tasks/list-tasks-org-wide"},{"title":"Create a task","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/tasks","href":"/api-reference/tasks/create-a-task"},{"title":"List tasks on a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/tasks","href":"/api-reference/tasks/list-tasks-on-a-case"},{"title":"Get task detail","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/tasks/{taskId}","href":"/api-reference/tasks/get-task-detail"},{"title":"Cancel a task","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/tasks/{taskId}","href":"/api-reference/tasks/cancel-a-task"},{"title":"Update task fields","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/tasks/{taskId}","href":"/api-reference/tasks/update-task-fields"},{"title":"Complete a task","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/tasks/{taskId}/complete","href":"/api-reference/tasks/complete-a-task"},{"title":"Reopen a completed task","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/tasks/{taskId}/uncomplete","href":"/api-reference/tasks/reopen-a-completed-task"},{"title":"Snooze a task to a new due date","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/tasks/{taskId}/snooze","href":"/api-reference/tasks/snooze-a-task-to-a-new-due-date"},{"title":"Assign a user to a task","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v1/tasks/{taskId}/assignees/{userId}","href":"/api-reference/tasks/assign-a-user-to-a-task"},{"title":"Unassign a user from a task","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/tasks/{taskId}/assignees/{userId}","href":"/api-reference/tasks/unassign-a-user-from-a-task"},{"title":"Add a task follower","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v1/tasks/{taskId}/followers/{userId}","href":"/api-reference/tasks/add-a-task-follower"},{"title":"Remove a task follower","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/tasks/{taskId}/followers/{userId}","href":"/api-reference/tasks/remove-a-task-follower"}]},{"group":"Calendar","pages":[{"title":"List calendar items","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/calendar-items","href":"/api-reference/calendar/list-calendar-items"},{"title":"Create a calendar item","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/calendar-items","href":"/api-reference/calendar/create-a-calendar-item"},{"title":"List calendar items on a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/calendar-items","href":"/api-reference/calendar/list-calendar-items-on-a-case"},{"title":"Get calendar item detail","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/calendar-items/{itemId}","href":"/api-reference/calendar/get-calendar-item-detail"},{"title":"Cancel a calendar item","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/calendar-items/{itemId}","href":"/api-reference/calendar/cancel-a-calendar-item"},{"title":"Update a calendar item","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/calendar-items/{itemId}","href":"/api-reference/calendar/update-a-calendar-item"}]},{"group":"Deadlines","pages":[{"title":"List deadline obligations for a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/deadlines","href":"/api-reference/deadlines/list-deadline-obligations-for-a-case"},{"title":"Create a manual deadline","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases/{caseId}/deadlines","href":"/api-reference/deadlines/create-a-manual-deadline"},{"title":"Get deadline detail","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/deadlines/{deadlineId}","href":"/api-reference/deadlines/get-deadline-detail"},{"title":"Remove a manual deadline","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/deadlines/{deadlineId}","href":"/api-reference/deadlines/remove-a-manual-deadline"},{"title":"Update a deadline","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/deadlines/{deadlineId}","href":"/api-reference/deadlines/update-a-deadline"},{"title":"List the org’s deadline rule packs","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/deadline-rule-packs","href":"/api-reference/deadlines/list-the-org’s-deadline-rule-packs"},{"title":"List anchor records for a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/anchors","href":"/api-reference/deadlines/list-anchor-records-for-a-case"},{"title":"Set / update an anchor date","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v1/cases/{caseId}/anchors/{anchorKey}","href":"/api-reference/deadlines/set-update-an-anchor-date"}]},{"group":"Intake","pages":[{"title":"List intake answers for a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/survey-details","href":"/api-reference/intake/list-intake-answers-for-a-case"},{"title":"Bulk-append intake answers","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases/{caseId}/survey-details","href":"/api-reference/intake/bulk-append-intake-answers"},{"title":"Get one intake answer","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/survey-details/{accessor}","href":"/api-reference/intake/get-one-intake-answer"},{"title":"Upsert one intake answer","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v1/cases/{caseId}/survey-details/{accessor}","href":"/api-reference/intake/upsert-one-intake-answer"},{"title":"Soft-delete an intake answer","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/cases/{caseId}/survey-details/{accessor}","href":"/api-reference/intake/soft-delete-an-intake-answer"},{"title":"List the org’s intake question sets","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/intake-question-sets","href":"/api-reference/intake/list-the-org’s-intake-question-sets"},{"title":"Get a full question set","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/intake-question-sets/{setId}","href":"/api-reference/intake/get-a-full-question-set"},{"title":"List the org’s case types","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/case-types","href":"/api-reference/intake/list-the-org’s-case-types"},{"title":"Get the resolved field schema for a case type","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/case-types/{caseTypeId}/schema","href":"/api-reference/intake/get-the-resolved-field-schema-for-a-case-type"},{"title":"Read case fields as a schema-shaped snapshot","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/fields","href":"/api-reference/intake/read-case-fields-as-a-schema-shaped-snapshot"},{"title":"Write case fields, validated against the schema","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/cases/{caseId}/fields","href":"/api-reference/intake/write-case-fields-validated-against-the-schema"}]},{"group":"E-Sign","pages":[{"title":"List e-sign documents on a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/esign-documents","href":"/api-reference/e-sign/list-e-sign-documents-on-a-case"},{"title":"Create and send an e-sign document from a template","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases/{caseId}/esign-documents","href":"/api-reference/e-sign/create-and-send-an-e-sign-document-from-a-template"},{"title":"Get e-sign document detail","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/esign-documents/{esignId}","href":"/api-reference/e-sign/get-e-sign-document-detail"},{"title":"Send a manual signing reminder","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/esign-documents/{esignId}/remind","href":"/api-reference/e-sign/send-a-manual-signing-reminder"},{"title":"Void an e-sign envelope","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/esign-documents/{esignId}/cancel","href":"/api-reference/e-sign/void-an-e-sign-envelope"},{"title":"Download the executed document","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/esign-documents/{esignId}/download","href":"/api-reference/e-sign/download-the-executed-document"},{"title":"List the org’s e-sign templates","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/esign-templates","href":"/api-reference/e-sign/list-the-org’s-e-sign-templates"}]},{"group":"Billing","pages":[{"title":"List liens on a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/liens","href":"/api-reference/billing/list-liens-on-a-case"},{"title":"Create a lien","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases/{caseId}/liens","href":"/api-reference/billing/create-a-lien"},{"title":"Get lien detail","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/liens/{lienId}","href":"/api-reference/billing/get-lien-detail"},{"title":"Soft-delete a lien","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/liens/{lienId}","href":"/api-reference/billing/soft-delete-a-lien"},{"title":"Update a lien","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/liens/{lienId}","href":"/api-reference/billing/update-a-lien"},{"title":"List expenses on a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/expenses","href":"/api-reference/billing/list-expenses-on-a-case"},{"title":"Create an expense","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases/{caseId}/expenses","href":"/api-reference/billing/create-an-expense"},{"title":"Get expense detail","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/expenses/{expenseId}","href":"/api-reference/billing/get-expense-detail"},{"title":"Soft-delete an expense","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/expenses/{expenseId}","href":"/api-reference/billing/soft-delete-an-expense"},{"title":"Update an expense","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/expenses/{expenseId}","href":"/api-reference/billing/update-an-expense"},{"title":"List time entries","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/time-entries","href":"/api-reference/billing/list-time-entries"},{"title":"Create a time entry","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/time-entries","href":"/api-reference/billing/create-a-time-entry"},{"title":"Get time entry detail","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/time-entries/{entryId}","href":"/api-reference/billing/get-time-entry-detail"},{"title":"Delete a time entry","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/time-entries/{entryId}","href":"/api-reference/billing/delete-a-time-entry"},{"title":"Update a time entry","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/time-entries/{entryId}","href":"/api-reference/billing/update-a-time-entry"},{"title":"List invoices","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/invoices","href":"/api-reference/billing/list-invoices"},{"title":"Get invoice detail","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/invoices/{invoiceId}","href":"/api-reference/billing/get-invoice-detail"},{"title":"Edit a draft invoice","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/invoices/{invoiceId}","href":"/api-reference/billing/edit-a-draft-invoice"},{"title":"Create an invoice","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases/{caseId}/invoices","href":"/api-reference/billing/create-an-invoice"},{"title":"Transition invoice status","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/invoices/{invoiceId}/transitions","href":"/api-reference/billing/transition-invoice-status"},{"title":"Download the uploaded invoice file","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/invoices/{invoiceId}/document","href":"/api-reference/billing/download-the-uploaded-invoice-file"}]},{"group":"Settlement Funds","pages":[{"title":"List resolutions for a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/resolutions","href":"/api-reference/settlement-funds/list-resolutions-for-a-case"},{"title":"Get resolution detail with ledger summary","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/resolutions/{resolutionId}","href":"/api-reference/settlement-funds/get-resolution-detail-with-ledger-summary"},{"title":"Preview the settlement allocation waterfall","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/resolutions/{resolutionId}/allocation-previews","href":"/api-reference/settlement-funds/preview-the-settlement-allocation-waterfall"},{"title":"List checks on a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/checks","href":"/api-reference/settlement-funds/list-checks-on-a-case"},{"title":"Record an inbound check","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases/{caseId}/checks","href":"/api-reference/settlement-funds/record-an-inbound-check"},{"title":"Get check detail with allocations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/checks/{checkId}","href":"/api-reference/settlement-funds/get-check-detail-with-allocations"},{"title":"Update check metadata","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/checks/{checkId}","href":"/api-reference/settlement-funds/update-check-metadata"},{"title":"Transition check status","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/checks/{checkId}/transitions","href":"/api-reference/settlement-funds/transition-check-status"},{"title":"List a check’s allocation lines","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/checks/{checkId}/allocations","href":"/api-reference/settlement-funds/list-a-check’s-allocation-lines"},{"title":"Get available funds for a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/available-funds","href":"/api-reference/settlement-funds/get-available-funds-for-a-case"},{"title":"List disbursements on a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/disbursements","href":"/api-reference/settlement-funds/list-disbursements-on-a-case"},{"title":"List disbursements org-wide","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/disbursements","href":"/api-reference/settlement-funds/list-disbursements-org-wide"},{"title":"Get disbursement detail","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/disbursements/{disbursementId}","href":"/api-reference/settlement-funds/get-disbursement-detail"},{"title":"Transition disbursement status","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/disbursements/{disbursementId}/transitions","href":"/api-reference/settlement-funds/transition-disbursement-status"}]},{"group":"Referrals","pages":[{"title":"List referrals","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/referrals","href":"/api-reference/referrals/list-referrals"},{"title":"Get referral detail","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/referrals/{referralId}","href":"/api-reference/referrals/get-referral-detail"},{"title":"Create an outbound referral","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases/{caseId}/referrals","href":"/api-reference/referrals/create-an-outbound-referral"},{"title":"Accept a referral","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/referrals/{referralId}/accept","href":"/api-reference/referrals/accept-a-referral"},{"title":"Decline a referral","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/referrals/{referralId}/decline","href":"/api-reference/referrals/decline-a-referral"},{"title":"List referral activities","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/referrals/{referralId}/activities","href":"/api-reference/referrals/list-referral-activities"}]},{"group":"Communications","pages":[{"title":"List logged emails on a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/emails","href":"/api-reference/communications/list-logged-emails-on-a-case"},{"title":"Append an email record to a case","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases/{caseId}/emails","href":"/api-reference/communications/append-an-email-record-to-a-case"},{"title":"Get a logged email","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/emails/{emailId}","href":"/api-reference/communications/get-a-logged-email"},{"title":"List call logs on a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/call-logs","href":"/api-reference/communications/list-call-logs-on-a-case"},{"title":"Append a call record to a case","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases/{caseId}/call-logs","href":"/api-reference/communications/append-a-call-record-to-a-case"},{"title":"Get a call log entry","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/call-logs/{callLogId}","href":"/api-reference/communications/get-a-call-log-entry"}]},{"group":"Medical","pages":[{"title":"List medical facilities bound to a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/medical-facilities","href":"/api-reference/medical/list-medical-facilities-bound-to-a-case"},{"title":"Bind a contact as a medical facility","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases/{caseId}/medical-facilities","href":"/api-reference/medical/bind-a-contact-as-a-medical-facility"},{"title":"Soft-delete a facility binding","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/medical-facilities/{facilityId}","href":"/api-reference/medical/soft-delete-a-facility-binding"},{"title":"Update facility routing config","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/medical-facilities/{facilityId}","href":"/api-reference/medical/update-facility-routing-config"},{"title":"List treatment summaries for a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/treatment-summaries","href":"/api-reference/medical/list-treatment-summaries-for-a-case"},{"title":"Create a treatment summary","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases/{caseId}/treatment-summaries","href":"/api-reference/medical/create-a-treatment-summary"},{"title":"Update a treatment summary","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/treatment-summaries/{summaryId}","href":"/api-reference/medical/update-a-treatment-summary"},{"title":"List records-retrieval requests for a case","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cases/{caseId}/retrieval-requests","href":"/api-reference/medical/list-records-retrieval-requests-for-a-case"},{"title":"Create a retrieval request","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/cases/{caseId}/retrieval-requests","href":"/api-reference/medical/create-a-retrieval-request"},{"title":"Get retrieval request detail","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/retrieval-requests/{requestId}","href":"/api-reference/medical/get-retrieval-request-detail"},{"title":"Cancel a retrieval request","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/retrieval-requests/{requestId}/cancel","href":"/api-reference/medical/cancel-a-retrieval-request"},{"title":"Download received records / bills","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/retrieval-requests/{requestId}/documents/{docId}/content","href":"/api-reference/medical/download-received-records-bills"}]},{"group":"Reports \u0026 Exports","pages":[{"title":"List API-visible saved reports","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/reports","href":"/api-reference/reports-\u0026-exports/list-api-visible-saved-reports"},{"title":"Get report definition metadata","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/reports/{reportId}","href":"/api-reference/reports-\u0026-exports/get-report-definition-metadata"},{"title":"Execute a saved report","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/reports/{reportId}/run","href":"/api-reference/reports-\u0026-exports/execute-a-saved-report"},{"title":"List export jobs","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/export-jobs","href":"/api-reference/reports-\u0026-exports/list-export-jobs"},{"title":"Enqueue a bulk data export","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/export-jobs","href":"/api-reference/reports-\u0026-exports/enqueue-a-bulk-data-export"},{"title":"Get export job status","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/export-jobs/{jobId}","href":"/api-reference/reports-\u0026-exports/get-export-job-status"},{"title":"Download a completed export","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/export-jobs/{jobId}/download","href":"/api-reference/reports-\u0026-exports/download-a-completed-export"}]},{"group":"Events \u0026 Webhooks","pages":[{"title":"Read the unified event feed","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/events","href":"/api-reference/events-\u0026-webhooks/read-the-unified-event-feed"},{"title":"Read the documents-only event feed (legacy alias)","deprecated":true,"version":null,"openapi":"/openapi.json get /api/v1/document-events","href":"/api-reference/events-\u0026-webhooks/read-the-documents-only-event-feed-legacy-alias"},{"title":"Enumerate subscribable event types","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/webhook-events","href":"/api-reference/events-\u0026-webhooks/enumerate-subscribable-event-types"},{"title":"List webhook subscriptions","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/webhook-subscriptions","href":"/api-reference/events-\u0026-webhooks/list-webhook-subscriptions"},{"title":"Create a webhook subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/webhook-subscriptions","href":"/api-reference/events-\u0026-webhooks/create-a-webhook-subscription"},{"title":"Delete a webhook subscription","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/webhook-subscriptions/{subscriptionId}","href":"/api-reference/events-\u0026-webhooks/delete-a-webhook-subscription"},{"title":"Update a webhook subscription","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/webhook-subscriptions/{subscriptionId}","href":"/api-reference/events-\u0026-webhooks/update-a-webhook-subscription"}]}]}]},"basePath":"","title":"Create a lead - Presolve Documentation","deploymentId":"dpl_53YqbBPsHdrqSGqXiWPGU7csRVod","buildId":"dpl_53YqbBPsHdrqSGqXiWPGU7csRVod","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Ku9dSkH0.js","snippetPresets-Cjez4eet.js","utils-BqNa-fnS.js","style-to-object-BY3JEAdk.js","utils-DiE92JCe.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-Bi0DpqVf.js","conditional-requirements-CFM0id0Q.js","cloneDeep-C6xnxscF.js","_Uint8Array-B7g0OYAt.js","isObject-FP1Yky1u.js","ApiExamples-Bf8Ecb5t.js","usePlaygroundInputsStore-BA942cq6.js","shallow-D0sePNkF.js","isEqual-CnnQO8sL.js","CodeSnippets-BTANoy1T.js","CodeSnippet-CTZvgJfu.js","getApiPlaygroundDisplay-BK2o1XYu.js","Page--B9YZ09u.js","DynamicMarkdown-CsgNpZb1.js","SectionHeading-C3K437Dy.js","icon-DlxjjqnB.js","MethodPill-Cr7Ib9nN.js","getPastedJson-DXo3wtHt.js","Check2Icon-ChEI-f_B.js","axios-CsQoIw0U.js","Markdown-CH4mv0N8.js","AssistantPageLink-BHjmqccN.js","dist-DYCPzQwJ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}