This event is fired when lead fields or checklist items are updated. The payload is sparse — it only includes fields that changed, along with leadId, externalId and workflowRuns, which are always present.workflowRuns lists every workflow run that is currently open (active or paused) against the lead, oldest first. It is an empty array when the lead is not in any workflow run.
Current value of the checklist item. Type depends on the field type: string for text fields, number for numeric fields, or an address object with the following structure: { "street": "...", "city": "...", "state": "...", "postalCode": "...", "country": "..." }.
{ "event": "lead.updated", "actor": { "type": "USER", "id": "8a1f6c2e-4b7d-4e2a-9c3f-1d5e6f7a8b9c", "name": "Jane Doe", "email": "jane@acme.com" }, "data": { "leadId": "50713355-df73-4077-9d84-dcda6da5729c", "externalId": "ext-lead-001", "workflowRuns": [ { "id": "5d8c1f3a-7b2e-4c9d-8e1f-2a3b4c5d6e7f", "externalId": "crm-run-8813", "workflowId": "0f1e2d3c-4b5a-4968-8776-655443322110", "status": "ACTIVE" } ], "email": "newemail@example.com", "tags": ["VIP", "priority-1"], "checklistItems": [ { "checklistItemId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "checklistItemCode": "bank_statement", "value": "bank-statement-june.pdf", "alternateValues": [], "status": "NEEDS_REVIEW", "updatedAt": "2025-10-31T19:00:01.675Z", "documents": [ { "documentId": "8349efe7-3c68-49c3-9411-f9affda0d03a", "externalId": null, "filename": "bank-statement-june.pdf", "mimeType": "application/pdf", "size": 153143, "validationResult": { "documentId": "8349efe7-3c68-49c3-9411-f9affda0d03a", "overallValid": false, "otherNotes": "Document shows account holder name as 'JOHN DOE'.", "validationResults": [ { "isValid": true, "ruleName": "First name should match", "ruleIndex": 0, "isValidReason": "Lead first name 'John' matches document name 'JOHN'." }, { "isValid": false, "ruleName": "Statement must be dated within the last 3 months", "ruleIndex": 1, "isValidReason": "June 2025 is outside the required period. Valid months are October 2025, September 2025, August 2025." } ], "leadChecklistItemId": "f830cc29-16ad-4c64-9fa8-f90f318f8dce" }, "overallValid": false } ] } ] }}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Monumint Docs","colors":{"primary":"#346DDB","light":"#346DDB","dark":"#346DDB"},"logo":{"light":"https://mintcdn.com/omniai/k2KlEEnOiU8O66gg/logo/wordmark.svg?fit=max\u0026auto=format\u0026n=k2KlEEnOiU8O66gg\u0026q=85\u0026s=f71450da6fa102b1224507df6e83c462","dark":"https://mintcdn.com/omniai/k2KlEEnOiU8O66gg/logo/wordmark-white.png?fit=max\u0026auto=format\u0026n=k2KlEEnOiU8O66gg\u0026q=85\u0026s=936503d69c40c0b9b7fcd94d9728a955"},"favicon":{"light":"https://mintcdn.com/omniai/k2KlEEnOiU8O66gg/logo/logo.svg?fit=max\u0026auto=format\u0026n=k2KlEEnOiU8O66gg\u0026q=85\u0026s=d9cc1b505e454e203bb46e273e957a8e","dark":"https://mintcdn.com/omniai/k2KlEEnOiU8O66gg/logo/logo-white.svg?fit=max\u0026auto=format\u0026n=k2KlEEnOiU8O66gg\u0026q=85\u0026s=d1040e886502a7088868ccfbdb9d2205"},"api":{"mdx":{"auth":{"method":"key","name":"x-api-key"},"server":["https://api-v2.getomni.ai","https://api.getomni.ai","http://localhost:4000"]}},"appearance":{"default":"light"},"navbar":{"links":[{"href":"https://github.com/getomni-ai","label":"Github"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.getomni.ai"}},"footer":{"socials":{"x":"https://x.com/getomni_ai","github":"https://github.com/getomni-ai","linkedin":"https://linkedin.com/company/getomni-ai"}},"icons":{"library":"lucide"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"omniai","hasAudioNarration":false,"actualSubdomain":"omniai","customDomains":["docs.getomni.ai"],"gitSource":{"type":"github","owner":"getomni-ai","repo":"omni","deployBranch":"main","contentDirectory":"packages/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad9931b2063dcfa6d763950","collectionId":"d8358516-28c0-45f1-a21c-890e7b642f9c","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad9931b2063dcfa6d763950"},"entitlements":{},"buildId":"6ae82d48dffaaabdc1bd1aa3","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"API Reference","count":41},{"language":"default","tag":"User Guides","count":18},{"language":"default","tag":"Leads","count":16},{"language":"default","tag":"Webhooks","count":15},{"language":"default","tag":"Events","count":12},{"language":"default","tag":"Workflow Runs","count":7},{"language":"default","tag":"AI Agent","count":6},{"language":"default","tag":"Channel Configuration","count":3},{"language":"default","tag":"Use Cases","count":3},{"language":"default","tag":"Documents","count":2}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/webhooks/events/lead-updated","slug":"/api-reference/webhooks/events/lead-updated","pageMetadata":{"title":"lead.updated","description":null,"href":"/api-reference/webhooks/events/lead-updated"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,..._provideComponents(),...props.components},{Expandable,Heading,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Triggered when a lead is updated.`}),`\n`,_jsx(Heading,{level:`2`,id:`event-type`,children:`Event Type`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`lead.updated`})}),`\n`,_jsx(Heading,{level:`2`,id:`description`,children:`Description`}),`\n`,_jsxs(_components.p,{children:[`This event is fired when lead fields or checklist items are updated. The payload is sparse — it only includes fields that changed, along with `,_jsx(_components.code,{children:`leadId`}),`, `,_jsx(_components.code,{children:`externalId`}),` and `,_jsx(_components.code,{children:`workflowRuns`}),`, which are always present.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`workflowRuns`}),` lists every workflow run that is currently open (active or paused) against the lead, oldest first. It is an empty array when the lead is not in any workflow run.`]}),`\n`,_jsx(Heading,{level:`2`,id:`payload-structure`,children:`Payload Structure`}),`\n`,_jsx(ResponseField,{name:`event`,type:`string`,required:true,id:`param-event`,children:_jsxs(_components.p,{children:[`The event type: `,_jsx(_components.code,{children:`lead.updated`})]})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,required:true,id:`param-data`,children:[_jsx(_components.p,{children:`The updated lead data (sparse — only changed fields included)`}),_jsxs(Expandable,{title:`data`,children:[_jsx(ResponseField,{name:`leadId`,type:`string`,required:true,id:`param-lead-id`,children:_jsx(_components.p,{children:`Unique identifier for the lead`})}),_jsx(ResponseField,{name:`externalId`,type:`string | null`,id:`param-external-id`,children:_jsx(_components.p,{children:`External identifier for the lead (if set)`})}),_jsxs(ResponseField,{name:`workflowRuns`,type:`array`,required:true,id:`param-workflow-runs`,children:[_jsx(_components.p,{children:`Workflow runs currently open against this lead, oldest first`}),_jsxs(Expandable,{title:`workflowRuns`,children:[_jsx(ResponseField,{name:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`ID of the workflow run`})}),_jsx(ResponseField,{name:`externalId`,type:`string | null`,id:`param-external-id-1`,children:_jsx(_components.p,{children:`Your own identifier for the run, if you set one when creating it`})}),_jsx(ResponseField,{name:`workflowId`,type:`string`,required:true,id:`param-workflow-id`,children:_jsx(_components.p,{children:`ID of the workflow the run belongs to`})}),_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ACTIVE`}),` or `,_jsx(_components.code,{children:`PAUSED`})]})})]})]}),_jsx(ResponseField,{name:`firstName`,type:`string`,id:`param-first-name`,children:_jsx(_components.p,{children:`Lead’s first name (only included if changed)`})}),_jsx(ResponseField,{name:`middleName`,type:`string`,id:`param-middle-name`,children:_jsx(_components.p,{children:`Lead’s middle name (only included if changed)`})}),_jsx(ResponseField,{name:`lastName`,type:`string`,id:`param-last-name`,children:_jsx(_components.p,{children:`Lead’s last name (only included if changed)`})}),_jsx(ResponseField,{name:`phoneNumber`,type:`string`,id:`param-phone-number`,children:_jsx(_components.p,{children:`Lead’s phone number (only included if changed)`})}),_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email`,children:_jsx(_components.p,{children:`Lead’s email address (only included if changed)`})}),_jsx(ResponseField,{name:`businessName`,type:`string`,id:`param-business-name`,children:_jsx(_components.p,{children:`Lead’s business name (only included if changed)`})}),_jsx(ResponseField,{name:`website`,type:`string`,id:`param-website`,children:_jsx(_components.p,{children:`Lead’s website URL (only included if changed)`})}),_jsx(ResponseField,{name:`tags`,type:`string[]`,id:`param-tags`,children:_jsx(_components.p,{children:`List of tags attached to the lead`})}),_jsxs(ResponseField,{name:`checklistItems`,type:`array`,id:`param-checklist-items`,children:[_jsx(_components.p,{children:`Array of updated checklist items (only included if checklist items changed)`}),_jsxs(Expandable,{title:`checklistItems`,children:[_jsx(ResponseField,{name:`checklistItemId`,type:`string`,id:`param-checklist-item-id`,children:_jsx(_components.p,{children:`ID of the checklist item definition`})}),_jsx(ResponseField,{name:`checklistGroupCode`,type:`string`,id:`param-checklist-group-code`,children:_jsx(_components.p,{children:`Code identifier for the checklist item’s group`})}),_jsx(ResponseField,{name:`checklistItemCode`,type:`string`,id:`param-checklist-item-code`,children:_jsx(_components.p,{children:`Code identifier for the checklist item`})}),_jsx(ResponseField,{name:`value`,type:`string | number | object | null`,id:`param-value`,children:_jsxs(_components.p,{children:[`Current value of the checklist item. Type depends on the field type: `,_jsx(_components.code,{children:`string`}),` for text fields, `,_jsx(_components.code,{children:`number`}),` for numeric fields, or an address object with the following structure: `,_jsx(_components.code,{children:`{ \"street\": \"...\", \"city\": \"...\", \"state\": \"...\", \"postalCode\": \"...\", \"country\": \"...\" }`}),`.`]})}),_jsxs(ResponseField,{name:`alternateValues`,type:`array | null`,id:`param-alternate-values`,children:[_jsx(_components.p,{children:`Alternative extracted values`}),_jsxs(Expandable,{title:`alternateValues`,children:[_jsx(ResponseField,{name:`value`,type:`string`,id:`param-value-1`,children:_jsx(_components.p,{children:`The alternate extracted value`})}),_jsx(ResponseField,{name:`parentActionId`,type:`string | null`,id:`param-parent-action-id`,children:_jsx(_components.p,{children:`ID of the action that produced this value`})})]})]}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:_jsxs(_components.p,{children:[`Status of the checklist item: `,_jsx(_components.code,{children:`TODO`}),`, `,_jsx(_components.code,{children:`COMPLETED`}),`, `,_jsx(_components.code,{children:`INVALID`}),`, `,_jsx(_components.code,{children:`SKIPPED`}),`, `,_jsx(_components.code,{children:`NEEDS_REVIEW`})]})}),_jsx(ResponseField,{name:`updatedAt`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp of the last update`})}),_jsxs(ResponseField,{name:`documents`,type:`array`,id:`param-documents`,children:[_jsx(_components.p,{children:`Array of documents associated with the checklist item (only for file-type fields)`}),_jsxs(Expandable,{title:`documents`,children:[_jsx(ResponseField,{name:`documentId`,type:`string`,id:`param-document-id`,children:_jsx(_components.p,{children:`Unique identifier for the document`})}),_jsx(ResponseField,{name:`externalId`,type:`string | null`,id:`param-external-id-2`,children:_jsx(_components.p,{children:`External identifier for the document`})}),_jsx(ResponseField,{name:`filename`,type:`string`,id:`param-filename`,children:_jsx(_components.p,{children:`Original filename`})}),_jsx(ResponseField,{name:`mimeType`,type:`string`,id:`param-mime-type`,children:_jsx(_components.p,{children:`MIME type of the document`})}),_jsx(ResponseField,{name:`size`,type:`number`,id:`param-size`,children:_jsx(_components.p,{children:`File size in bytes`})}),_jsx(ResponseField,{name:`s3Bucket`,type:`string`,id:`param-s3-bucket`,children:_jsx(_components.p,{children:`S3 bucket name (only included if external S3 integration is configured)`})}),_jsx(ResponseField,{name:`s3Key`,type:`string`,id:`param-s3-key`,children:_jsx(_components.p,{children:`S3 object key (only included if external S3 integration is configured)`})}),_jsxs(ResponseField,{name:`validationResult`,type:`object | null`,id:`param-validation-result`,children:[_jsx(_components.p,{children:`Document validation results (if validation rules are configured)`}),_jsxs(Expandable,{title:`validationResult`,children:[_jsx(ResponseField,{name:`documentId`,type:`string`,id:`param-document-id-1`,children:_jsx(_components.p,{children:`ID of the validated document`})}),_jsx(ResponseField,{name:`overallValid`,type:`boolean`,id:`param-overall-valid`,children:_jsx(_components.p,{children:`Whether the document passed all validation rules`})}),_jsx(ResponseField,{name:`otherNotes`,type:`string | null`,id:`param-other-notes`,children:_jsx(_components.p,{children:`Additional notes from validation`})}),_jsxs(ResponseField,{name:`validationResults`,type:`array`,id:`param-validation-results`,children:[_jsx(_components.p,{children:`Individual rule results`}),_jsxs(Expandable,{title:`validationResults`,children:[_jsx(ResponseField,{name:`isValid`,type:`boolean`,id:`param-is-valid`,children:_jsx(_components.p,{children:`Whether this rule passed`})}),_jsx(ResponseField,{name:`ruleName`,type:`string`,id:`param-rule-name`,children:_jsx(_components.p,{children:`Name of the validation rule`})}),_jsx(ResponseField,{name:`ruleIndex`,type:`number`,id:`param-rule-index`,children:_jsx(_components.p,{children:`Index of the rule`})}),_jsx(ResponseField,{name:`isValidReason`,type:`string`,id:`param-is-valid-reason`,children:_jsx(_components.p,{children:`Explanation of why the rule passed or failed`})})]})]}),_jsx(ResponseField,{name:`leadChecklistItemId`,type:`string`,id:`param-lead-checklist-item-id`,children:_jsx(_components.p,{children:`ID of the associated checklist item`})})]})]}),_jsx(ResponseField,{name:`overallValid`,type:`boolean | null`,id:`param-overall-valid-1`,children:_jsx(_components.p,{children:`Whether the document passed all validation rules`})})]})]})]})]})]})]}),`\n`,_jsxs(ResponseField,{name:`actor`,type:`object | null`,id:`param-actor`,children:[_jsxs(_components.p,{children:[`Workspace user who made this change. Returns `,_jsx(_components.code,{children:`null`}),` for actions not initiated\nby a workspace user.`]}),_jsxs(Expandable,{title:`actor`,children:[_jsx(ResponseField,{name:`type`,type:`enum`,id:`param-type`,children:_jsx(_components.p,{children:`Type of actor`})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`Unique identifier for the user`})}),_jsx(ResponseField,{name:`name`,type:`string | null`,id:`param-name`,children:_jsx(_components.p,{children:`Name of the user`})}),_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email-1`,children:_jsx(_components.p,{children:`Email address of the user`})})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"lead.updated","description":null,"href":"/api-reference/webhooks/events/lead-updated"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Triggered when a lead is updated.`}),`\n`,_jsx(Heading,{level:`2`,id:`event-type`,children:`Event Type`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`lead.updated`})}),`\n`,_jsx(Heading,{level:`2`,id:`description`,children:`Description`}),`\n`,_jsxs(_components.p,{children:[`This event is fired when lead fields or checklist items are updated. The payload is sparse — it only includes fields that changed, along with `,_jsx(_components.code,{children:`leadId`}),`, `,_jsx(_components.code,{children:`externalId`}),` and `,_jsx(_components.code,{children:`workflowRuns`}),`, which are always present.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`workflowRuns`}),` lists every workflow run that is currently open (active or paused) against the lead, oldest first. It is an empty array when the lead is not in any workflow run.`]}),`\n`,_jsx(Heading,{level:`2`,id:`payload-structure`,children:`Payload Structure`}),`\n`,_jsx(ResponseField,{name:`event`,type:`string`,required:true,id:`param-event`,children:_jsxs(_components.p,{children:[`The event type: `,_jsx(_components.code,{children:`lead.updated`})]})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,required:true,id:`param-data`,children:[_jsx(_components.p,{children:`The updated lead data (sparse — only changed fields included)`}),_jsxs(Expandable,{title:`data`,children:[_jsx(ResponseField,{name:`leadId`,type:`string`,required:true,id:`param-lead-id`,children:_jsx(_components.p,{children:`Unique identifier for the lead`})}),_jsx(ResponseField,{name:`externalId`,type:`string | null`,id:`param-external-id`,children:_jsx(_components.p,{children:`External identifier for the lead (if set)`})}),_jsxs(ResponseField,{name:`workflowRuns`,type:`array`,required:true,id:`param-workflow-runs`,children:[_jsx(_components.p,{children:`Workflow runs currently open against this lead, oldest first`}),_jsxs(Expandable,{title:`workflowRuns`,children:[_jsx(ResponseField,{name:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`ID of the workflow run`})}),_jsx(ResponseField,{name:`externalId`,type:`string | null`,id:`param-external-id-1`,children:_jsx(_components.p,{children:`Your own identifier for the run, if you set one when creating it`})}),_jsx(ResponseField,{name:`workflowId`,type:`string`,required:true,id:`param-workflow-id`,children:_jsx(_components.p,{children:`ID of the workflow the run belongs to`})}),_jsx(ResponseField,{name:`status`,type:`string`,required:true,id:`param-status`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ACTIVE`}),` or `,_jsx(_components.code,{children:`PAUSED`})]})})]})]}),_jsx(ResponseField,{name:`firstName`,type:`string`,id:`param-first-name`,children:_jsx(_components.p,{children:`Lead’s first name (only included if changed)`})}),_jsx(ResponseField,{name:`middleName`,type:`string`,id:`param-middle-name`,children:_jsx(_components.p,{children:`Lead’s middle name (only included if changed)`})}),_jsx(ResponseField,{name:`lastName`,type:`string`,id:`param-last-name`,children:_jsx(_components.p,{children:`Lead’s last name (only included if changed)`})}),_jsx(ResponseField,{name:`phoneNumber`,type:`string`,id:`param-phone-number`,children:_jsx(_components.p,{children:`Lead’s phone number (only included if changed)`})}),_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email`,children:_jsx(_components.p,{children:`Lead’s email address (only included if changed)`})}),_jsx(ResponseField,{name:`businessName`,type:`string`,id:`param-business-name`,children:_jsx(_components.p,{children:`Lead’s business name (only included if changed)`})}),_jsx(ResponseField,{name:`website`,type:`string`,id:`param-website`,children:_jsx(_components.p,{children:`Lead’s website URL (only included if changed)`})}),_jsx(ResponseField,{name:`tags`,type:`string[]`,id:`param-tags`,children:_jsx(_components.p,{children:`List of tags attached to the lead`})}),_jsxs(ResponseField,{name:`checklistItems`,type:`array`,id:`param-checklist-items`,children:[_jsx(_components.p,{children:`Array of updated checklist items (only included if checklist items changed)`}),_jsxs(Expandable,{title:`checklistItems`,children:[_jsx(ResponseField,{name:`checklistItemId`,type:`string`,id:`param-checklist-item-id`,children:_jsx(_components.p,{children:`ID of the checklist item definition`})}),_jsx(ResponseField,{name:`checklistGroupCode`,type:`string`,id:`param-checklist-group-code`,children:_jsx(_components.p,{children:`Code identifier for the checklist item’s group`})}),_jsx(ResponseField,{name:`checklistItemCode`,type:`string`,id:`param-checklist-item-code`,children:_jsx(_components.p,{children:`Code identifier for the checklist item`})}),_jsx(ResponseField,{name:`value`,type:`string | number | object | null`,id:`param-value`,children:_jsxs(_components.p,{children:[`Current value of the checklist item. Type depends on the field type: `,_jsx(_components.code,{children:`string`}),` for text fields, `,_jsx(_components.code,{children:`number`}),` for numeric fields, or an address object with the following structure: `,_jsx(_components.code,{children:`{ \"street\": \"...\", \"city\": \"...\", \"state\": \"...\", \"postalCode\": \"...\", \"country\": \"...\" }`}),`.`]})}),_jsxs(ResponseField,{name:`alternateValues`,type:`array | null`,id:`param-alternate-values`,children:[_jsx(_components.p,{children:`Alternative extracted values`}),_jsxs(Expandable,{title:`alternateValues`,children:[_jsx(ResponseField,{name:`value`,type:`string`,id:`param-value-1`,children:_jsx(_components.p,{children:`The alternate extracted value`})}),_jsx(ResponseField,{name:`parentActionId`,type:`string | null`,id:`param-parent-action-id`,children:_jsx(_components.p,{children:`ID of the action that produced this value`})})]})]}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status-1`,children:_jsxs(_components.p,{children:[`Status of the checklist item: `,_jsx(_components.code,{children:`TODO`}),`, `,_jsx(_components.code,{children:`COMPLETED`}),`, `,_jsx(_components.code,{children:`INVALID`}),`, `,_jsx(_components.code,{children:`SKIPPED`}),`, `,_jsx(_components.code,{children:`NEEDS_REVIEW`})]})}),_jsx(ResponseField,{name:`updatedAt`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`ISO 8601 timestamp of the last update`})}),_jsxs(ResponseField,{name:`documents`,type:`array`,id:`param-documents`,children:[_jsx(_components.p,{children:`Array of documents associated with the checklist item (only for file-type fields)`}),_jsxs(Expandable,{title:`documents`,children:[_jsx(ResponseField,{name:`documentId`,type:`string`,id:`param-document-id`,children:_jsx(_components.p,{children:`Unique identifier for the document`})}),_jsx(ResponseField,{name:`externalId`,type:`string | null`,id:`param-external-id-2`,children:_jsx(_components.p,{children:`External identifier for the document`})}),_jsx(ResponseField,{name:`filename`,type:`string`,id:`param-filename`,children:_jsx(_components.p,{children:`Original filename`})}),_jsx(ResponseField,{name:`mimeType`,type:`string`,id:`param-mime-type`,children:_jsx(_components.p,{children:`MIME type of the document`})}),_jsx(ResponseField,{name:`size`,type:`number`,id:`param-size`,children:_jsx(_components.p,{children:`File size in bytes`})}),_jsx(ResponseField,{name:`s3Bucket`,type:`string`,id:`param-s3-bucket`,children:_jsx(_components.p,{children:`S3 bucket name (only included if external S3 integration is configured)`})}),_jsx(ResponseField,{name:`s3Key`,type:`string`,id:`param-s3-key`,children:_jsx(_components.p,{children:`S3 object key (only included if external S3 integration is configured)`})}),_jsxs(ResponseField,{name:`validationResult`,type:`object | null`,id:`param-validation-result`,children:[_jsx(_components.p,{children:`Document validation results (if validation rules are configured)`}),_jsxs(Expandable,{title:`validationResult`,children:[_jsx(ResponseField,{name:`documentId`,type:`string`,id:`param-document-id-1`,children:_jsx(_components.p,{children:`ID of the validated document`})}),_jsx(ResponseField,{name:`overallValid`,type:`boolean`,id:`param-overall-valid`,children:_jsx(_components.p,{children:`Whether the document passed all validation rules`})}),_jsx(ResponseField,{name:`otherNotes`,type:`string | null`,id:`param-other-notes`,children:_jsx(_components.p,{children:`Additional notes from validation`})}),_jsxs(ResponseField,{name:`validationResults`,type:`array`,id:`param-validation-results`,children:[_jsx(_components.p,{children:`Individual rule results`}),_jsxs(Expandable,{title:`validationResults`,children:[_jsx(ResponseField,{name:`isValid`,type:`boolean`,id:`param-is-valid`,children:_jsx(_components.p,{children:`Whether this rule passed`})}),_jsx(ResponseField,{name:`ruleName`,type:`string`,id:`param-rule-name`,children:_jsx(_components.p,{children:`Name of the validation rule`})}),_jsx(ResponseField,{name:`ruleIndex`,type:`number`,id:`param-rule-index`,children:_jsx(_components.p,{children:`Index of the rule`})}),_jsx(ResponseField,{name:`isValidReason`,type:`string`,id:`param-is-valid-reason`,children:_jsx(_components.p,{children:`Explanation of why the rule passed or failed`})})]})]}),_jsx(ResponseField,{name:`leadChecklistItemId`,type:`string`,id:`param-lead-checklist-item-id`,children:_jsx(_components.p,{children:`ID of the associated checklist item`})})]})]}),_jsx(ResponseField,{name:`overallValid`,type:`boolean | null`,id:`param-overall-valid-1`,children:_jsx(_components.p,{children:`Whether the document passed all validation rules`})})]})]})]})]})]})]}),`\n`,_jsxs(ResponseField,{name:`actor`,type:`object | null`,id:`param-actor`,children:[_jsxs(_components.p,{children:[`Workspace user who made this change. Returns `,_jsx(_components.code,{children:`null`}),` for actions not initiated\nby a workspace user.`]}),_jsxs(Expandable,{title:`actor`,children:[_jsx(ResponseField,{name:`type`,type:`enum`,id:`param-type`,children:_jsx(_components.p,{children:`Type of actor`})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`Unique identifier for the user`})}),_jsx(ResponseField,{name:`name`,type:`string | null`,id:`param-name`,children:_jsx(_components.p,{children:`Name of the user`})}),_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email-1`,children:_jsx(_components.p,{children:`Email address of the user`})})]})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`63`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`63`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lead.updated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"actor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8a1f6c2e-4b7d-4e2a-9c3f-1d5e6f7a8b9c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Jane Doe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jane@acme.com\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"leadId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"50713355-df73-4077-9d84-dcda6da5729c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"externalId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ext-lead-001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workflowRuns\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5d8c1f3a-7b2e-4c9d-8e1f-2a3b4c5d6e7f\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"externalId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"crm-run-8813\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workflowId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0f1e2d3c-4b5a-4968-8776-655443322110\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ACTIVE\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"newemail@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tags\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"VIP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"priority-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"checklistItems\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"checklistItemId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"checklistItemCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bank_statement\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bank-statement-june.pdf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"alternateValues\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NEEDS_REVIEW\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-10-31T19:00:01.675Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"documents\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"documentId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8349efe7-3c68-49c3-9411-f9affda0d03a\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"externalId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filename\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bank-statement-june.pdf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mimeType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/pdf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`153143`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"validationResult\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"documentId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8349efe7-3c68-49c3-9411-f9affda0d03a\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"overallValid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"otherNotes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Document shows account holder name as 'JOHN DOE'.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"validationResults\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"isValid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ruleName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"First name should match\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ruleIndex\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"isValidReason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Lead first name 'John' matches document name 'JOHN'.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"isValid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ruleName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Statement must be dated within the last 3 months\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ruleIndex\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"isValidReason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"June 2025 is outside the required period. Valid months are October 2025, September 2025, August 2025.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"leadChecklistItemId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"f830cc29-16ad-4c64-9fa8-f90f318f8dce\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"overallValid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"lead.updated","description":null,"href":"/api-reference/webhooks/events/lead-updated"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Event Type","slug":"event-type","depth":2,"children":[]},{"title":"Description","slug":"description","depth":2,"children":[]},{"title":"Payload Structure","slug":"payload-structure","depth":2,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"63\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"event\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"lead.updated\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"actor\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USER\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"8a1f6c2e-4b7d-4e2a-9c3f-1d5e6f7a8b9c\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Jane Doe\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"jane@acme.com\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"leadId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"50713355-df73-4077-9d84-dcda6da5729c\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"externalId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ext-lead-001\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"workflowRuns\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"5d8c1f3a-7b2e-4c9d-8e1f-2a3b4c5d6e7f\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"externalId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"crm-run-8813\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"workflowId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0f1e2d3c-4b5a-4968-8776-655443322110\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ACTIVE\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"newemail@example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tags\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"VIP\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"priority-1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"checklistItems\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"checklistItemId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"checklistItemCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"bank_statement\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"value\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"bank-statement-june.pdf\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"alternateValues\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"NEEDS_REVIEW\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updatedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-10-31T19:00:01.675Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"documents\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"documentId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"8349efe7-3c68-49c3-9411-f9affda0d03a\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"externalId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"filename\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"bank-statement-june.pdf\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mimeType\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"application/pdf\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"size\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">153143\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"validationResult\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"documentId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"8349efe7-3c68-49c3-9411-f9affda0d03a\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"overallValid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"otherNotes\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Document shows account holder name as 'JOHN DOE'.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"validationResults\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"isValid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ruleName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"First name should match\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ruleIndex\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"isValidReason\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Lead first name 'John' matches document name 'JOHN'.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"isValid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ruleName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Statement must be dated within the last 3 months\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ruleIndex\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"isValidReason\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"June 2025 is outside the required period. Valid months are October 2025, September 2025, August 2025.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"leadChecklistItemId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"f830cc29-16ad-4c64-9fa8-f90f318f8dce\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"overallValid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"subdomain":"omniai","siteName":"Monumint Docs","title":"lead.updated - Monumint Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T06:27:26.658Z","originalFileLocation":"api-reference/webhooks/events/lead-updated.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=\"light\"}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=\"application-name\" content=\"Monumint Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/omniai/tkieWYrT3mrddkic/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/omniai/tkieWYrT3mrddkic/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/omniai/tkieWYrT3mrddkic/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/omniai/tkieWYrT3mrddkic/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/omniai/tkieWYrT3mrddkic/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/omniai/tkieWYrT3mrddkic/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/omniai/tkieWYrT3mrddkic/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/omniai/tkieWYrT3mrddkic/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/omniai/tkieWYrT3mrddkic/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"lead.updated - Monumint Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Monumint Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.getomni.ai/api-reference/webhooks/events/lead-updated\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://omniai.mintlify.app/_mintlify/api/og/v2?division=Events\u0026amp;title=lead.updated\u0026amp;theme=efd1ad20f330cf5e89ea1981\u0026amp;signature=b0e371d1d10cc03d940d0f00db20a7022f8553609607fc0aeff1cb24ab06a8e5\">\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=\"lead.updated - Monumint Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://omniai.mintlify.app/_mintlify/api/og/v2?division=Events\u0026amp;title=lead.updated\u0026amp;theme=efd1ad20f330cf5e89ea1981\u0026amp;signature=b0e371d1d10cc03d940d0f00db20a7022f8553609607fc0aeff1cb24ab06a8e5\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/omniai/tkieWYrT3mrddkic/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Monumint Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#346DDB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.getomni.ai/api-reference/webhooks/events/lead-updated\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/webhooks/events/lead-updated.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.getomni.ai/#organization\",\"name\":\"Monumint Docs\",\"url\":\"https://docs.getomni.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/omniai/k2KlEEnOiU8O66gg/logo/wordmark.svg?fit=max\u0026auto=format\u0026n=k2KlEEnOiU8O66gg\u0026q=85\u0026s=f71450da6fa102b1224507df6e83c462\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.getomni.ai#website\",\"name\":\"Monumint Docs\",\"url\":\"https://docs.getomni.ai\",\"publisher\":{\"@id\":\"https://docs.getomni.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.getomni.ai/api-reference/webhooks/events/lead-updated#webpage\",\"url\":\"https://docs.getomni.ai/api-reference/webhooks/events/lead-updated\",\"name\":\"lead.updated\",\"dateModified\":\"2026-11-02T06:27:26.658Z\",\"isPartOf\":{\"@id\":\"https://docs.getomni.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.getomni.ai/api-reference/webhooks/events/lead-updated#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.getomni.ai/api-reference/webhooks/events/lead-updated#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhooks\",\"item\":\"https://docs.getomni.ai/api-reference/webhooks/list-webhooks\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Events\",\"item\":\"https://docs.getomni.ai/api-reference/webhooks/events/action-log-completed\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"lead.updated\",\"item\":\"https://docs.getomni.ai/api-reference/webhooks/events/lead-updated\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.getomni.ai/api-reference/webhooks/events/lead-updated#article\",\"headline\":\"lead.updated\",\"name\":\"lead.updated\",\"url\":\"https://docs.getomni.ai/api-reference/webhooks/events/lead-updated\",\"mainEntityOfPage\":{\"@id\":\"https://docs.getomni.ai/api-reference/webhooks/events/lead-updated#webpage\"},\"dateModified\":\"2026-11-02T06:27:26.658Z\",\"publisher\":{\"@id\":\"https://docs.getomni.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.getomni.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Monumint Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Monumint Docs","nav":{"global":null,"tabs":[{"tab":"User Guides","pages":[{"title":"User Guides","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"API Introduction","href":"/api-reference/introduction"}]},{"group":"Leads","pages":[{"title":"List Leads","api":"GET https://api-v2.getomni.ai/api/v1/leads","href":"/api-reference/leads/list-leads"},{"title":"Get Lead","api":"GET https://api-v2.getomni.ai/api/v1/leads/:leadId","href":"/api-reference/leads/get-lead"},{"title":"Get Lead Checklist","api":"GET https://api-v2.getomni.ai/api/v1/leads/{leadId}/checklist","href":"/api-reference/leads/get-lead-checklist"},{"title":"Get Lead Documents","api":"GET https://api-v2.getomni.ai/api/v1/leads/{leadId}/documents","href":"/api-reference/leads/get-lead-documents"},{"title":"Get Lead Action Logs","api":"GET https://api-v2.getomni.ai/api/v1/leads/{leadId}/action-logs","href":"/api-reference/leads/get-lead-action-logs"},{"title":"Get Lead Portal URL","api":"GET https://api-v2.getomni.ai/api/v1/leads/{leadId}/portal-url","href":"/api-reference/leads/get-lead-portal-url"},{"title":"Create Activity","api":"POST https://api-v2.getomni.ai/api/v1/activity","href":"/api-reference/leads/create-activity"},{"title":"Trigger Follow-up","api":"POST https://api-v2.getomni.ai/api/v1/leads/{leadId}/follow-up","href":"/api-reference/leads/trigger-follow-up"},{"title":"Create Lead","api":"POST https://api-v2.getomni.ai/api/v1/leads","href":"/api-reference/leads/create-lead"},{"title":"Create Lead Checklist Item","api":"POST https://api-v2.getomni.ai/api/v1/leads/{leadId}/checklist-items","href":"/api-reference/leads/create-lead-checklist-item"},{"title":"Batch Create Lead Checklist Items","api":"POST https://api-v2.getomni.ai/api/v1/leads/{leadId}/checklist-items/batch","href":"/api-reference/leads/create-lead-checklist-items-batch"},{"title":"Update Lead","api":"PUT https://api-v2.getomni.ai/api/v1/leads","href":"/api-reference/leads/update-lead"},{"title":"Delete Lead","api":"DELETE https://api-v2.getomni.ai/api/v1/leads/{leadId}","href":"/api-reference/leads/delete-lead"}]},{"group":"Workflow Runs","pages":[{"title":"List Workflow Runs","api":"GET https://api-v2.getomni.ai/api/v1/workflow-runs","href":"/api-reference/workflow-runs/list-workflow-runs"},{"title":"Get Workflow Run","api":"GET https://api-v2.getomni.ai/api/v1/workflow-runs/:workflowRunId","href":"/api-reference/workflow-runs/get-workflow-run"},{"title":"Create Workflow Run","api":"POST https://api-v2.getomni.ai/api/v1/workflow-runs","href":"/api-reference/workflow-runs/create-workflow-run"},{"title":"Pause Workflow Run","api":"POST https://api-v2.getomni.ai/api/v1/workflow-runs/:workflowRunId/pause","href":"/api-reference/workflow-runs/pause-workflow-run"},{"title":"Resume Workflow Run","api":"POST https://api-v2.getomni.ai/api/v1/workflow-runs/:workflowRunId/resume","href":"/api-reference/workflow-runs/resume-workflow-run"},{"title":"Cancel Workflow Run","api":"POST https://api-v2.getomni.ai/api/v1/workflow-runs/:workflowRunId/cancel","href":"/api-reference/workflow-runs/cancel-workflow-run"},{"title":"Complete Workflow Run","api":"POST https://api-v2.getomni.ai/api/v1/workflow-runs/:workflowRunId/complete","href":"/api-reference/workflow-runs/complete-workflow-run"}]},{"group":"Agents","pages":[{"title":"List Agents","api":"GET https://api-v2.getomni.ai/api/v1/agents","href":"/api-reference/agents/list-agents"}]},{"group":"Workflows","pages":[{"title":"List Workflows","api":"GET https://api-v2.getomni.ai/api/v1/workflows","href":"/api-reference/workflows/list-workflows"}]},{"group":"Documents","pages":[{"title":"Get Document","api":"GET https://api-v2.getomni.ai/api/v1/documents/{documentId}","href":"/api-reference/documents/get-document"},{"title":"Upload Documents","api":"POST https://api-v2.getomni.ai/api/v1/documents","href":"/api-reference/documents/upload-document"}]},{"group":"Analytics","pages":[{"title":"Get Analytics","api":"GET https://api-v2.getomni.ai/api/v0/analytics","href":"/api-reference/analytics/get-analytics"}]},{"group":"Webhooks","pages":[{"title":"List Webhooks","api":"GET https://api-v2.getomni.ai/api/v1/webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Create Webhook","api":"POST https://api-v2.getomni.ai/api/v1/webhooks","href":"/api-reference/webhooks/create-webhook"},{"title":"Webhook Events","href":"/api-reference/webhooks/webhook-events"},{"group":"Events","pages":[{"title":"action_log.completed","href":"/api-reference/webhooks/events/action-log-completed"},{"title":"action_log.failed","href":"/api-reference/webhooks/events/action-log-failed"},{"title":"document.received","href":"/api-reference/webhooks/events/document-received"},{"title":"document.extracted","href":"/api-reference/webhooks/events/document-extracted"},{"title":"lead.created","description":null,"href":"/api-reference/webhooks/events/lead-created"},{"title":"lead.updated","href":"/api-reference/webhooks/events/lead-updated"},{"title":"lead.completed","description":null,"href":"/api-reference/webhooks/events/lead-completed"},{"title":"workflow_run.started","href":"/api-reference/webhooks/events/workflow-run-started"},{"title":"workflow_run.paused","href":"/api-reference/webhooks/events/workflow-run-paused"},{"title":"workflow_run.resumed","href":"/api-reference/webhooks/events/workflow-run-resumed"},{"title":"workflow_run.completed","href":"/api-reference/webhooks/events/workflow-run-completed"},{"title":"workflow_run.cancelled","href":"/api-reference/webhooks/events/workflow-run-cancelled"}]}]}]}]},"basePath":"","title":"lead.updated - Monumint Docs","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["2b790eda92"],"chunks":["ApiExamples-C0lapOpP.js","utils-ME8dDnLe.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","cloneDeep-izs3Hzxb.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js"]}