{ "data": { "suggestions": [ { "type": "email", "title": "Share fee proposal", "reason": "Jane asked for pricing on the last call and hasn't received the proposal yet.", "suggested_when": "Today", "draft_body": "Hi Jane, following up on our call on Tuesday - please find our flat-fee proposal attached...", "confidence": 0.9 }, { "type": "meeting", "title": "Schedule legal review session", "reason": "Next step in the sales cycle per prior conversation notes.", "suggested_when": "Next week", "draft_body": null, "confidence": 0.78 } ], "activity_summary": "3 emails and 1 meeting with Jane in the last 14 days; last touch was a discovery call on 2026-04-15.", "credits_remaining": 4861 }}
Errors
Status
Code
Description
400
validation_error
Missing or malformed contact_id
401
invalid_key
Invalid or expired API key
402
insufficient_credits
Workspace credit balance is exhausted
403
insufficient_permissions
Missing write:ai permission
404
not_found
Contact not found in this workspace
429
rate_limited
Rate limit exceeded
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"LeadLex","colors":{"primary":"#0f5845","light":"#1f8a6c","dark":"#0b3d32"},"logo":{"light":"https://mintcdn.com/leadlexbyleadipgmbh/Diuo0IQNaucqBC7c/logo/light.svg?fit=max\u0026auto=format\u0026n=Diuo0IQNaucqBC7c\u0026q=85\u0026s=7ee7b9f7c8a22962bcc646908bbfd3df","dark":"https://mintcdn.com/leadlexbyleadipgmbh/Diuo0IQNaucqBC7c/logo/dark.svg?fit=max\u0026auto=format\u0026n=Diuo0IQNaucqBC7c\u0026q=85\u0026s=95032c5141bc90a424bd9d4e3a16be7f","href":"https://www.leadlex.com"},"favicon":"https://mintcdn.com/leadlexbyleadipgmbh/Diuo0IQNaucqBC7c/favicon.svg?fit=max\u0026auto=format\u0026n=Diuo0IQNaucqBC7c\u0026q=85\u0026s=9f549144d2f448df8c038bf34ac99239","api":{"openapi":"api-reference/openapi.yaml","mdx":{"auth":{"method":"bearer"},"server":"https://data.leadlex.com/functions/v1/api-gateway"}},"navbar":{"links":[{"href":"https://www.leadlex.com/help","label":"Help center"},{"href":"https://www.leadlex.com","label":"Website"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.leadlex.com"}},"footer":{"socials":{"x":"https://x.com/leadlex","github":"https://github.com/Lead-IP","linkedin":"https://linkedin.com/company/leadlex"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://www.leadlex.com"},{"anchor":"Help center","icon":"circle-question","href":"https://www.leadlex.com/help"},{"anchor":"Support","icon":"envelope","href":"mailto:support@leadlex.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"leadlexbyleadipgmbh","hasAudioNarration":false,"actualSubdomain":"leadlexbyleadipgmbh","customDomains":["docs.leadlex.com"],"gitSource":{"type":"github","owner":"lead-ip","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6adf1280432a36e63391d56f","clientVersion":"0.0.4352","searchFilterCounts":[{"language":"default","tag":"API Reference","count":137},{"language":"default","tag":"Campaigns","count":17},{"language":"default","tag":"Companies","count":11},{"language":"default","tag":"Lexi AI","count":11},{"language":"default","tag":"Contacts","count":10},{"language":"default","tag":"MCP","count":10},{"language":"default","tag":"Deals","count":9},{"language":"default","tag":"Guides","count":8},{"language":"default","tag":"AI Analysis","count":7},{"language":"default","tag":"Documents","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/ai/suggest-followups","slug":"/api-reference/ai/suggest-followups","pageMetadata":{"title":"Suggest Follow-ups","api":"POST /v1/ai/suggest-followups","description":"Generate personalized follow-up action suggestions for a contact based on recent activity","href":"/api-reference/ai/suggest-followups"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Generate personalized follow-up action suggestions for a contact based on recent activity\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,ParamField,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[`This endpoint consumes 2 AI credits per call. If the workspace balance is insufficient, the API returns `,_jsx(_components.code,{children:`402 insufficient_credits`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Bearer wbk_your_api_key_here`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Content-Type: application/json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(ParamField,{header:`Idempotency-Key`,type:`string`,id:`param-idempotency-key`,children:_jsx(_components.p,{children:`Optional UUID for retry deduplication.`})}),`\n`,_jsx(Heading,{level:`3`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsx(ParamField,{body:`contact_id`,type:`string`,required:true,id:`param-contact-id`,children:_jsx(_components.p,{children:`UUID of the contact to generate suggestions for.`})}),`\n`,_jsx(ParamField,{body:`count`,type:`integer`,default:`3`,id:`param-count`,children:_jsx(_components.p,{children:`Number of suggestions to generate (1 - 10).`})}),`\n`,_jsx(ParamField,{body:`lookback_days`,type:`integer`,default:`60`,id:`param-lookback-days`,children:_jsx(_components.p,{children:`Window of recent activity to consider.`})}),`\n`,_jsx(ParamField,{body:`channels`,type:`array`,id:`param-channels`,children:_jsxs(_components.p,{children:[`Optional whitelist of acceptable channels for suggestions: `,_jsx(_components.code,{children:`email`}),`, `,_jsx(_components.code,{children:`call`}),`, `,_jsx(_components.code,{children:`meeting`}),`, `,_jsx(_components.code,{children:`linkedin`}),`, `,_jsx(_components.code,{children:`whatsapp`}),`. Defaults to all.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`suggestions`,type:`array`,id:`param-suggestions`,children:_jsxs(Expandable,{title:`Suggestion`,children:[_jsxs(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:[_jsx(_components.code,{children:`email`}),`, `,_jsx(_components.code,{children:`call`}),`, `,_jsx(_components.code,{children:`meeting`}),`, `,_jsx(_components.code,{children:`linkedin`}),`, or `,_jsx(_components.code,{children:`whatsapp`})]}),_jsx(ResponseField,{name:`title`,type:`string`,id:`param-title`,children:`Short title describing the action`}),_jsx(ResponseField,{name:`reason`,type:`string`,id:`param-reason`,children:`Why this follow-up was suggested`}),_jsx(ResponseField,{name:`suggested_when`,type:`string`,id:`param-suggested-when`,children:`Natural-language timing hint (e.g. “Tomorrow morning”)`}),_jsx(ResponseField,{name:`draft_body`,type:`string`,id:`param-draft-body`,children:`For email / message types, a draft ready to send`}),_jsx(ResponseField,{name:`confidence`,type:`number`,id:`param-confidence`,children:`0.0 - 1.0`})]})}),_jsx(ResponseField,{name:`activity_summary`,type:`string`,id:`param-activity-summary`,children:`Short summary of recent activity that informed the suggestions`}),_jsx(ResponseField,{name:`credits_remaining`,type:`integer`,id:`param-credits-remaining`,children:`Balance after this call`})]})}),`\n`,_jsxs(_components.p,{children:[`Responses include `,_jsx(_components.code,{children:`X-RateLimit-Limit`}),`, `,_jsx(_components.code,{children:`X-RateLimit-Remaining`}),`, `,_jsx(_components.code,{children:`X-RateLimit-Reset`}),`, and `,_jsx(_components.code,{children:`X-Request-ID`}),`.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://data.leadlex.com/functions/v1/api-gateway/v1/ai/suggest-followups`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer wbk_your_api_key_here\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"contact_id\": \"123e4567-e89b-12d3-a456-426614174000\", \"count\": 3}'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`15`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"wbk_your_api_key_here\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`BASE_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://data.leadlex.com/functions/v1/api-gateway\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`r `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`BASE_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/v1/ai/suggest-followups\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_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:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"contact_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"123e4567-e89b-12d3-a456-426614174000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_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:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` s `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` r.json()[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`][`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"suggestions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(s[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"-\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, s[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`13`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://data.leadlex.com/functions/v1/api-gateway/v1/ai/suggest-followups'`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer wbk_your_api_key_here'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`contact_id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '123e4567-e89b-12d3-a456-426614174000'`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`suggestions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`example-response`,children:`Example Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`24`,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:`24`,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:` \"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:` \"suggestions\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"email\"`}),_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:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Share fee proposal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Jane asked for pricing on the last call and hasn't received the proposal yet.\"`}),_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:` \"suggested_when\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Today\"`}),_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:` \"draft_body\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hi Jane, following up on our call on Tuesday - please find our flat-fee proposal attached...\"`}),_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:` \"confidence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.9`})]}),`\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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"meeting\"`}),_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:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Schedule legal review session\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Next step in the sales cycle per prior conversation notes.\"`}),_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:` \"suggested_when\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Next week\"`}),_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:` \"draft_body\"`}),_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:` \"confidence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.78`})]}),`\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:` \"activity_summary\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3 emails and 1 meeting with Jane in the last 14 days; last touch was a discovery call on 2026-04-15.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credits_remaining\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4861`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`validation_error`})}),_jsxs(_components.td,{children:[`Missing or malformed `,_jsx(_components.code,{children:`contact_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_key`})}),_jsx(_components.td,{children:`Invalid or expired API key`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`402`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_credits`})}),_jsx(_components.td,{children:`Workspace credit balance is exhausted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_permissions`})}),_jsxs(_components.td,{children:[`Missing `,_jsx(_components.code,{children:`write:ai`}),` permission`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`not_found`})}),_jsx(_components.td,{children:`Contact not found in this workspace`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`429`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`rate_limited`})}),_jsx(_components.td,{children:`Rate limit exceeded`})]})]})]})]})}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":"Suggest Follow-ups","api":"POST /v1/ai/suggest-followups","description":"Generate personalized follow-up action suggestions for a contact based on recent activity","href":"/api-reference/ai/suggest-followups"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Body Parameters","slug":"body-parameters","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"Example Response","slug":"example-response","depth":3,"children":[]}]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Suggest Follow-ups","path":"/v1/ai/suggest-followups","servers":[{"url":"https://data.leadlex.com/functions/v1/api-gateway"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{"Idempotency-Key":{"schema":[{"type":"string","description":"Optional UUID for retry deduplication."}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"contact_id":[{"type":"string","description":"UUID of the contact to generate suggestions for.","required":true}],"count":[{"type":"integer","description":"Number of suggestions to generate (1 - 10)."}],"lookback_days":[{"type":"integer","description":"Window of recent activity to consider."}],"channels":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Optional whitelist of acceptable channels for suggestions: `email` , `call` , `meeting` , `linkedin` , `whatsapp` . Defaults to all."}]}}],"examples":{"example":{"value":{"contact_id":"\u003cstring>","count":123,"lookback_days":123,"channels":[{}]}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"data":[{"type":"object","properties":{"suggestions":[{"type":"array","items":[{"type":"object","properties":{"type":[{"type":"string","description":"`email` , `call` , `meeting` , `linkedin` , or `whatsapp`"}],"title":[{"type":"string","description":"Short title describing the action"}],"reason":[{"type":"string","description":"Why this follow-up was suggested"}],"suggested_when":[{"type":"string","description":"Natural-language timing hint (e.g. “Tomorrow morning”)"}],"draft_body":[{"type":"string","description":"For email / message types, a draft ready to send"}],"confidence":[{"type":"number","description":"0.0 - 1.0"}]}}]}],"activity_summary":[{"type":"string","description":"Short summary of recent activity that informed the suggestions"}],"credits_remaining":[{"type":"integer","description":"Balance after this call"}]}}]}}],"examples":{"example":{"value":{"data":{"suggestions":[{"type":"\u003cstring>","title":"\u003cstring>","reason":"\u003cstring>","suggested_when":"\u003cstring>","draft_body":"\u003cstring>","confidence":123}],"activity_summary":"\u003cstring>","credits_remaining":123}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"leadlexbyleadipgmbh","siteName":"LeadLex","title":"Suggest Follow-ups - LeadLex","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-21T13:25:35.647Z","originalFileLocation":"api-reference/ai/suggest-followups.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=\"Generate personalized follow-up action suggestions for a contact based on recent activity\">\u003cmeta data-mint-head name=\"application-name\" content=\"LeadLex\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/leadlexbyleadipgmbh/YLxrhDPFsT_Y2DNi/_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/leadlexbyleadipgmbh/YLxrhDPFsT_Y2DNi/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/leadlexbyleadipgmbh/YLxrhDPFsT_Y2DNi/_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/leadlexbyleadipgmbh/YLxrhDPFsT_Y2DNi/_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/leadlexbyleadipgmbh/YLxrhDPFsT_Y2DNi/_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/leadlexbyleadipgmbh/YLxrhDPFsT_Y2DNi/_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/leadlexbyleadipgmbh/YLxrhDPFsT_Y2DNi/_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/leadlexbyleadipgmbh/YLxrhDPFsT_Y2DNi/_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/leadlexbyleadipgmbh/YLxrhDPFsT_Y2DNi/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Suggest Follow-ups - LeadLex\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate personalized follow-up action suggestions for a contact based on recent activity\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LeadLex\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.leadlex.com/api-reference/ai/suggest-followups\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://leadlexbyleadipgmbh.mintlify.site/_mintlify/api/og/v2?division=AI+Analysis\u0026amp;title=Suggest+Follow-ups\u0026amp;description=Generate+personalized+follow-up+action+suggestions+for+a+contact+based+on+recent+activity\u0026amp;theme=6024c15dc14da06fc59a43cf\u0026amp;signature=b895ab61083009fb2ed8636612d028211128b737017c1a7c046a042dce584925\">\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=\"Suggest Follow-ups - LeadLex\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate personalized follow-up action suggestions for a contact based on recent activity\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://leadlexbyleadipgmbh.mintlify.site/_mintlify/api/og/v2?division=AI+Analysis\u0026amp;title=Suggest+Follow-ups\u0026amp;description=Generate+personalized+follow-up+action+suggestions+for+a+contact+based+on+recent+activity\u0026amp;theme=6024c15dc14da06fc59a43cf\u0026amp;signature=b895ab61083009fb2ed8636612d028211128b737017c1a7c046a042dce584925\">\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/leadlexbyleadipgmbh/YLxrhDPFsT_Y2DNi/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LeadLex\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0f5845\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.leadlex.com/api-reference/ai/suggest-followups\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/ai/suggest-followups.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.leadlex.com/#organization\",\"name\":\"LeadLex\",\"url\":\"https://docs.leadlex.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/leadlexbyleadipgmbh/Diuo0IQNaucqBC7c/logo/light.svg?fit=max\u0026auto=format\u0026n=Diuo0IQNaucqBC7c\u0026q=85\u0026s=7ee7b9f7c8a22962bcc646908bbfd3df\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.leadlex.com#website\",\"name\":\"LeadLex\",\"url\":\"https://docs.leadlex.com\",\"publisher\":{\"@id\":\"https://docs.leadlex.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.leadlex.com/api-reference/ai/suggest-followups#webpage\",\"url\":\"https://docs.leadlex.com/api-reference/ai/suggest-followups\",\"name\":\"Suggest Follow-ups\",\"description\":\"Generate personalized follow-up action suggestions for a contact based on recent activity\",\"dateModified\":\"2026-04-21T13:25:35.647Z\",\"isPartOf\":{\"@id\":\"https://docs.leadlex.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.leadlex.com/api-reference/ai/suggest-followups#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.leadlex.com/api-reference/ai/suggest-followups#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI Analysis\",\"item\":\"https://docs.leadlex.com/api-reference/ai/analyze-notes\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Suggest Follow-ups\",\"item\":\"https://docs.leadlex.com/api-reference/ai/suggest-followups\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.leadlex.com/api-reference/ai/suggest-followups#apireference\",\"headline\":\"Suggest Follow-ups\",\"name\":\"Suggest Follow-ups\",\"description\":\"Generate personalized follow-up action suggestions for a contact based on recent activity\",\"url\":\"https://docs.leadlex.com/api-reference/ai/suggest-followups\",\"mainEntityOfPage\":{\"@id\":\"https://docs.leadlex.com/api-reference/ai/suggest-followups#webpage\"},\"dateModified\":\"2026-04-21T13:25:35.647Z\",\"publisher\":{\"@id\":\"https://docs.leadlex.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.leadlex.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LeadLex\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"LeadLex\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/ai/suggest-followups.md","siteName":"LeadLex","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://www.leadlex.com"},{"anchor":"Help center","icon":"circle-question","href":"https://www.leadlex.com/help"},{"anchor":"Support","icon":"envelope","href":"mailto:support@leadlex.com"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp-server/overview"}]},{"tab":"API Reference","groups":[{"group":"Contacts","pages":[{"title":"List Contacts","api":"GET /v1/contacts","href":"/api-reference/contacts/list"},{"title":"Create Contact","api":"POST /v1/contacts","href":"/api-reference/contacts/create"},{"title":"Get Contact","api":"GET /v1/contacts/:id","href":"/api-reference/contacts/get"},{"title":"Update Contact","api":"PATCH /v1/contacts/:id","href":"/api-reference/contacts/update"},{"title":"Delete Contact","api":"DELETE /v1/contacts/:id","href":"/api-reference/contacts/delete"},{"title":"Bulk Create Contacts","api":"POST /v1/contacts/bulk","href":"/api-reference/contacts/bulk-create"},{"title":"List Contact Activities","api":"GET /v1/contacts/:id/activities","href":"/api-reference/contacts/activities"},{"title":"Add Tags to Contact","api":"POST /v1/contacts/:id/tags","href":"/api-reference/contacts/add-tags"},{"title":"Create Contact Note","api":"POST /v1/contacts/:id/notes","href":"/api-reference/contacts/create-note"},{"title":"List Contact Notes","api":"GET /v1/contacts/:id/notes","href":"/api-reference/contacts/list-notes"}]},{"group":"Companies","pages":[{"title":"List Companies","api":"GET /v1/companies","href":"/api-reference/companies/list"},{"title":"Create Company","api":"POST /v1/companies","href":"/api-reference/companies/create"},{"title":"Get Company","api":"GET /v1/companies/:id","href":"/api-reference/companies/get"},{"title":"Update Company","api":"PATCH /v1/companies/:id","href":"/api-reference/companies/update"},{"title":"Delete Company","api":"DELETE /v1/companies/{id}","href":"/api-reference/companies/delete"},{"title":"List Company Contacts","api":"GET /v1/companies/:id/contacts","href":"/api-reference/companies/contacts"},{"title":"List Company Deals","api":"GET /v1/companies/:id/deals","href":"/api-reference/companies/deals"},{"title":"Link Contacts to Company","api":"POST /v1/companies/:id/contacts/link","href":"/api-reference/companies/link-contacts"},{"title":"Create Company Note","api":"POST /v1/companies/:id/notes","href":"/api-reference/companies/create-note"},{"title":"List Company Notes","api":"GET /v1/companies/:id/notes","href":"/api-reference/companies/list-notes"},{"title":"List documents for company","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/companies/{id}/documents","href":"/api-reference/documents/list-documents-for-company"}]},{"group":"Deals","pages":[{"title":"List Deals","api":"GET /v1/deals","href":"/api-reference/deals/list"},{"title":"Create Deal","api":"POST /v1/deals","href":"/api-reference/deals/create"},{"title":"Get Deal","api":"GET /v1/deals/{id}","href":"/api-reference/deals/get"},{"title":"Update Deal","api":"PATCH /v1/deals/:id","href":"/api-reference/deals/update"},{"title":"Delete Deal","api":"DELETE /v1/deals/{id}","href":"/api-reference/deals/delete"},{"title":"Bulk Create Deals","api":"POST /v1/deals/bulk","href":"/api-reference/deals/bulk-create"},{"title":"Bulk Update Deals","api":"PATCH /v1/deals/bulk","href":"/api-reference/deals/bulk-update"},{"title":"Create Deal Note","api":"POST /v1/deals/:id/notes","href":"/api-reference/deals/create-note"},{"title":"List Deal Notes","api":"GET /v1/deals/:id/notes","href":"/api-reference/deals/list-notes"}]},{"group":"Pipelines","pages":[{"title":"List Pipelines","api":"GET /v1/pipelines","href":"/api-reference/pipelines/list"}]},{"group":"Tasks","pages":[{"title":"List Tasks","api":"GET /v1/tasks","href":"/api-reference/tasks/list"},{"title":"Create Task","api":"POST /v1/tasks","href":"/api-reference/tasks/create"},{"title":"Get Task","api":"GET /v1/tasks/{id}","href":"/api-reference/tasks/get"},{"title":"Update Task","api":"PATCH /v1/tasks/:id","href":"/api-reference/tasks/update"},{"title":"Delete Task","api":"DELETE /v1/tasks/:id","href":"/api-reference/tasks/delete"}]},{"group":"Notes","pages":[{"title":"List Notes","api":"GET /v1/notes","href":"/api-reference/notes/list"},{"title":"Create Note","api":"POST /v1/notes","href":"/api-reference/notes/create"},{"title":"Get Note","api":"GET /v1/notes/:id","href":"/api-reference/notes/get"},{"title":"Update Note","api":"PATCH /v1/notes/:id","href":"/api-reference/notes/update"},{"title":"Delete Note","api":"DELETE /v1/notes/:id","href":"/api-reference/notes/delete"}]},{"group":"Lists","pages":[{"title":"List All Lists","api":"GET /v1/lists","href":"/api-reference/lists/list"},{"title":"Create List","api":"POST /v1/lists","href":"/api-reference/lists/create"},{"title":"Delete List","api":"DELETE /v1/lists/{id}","href":"/api-reference/lists/delete"},{"title":"Add Contacts to List","api":"POST /v1/lists/:id/contacts","href":"/api-reference/lists/add-contacts"},{"title":"Remove Contact from List","api":"DELETE /v1/lists/{list_id}/contacts/{contact_id}","href":"/api-reference/lists/remove-contact"}]},{"group":"Tags","pages":[{"title":"List Tags","api":"GET /v1/tags","href":"/api-reference/tags/list"}]},{"group":"Prospector","pages":[{"title":"Search Prospects","api":"POST /v1/prospector/search","href":"/api-reference/prospector/search"}]},{"group":"Prospects","pages":[{"title":"Search Prospects (Legacy)","api":"POST /v1/prospects/search","href":"/api-reference/prospects/search"},{"title":"Save Prospects","api":"POST /v1/prospects/save","href":"/api-reference/prospects/save"}]},{"group":"Campaigns","pages":[{"title":"List Campaigns","api":"GET /v1/campaigns","href":"/api-reference/campaigns/list"},{"title":"Create Campaign","api":"POST /v1/campaigns","href":"/api-reference/campaigns/create"},{"title":"Get Campaign","api":"GET /v1/campaigns/{id}","href":"/api-reference/campaigns/get"},{"title":"Update Campaign","api":"PATCH /v1/campaigns/{id}","href":"/api-reference/campaigns/update"},{"title":"Delete Campaign","api":"DELETE /v1/campaigns/{id}","href":"/api-reference/campaigns/delete"},{"title":"Start Campaign","api":"POST /v1/campaigns/:id/start","href":"/api-reference/campaigns/start"},{"title":"Pause Campaign","api":"POST /v1/campaigns/{id}/pause","href":"/api-reference/campaigns/pause"},{"title":"List Campaign Contacts","api":"GET /v1/campaigns/{id}/contacts","href":"/api-reference/campaigns/contacts"},{"title":"Add Contacts to Campaign","api":"POST /v1/campaigns/{id}/contacts","href":"/api-reference/campaigns/add-contacts"},{"title":"Remove Contact from Campaign","api":"DELETE /v1/campaigns/{id}/contacts/{contact_id}","href":"/api-reference/campaigns/remove-contact"},{"title":"List Campaign Steps","api":"GET /v1/campaigns/{id}/steps","href":"/api-reference/campaigns/steps"},{"title":"Create Campaign Step","api":"POST /v1/campaigns/{id}/steps","href":"/api-reference/campaigns/create-step"},{"title":"Update Campaign Step","api":"PATCH /v1/campaigns/{id}/steps/{step_id}","href":"/api-reference/campaigns/update-step"},{"title":"Delete Campaign Step","api":"DELETE /v1/campaigns/{id}/steps/{step_id}","href":"/api-reference/campaigns/delete-step"},{"title":"Campaign Stats","api":"GET /v1/campaigns/{id}/stats","href":"/api-reference/campaigns/stats"},{"title":"Campaign Event Stream","api":"GET /v1/campaigns/{id}/events","href":"/api-reference/campaigns/events"},{"title":"Get campaign step","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/campaigns/{id}/steps/{stepId}","href":"/api-reference/campaigns/get-campaign-step"}]},{"group":"Users","pages":[{"title":"List Users","api":"GET /v1/users","href":"/api-reference/users/list"}]},{"group":"Activities","pages":[{"title":"List Contact Activities","api":"GET /v1/contacts/{id}/activities","href":"/api-reference/activities/list"},{"title":"Create Activity","api":"POST /v1/activities","href":"/api-reference/activities/create"},{"title":"Get Activity","api":"GET /v1/activities/{id}","href":"/api-reference/activities/get"}]},{"group":"Stats \u0026 Analytics","pages":[{"title":"Pipeline Stats","api":"GET /v1/stats/pipeline","href":"/api-reference/stats/pipeline"},{"title":"Activity Stats","api":"GET /v1/stats/activities","href":"/api-reference/stats/activities"},{"title":"Outreach Analytics","api":"GET /v1/analytics/outreach","href":"/api-reference/analytics/outreach"}]},{"group":"Lexi AI","pages":[{"title":"Chat with Lexi","api":"POST /v1/lexi/chat","href":"/api-reference/lexi/chat"},{"title":"Stream Chat with Lexi","api":"POST /v1/lexi/chat/stream","href":"/api-reference/lexi/chat-stream"},{"title":"List Lexi Tasks","api":"GET /v1/lexi/tasks","href":"/api-reference/lexi/tasks"},{"title":"Approve Lexi Task","api":"POST /v1/lexi/tasks/:id/approve","href":"/api-reference/lexi/approve"},{"title":"Dismiss Lexi Task","api":"POST /v1/lexi/tasks/:id/dismiss","href":"/api-reference/lexi/dismiss"},{"title":"Autoresearch","api":"POST /v1/lexi/autoresearch","href":"/api-reference/lexi/autoresearch"},{"title":"Personalize Email","api":"POST /v1/lexi/personalize-email","href":"/api-reference/lexi/personalize-email"},{"title":"List Lexi Conversations","api":"GET /v1/lexi/conversations","href":"/api-reference/lexi/conversations-list"},{"title":"Get Lexi Conversation","api":"GET /v1/lexi/conversations/{id}","href":"/api-reference/lexi/conversations-get"},{"title":"Update Lexi Conversation","api":"PATCH /v1/lexi/conversations/{id}","href":"/api-reference/lexi/conversations-update"},{"title":"Delete Lexi Conversation","api":"DELETE /v1/lexi/conversations/{id}","href":"/api-reference/lexi/conversations-delete"}]},{"group":"Webhooks","pages":[{"title":"List Webhooks","api":"GET /v1/webhooks","href":"/api-reference/webhooks/list"},{"title":"Create Webhook","api":"POST /v1/webhooks","href":"/api-reference/webhooks/create"},{"title":"Update Webhook","api":"PATCH /v1/webhooks/{id}","href":"/api-reference/webhooks/update"},{"title":"Delete Webhook","api":"DELETE /v1/webhooks/{id}","href":"/api-reference/webhooks/delete"},{"title":"List Delivery Logs","api":"GET /v1/webhooks/{id}/logs","href":"/api-reference/webhooks/logs"}]},{"group":"Audit Logs","pages":[{"title":"List Audit Logs","api":"GET /v1/audit-logs","href":"/api-reference/audit-logs/list"}]},{"group":"Email","pages":[{"title":"Send Email","api":"POST /v1/email/send","href":"/api-reference/email/send"},{"title":"List Email Threads","api":"GET /v1/email/threads","href":"/api-reference/email/threads-list"},{"title":"Get Email Thread","api":"GET /v1/email/threads/{id}","href":"/api-reference/email/threads-get"},{"title":"Trigger Email Sync","api":"POST /v1/email/sync","href":"/api-reference/email/sync"},{"title":"List Top Correspondents","api":"GET /v1/email/correspondents","href":"/api-reference/email/correspondents"}]},{"group":"Calendar","pages":[{"title":"List Calendar Events","api":"GET /v1/calendar/events","href":"/api-reference/calendar/events-list"},{"title":"Get Calendar Event","api":"GET /v1/calendar/events/{id}","href":"/api-reference/calendar/events-get"},{"title":"Trigger Calendar Sync","api":"POST /v1/calendar/sync","href":"/api-reference/calendar/sync"}]},{"group":"Channels","pages":[{"title":"Send Channel Message","api":"POST /v1/channels/send","href":"/api-reference/channels/send"},{"title":"List Channel Messages","api":"GET /v1/channels/messages","href":"/api-reference/channels/messages-list"},{"title":"List Channel Providers","api":"GET /v1/channels/providers","href":"/api-reference/channels/providers"}]},{"group":"Enrichment","pages":[{"title":"Scan Business Card","api":"POST /v1/scan/business-card","href":"/api-reference/enrich/business-card"}]},{"group":"AI Analysis","pages":[{"title":"Analyze Notes","api":"POST /v1/ai/analyze-notes","href":"/api-reference/ai/analyze-notes"},{"title":"Detect Duplicates","api":"POST /v1/ai/detect-duplicates","description":"Find likely duplicate contacts, companies, or deals using semantic matching","href":"/api-reference/ai/detect-duplicates"},{"title":"Suggest Follow-ups","api":"POST /v1/ai/suggest-followups","href":"/api-reference/ai/suggest-followups"},{"title":"Suggest Meetings","api":"POST /v1/ai/suggest-meetings","description":"Suggest who the user should meet next across their pipeline, ranked by opportunity value","href":"/api-reference/ai/suggest-meetings"},{"title":"Legal Insights","api":"POST /v1/ai/legal-insights","href":"/api-reference/ai/legal-insights"},{"title":"Analyze Document","api":"POST /v1/ai/analyze-document","href":"/api-reference/ai/analyze-document"},{"title":"Discover Conferences","api":"POST /v1/ai/discover-conferences","href":"/api-reference/ai/discover-conferences"}]},{"group":"Documents","pages":[{"title":"List Documents","api":"GET /v1/documents","href":"/api-reference/documents/list"},{"title":"Create Document Record","api":"POST /v1/documents","href":"/api-reference/documents/create"},{"title":"Get Document","api":"GET /v1/documents/{id}","href":"/api-reference/documents/get"},{"title":"Delete Document","api":"DELETE /v1/documents/{id}","href":"/api-reference/documents/delete"},{"title":"Link Document to Entity","api":"POST /v1/documents/{id}/link","href":"/api-reference/documents/link"},{"title":"List Contact Documents","api":"GET /v1/contacts/{id}/documents","href":"/api-reference/documents/contact-documents"},{"title":"List Deal Documents","api":"GET /v1/deals/{id}/documents","href":"/api-reference/documents/deal-documents"}]},{"group":"Import \u0026 Export","pages":[{"title":"Import Contacts","api":"POST /v1/import/contacts","href":"/api-reference/import/contacts"},{"title":"Import Companies","api":"POST /v1/import/companies","href":"/api-reference/import/companies"},{"title":"Export Contacts","api":"GET /v1/contacts/export","href":"/api-reference/export/contacts"},{"title":"Export Deals","api":"GET /v1/deals/export","href":"/api-reference/export/deals"},{"title":"Export Companies","api":"GET /v1/companies/export","href":"/api-reference/export/companies"}]},{"group":"Bulk Operations","pages":[{"title":"Bulk Delete Contacts","api":"POST /v1/contacts/bulk-delete","href":"/api-reference/bulk/contacts-delete"},{"title":"Merge Contacts","api":"POST /v1/contacts/merge","href":"/api-reference/bulk/contacts-merge"},{"title":"Bulk Delete Deals","api":"POST /v1/deals/bulk-delete","href":"/api-reference/bulk/deals-delete"}]},{"group":"Workflows","pages":[{"title":"List Workflows","api":"GET /v1/workflows","href":"/api-reference/workflows/list"},{"title":"Create Workflow","api":"POST /v1/workflows","href":"/api-reference/workflows/create"},{"title":"Get Workflow","api":"GET /v1/workflows/{id}","href":"/api-reference/workflows/get"},{"title":"Update Workflow","api":"PATCH /v1/workflows/{id}","href":"/api-reference/workflows/update"},{"title":"Delete Workflow","api":"DELETE /v1/workflows/{id}","href":"/api-reference/workflows/delete"},{"title":"List Workflow Logs","api":"GET /v1/workflows/{id}/logs","href":"/api-reference/workflows/logs"}]},{"group":"Events","pages":[{"title":"Event Catalog","api":"GET /v1/events/catalog","href":"/api-reference/events/catalog"}]},{"group":"API Keys","pages":[{"title":"List API Keys","api":"GET /v1/api-keys","href":"/api-reference/api-keys/list"},{"title":"Create API Key","api":"POST /v1/api-keys","href":"/api-reference/api-keys/create"},{"title":"Revoke API Key","api":"DELETE /v1/api-keys/{id}","href":"/api-reference/api-keys/delete"}]},{"group":"Settings","pages":[{"title":"Get Workspace Settings","api":"GET /v1/settings","href":"/api-reference/settings/get"},{"title":"List Connected Providers","api":"GET /v1/settings/providers","href":"/api-reference/settings/providers"}]}]}]},"basePath":"","title":"Suggest Follow-ups - LeadLex","deploymentId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","buildId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-B564ZPEC.js","snippetPresets-L1o8HcxD.js","utils-CztB6GTn.js","style-to-object-BY3JEAdk.js","utils-CvVTgJWk.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DYi6_847.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DthbVJn_.js","_Uint8Array-G4MDMcnE.js","isObject-FP1Yky1u.js","ApiExamples-BnQo4SxZ.js","usePlaygroundInputsStore-Dsmj0Yg6.js","shallow-Bp_wEvgz.js","isEqual-BwXlkqOR.js","CodeSnippets-D6Fi8DmN.js","CodeSnippet-DANVAYTI.js","use-playground-group-access-DaUWE1Sg.js","Page-Cwg6gQ2F.js","api-description-markdown-DFvICuUq.js","DynamicMarkdown-DHV3eOcf.js","SectionHeading-DLRZDaDn.js","MethodPill-CgqQYk5N.js","getPastedJson-k_txzq3J.js","Check2Icon-CO8ho5Tt.js","axios-CsQoIw0U.js"]}