# LeadLex ## Docs - [Create Activity](https://docs.leadlex.com/api-reference/activities/create.md): Log a new activity (call, email, meeting, note, AI action) against a contact or deal - [Get Activity](https://docs.leadlex.com/api-reference/activities/get.md): Retrieve a single activity by its unique ID - [List Contact Activities](https://docs.leadlex.com/api-reference/activities/list.md): Retrieve the full activity timeline for a contact (calls, emails, notes, meetings, AI actions) - [Analyze Document](https://docs.leadlex.com/api-reference/ai/analyze-document.md): Extract structured insights from a stored document - summary, clauses, entities, and risks - [Analyze Notes](https://docs.leadlex.com/api-reference/ai/analyze-notes.md): Summarize and extract insights from all notes attached to a contact or deal - [Detect Duplicates](https://docs.leadlex.com/api-reference/ai/detect-duplicates.md): Find likely duplicate contacts, companies, or deals using semantic matching - [Discover Conferences](https://docs.leadlex.com/api-reference/ai/discover-conferences.md): Surface upcoming industry conferences and events relevant to the workspace - [Legal Insights](https://docs.leadlex.com/api-reference/ai/legal-insights.md): Generate legal-domain insights across a matter or deal - risk analysis, precedent pointers, and workflow recommendations - [Suggest Follow-ups](https://docs.leadlex.com/api-reference/ai/suggest-followups.md): Generate personalized follow-up action suggestions for a contact based on recent activity - [Suggest Meetings](https://docs.leadlex.com/api-reference/ai/suggest-meetings.md): Suggest who the user should meet next across their pipeline, ranked by opportunity value - [Outreach Analytics](https://docs.leadlex.com/api-reference/analytics/outreach.md): Get outreach performance metrics including activity counts, deal status, and conversion rates - [Create API Key](https://docs.leadlex.com/api-reference/api-keys/create.md): Mint a new API key. The plaintext secret is returned only on this response. - [Revoke API Key](https://docs.leadlex.com/api-reference/api-keys/delete.md): Revoke an API key. The key is soft-deleted and cannot authenticate further requests. - [List API Keys](https://docs.leadlex.com/api-reference/api-keys/list.md): Return metadata for every API key in the workspace, without exposing plaintext secrets - [List Audit Logs](https://docs.leadlex.com/api-reference/audit-logs/list.md): Retrieve the workspace audit trail for compliance and security investigations (admin-only) - [Bulk Delete Contacts](https://docs.leadlex.com/api-reference/bulk/contacts-delete.md): Delete up to 500 contacts in a single call - [Merge Contacts](https://docs.leadlex.com/api-reference/bulk/contacts-merge.md): Merge one or more duplicate contacts into a primary record - [Bulk Delete Deals](https://docs.leadlex.com/api-reference/bulk/deals-delete.md): Delete up to 500 deals in a single call - [Get Calendar Event](https://docs.leadlex.com/api-reference/calendar/events-get.md): Retrieve a single calendar event with the complete attendee list and linked entities - [List Calendar Events](https://docs.leadlex.com/api-reference/calendar/events-list.md): Return a paginated list of calendar events from connected Google or Outlook calendars - [Trigger Calendar Sync](https://docs.leadlex.com/api-reference/calendar/sync.md): Force an on-demand synchronization of the connected calendars in the workspace - [Add Contacts to Campaign](https://docs.leadlex.com/api-reference/campaigns/add-contacts.md): Enroll one or more contacts into a campaign - [List Campaign Contacts](https://docs.leadlex.com/api-reference/campaigns/contacts.md): Retrieve the contacts currently enrolled in a campaign, with per-contact status - [Create Campaign](https://docs.leadlex.com/api-reference/campaigns/create.md): Create a new outreach campaign - [Create Campaign Step](https://docs.leadlex.com/api-reference/campaigns/create-step.md): Append a new email step to a campaign sequence - [Delete Campaign](https://docs.leadlex.com/api-reference/campaigns/delete.md): Permanently delete a draft campaign - [Delete Campaign Step](https://docs.leadlex.com/api-reference/campaigns/delete-step.md): Remove a step from a campaign sequence - [Campaign Event Stream](https://docs.leadlex.com/api-reference/campaigns/events.md): Retrieve granular per-event activity (sends, opens, clicks, replies) for a campaign - [Get Campaign](https://docs.leadlex.com/api-reference/campaigns/get.md): Retrieve a campaign's full configuration including steps and contacts - [List Campaigns](https://docs.leadlex.com/api-reference/campaigns/list.md): Retrieve all campaigns in your workspace - [Pause Campaign](https://docs.leadlex.com/api-reference/campaigns/pause.md): Pause an active campaign; in-flight sends complete but no new sends are scheduled - [Remove Contact from Campaign](https://docs.leadlex.com/api-reference/campaigns/remove-contact.md): Unenroll a single contact from a campaign; already-sent emails are unaffected - [Start Campaign](https://docs.leadlex.com/api-reference/campaigns/start.md): Launch a campaign (sends to Lexi AI for approval) - [Campaign Stats](https://docs.leadlex.com/api-reference/campaigns/stats.md): Aggregate delivery, engagement, and response metrics for a campaign - [List Campaign Steps](https://docs.leadlex.com/api-reference/campaigns/steps.md): Retrieve all sequence steps for a campaign in order - [Update Campaign](https://docs.leadlex.com/api-reference/campaigns/update.md): Modify campaign settings such as send limits, tracking, and timezone - [Update Campaign Step](https://docs.leadlex.com/api-reference/campaigns/update-step.md): Modify an existing step's content or timing - [List Channel Messages](https://docs.leadlex.com/api-reference/channels/messages-list.md): Retrieve recent messages across all connected messaging channels - [List Channel Providers](https://docs.leadlex.com/api-reference/channels/providers.md): Return the status of every messaging channel provider connected to the workspace - [Send Channel Message](https://docs.leadlex.com/api-reference/channels/send.md): Send an outbound message over Slack, Teams, WhatsApp, Telegram, or email - [List Company Contacts](https://docs.leadlex.com/api-reference/companies/contacts.md): Retrieve contacts linked to a specific company - [Create Company](https://docs.leadlex.com/api-reference/companies/create.md): Create a new company in your workspace - [Create Company Note](https://docs.leadlex.com/api-reference/companies/create-note.md): Create a note attached to a specific company - [List Company Deals](https://docs.leadlex.com/api-reference/companies/deals.md): Retrieve deals linked to a specific company - [Delete Company](https://docs.leadlex.com/api-reference/companies/delete.md): Permanently delete a company from your workspace - [Get Company](https://docs.leadlex.com/api-reference/companies/get.md): Retrieve a single company by ID - [Link Contacts to Company](https://docs.leadlex.com/api-reference/companies/link-contacts.md): Link existing contacts to a company (max 100 per request) - [List Companies](https://docs.leadlex.com/api-reference/companies/list.md): Retrieve a paginated list of companies in your workspace - [List Company Notes](https://docs.leadlex.com/api-reference/companies/list-notes.md): Retrieve notes for a specific company - [Update Company](https://docs.leadlex.com/api-reference/companies/update.md): Update an existing company - [List Contact Activities](https://docs.leadlex.com/api-reference/contacts/activities.md): Retrieve a paginated list of activities for a specific contact - [Add Tags to Contact](https://docs.leadlex.com/api-reference/contacts/add-tags.md): Add tags to a contact (merges with existing tags, no duplicates) - [Bulk Create Contacts](https://docs.leadlex.com/api-reference/contacts/bulk-create.md): Create multiple contacts in a single request (max 500) - [Create Contact](https://docs.leadlex.com/api-reference/contacts/create.md): Add a new contact to your workspace - [Create Contact Note](https://docs.leadlex.com/api-reference/contacts/create-note.md): Create a note attached to a specific contact - [Delete Contact](https://docs.leadlex.com/api-reference/contacts/delete.md): Permanently delete a contact from your workspace - [Get Contact](https://docs.leadlex.com/api-reference/contacts/get.md): Retrieve a single contact by ID - [List Contacts](https://docs.leadlex.com/api-reference/contacts/list.md): Retrieve a paginated list of contacts in your workspace - [List Contact Notes](https://docs.leadlex.com/api-reference/contacts/list-notes.md): Retrieve a paginated list of notes for a specific contact - [Update Contact](https://docs.leadlex.com/api-reference/contacts/update.md): Update an existing contact's information - [Bulk Create Deals](https://docs.leadlex.com/api-reference/deals/bulk-create.md): Create multiple deals in a single request (max 50) - [Bulk Update Deals](https://docs.leadlex.com/api-reference/deals/bulk-update.md): Update multiple deals with the same field values (max 100) - [Create Deal](https://docs.leadlex.com/api-reference/deals/create.md): Create a new deal in your workspace - [Create Deal Note](https://docs.leadlex.com/api-reference/deals/create-note.md): Create a note attached to a specific deal - [Delete Deal](https://docs.leadlex.com/api-reference/deals/delete.md): Permanently delete a deal from your workspace - [Get Deal](https://docs.leadlex.com/api-reference/deals/get.md): Retrieve a single deal by ID with all fields - [List Deals](https://docs.leadlex.com/api-reference/deals/list.md): Retrieve a paginated list of deals in your workspace - [List Deal Notes](https://docs.leadlex.com/api-reference/deals/list-notes.md): Retrieve a paginated list of notes for a specific deal - [Update Deal](https://docs.leadlex.com/api-reference/deals/update.md): Update an existing deal - [List Contact Documents](https://docs.leadlex.com/api-reference/documents/contact-documents.md): Return every document linked to the specified contact - [Create Document Record](https://docs.leadlex.com/api-reference/documents/create.md): Register a new document record in the workspace's document library - [List Deal Documents](https://docs.leadlex.com/api-reference/documents/deal-documents.md): Return every document linked to the specified deal - [Delete Document](https://docs.leadlex.com/api-reference/documents/delete.md): Delete a document record and its underlying object storage file - [Get Document](https://docs.leadlex.com/api-reference/documents/get.md): Retrieve metadata and a short-lived signed download URL for a stored document - [Link Document to Entity](https://docs.leadlex.com/api-reference/documents/link.md): Attach a document to a contact, company, deal, event, matter, or task - [List Documents](https://docs.leadlex.com/api-reference/documents/list.md): Paginate over documents stored in the workspace, optionally filtered by folder or tag - [List Top Correspondents](https://docs.leadlex.com/api-reference/email/correspondents.md): Return the workspace's most frequent email correspondents, sorted by activity - [Enrich Email or Domain](https://docs.leadlex.com/api-reference/email/enrich.md): Look up a person or organization from an email address or domain - [Send Email](https://docs.leadlex.com/api-reference/email/send.md): Send an email through the workspace's connected Gmail or Office 365 account - [Trigger Email Sync](https://docs.leadlex.com/api-reference/email/sync.md): Force an on-demand synchronization of the workspace's connected mailbox - [Get Email Thread](https://docs.leadlex.com/api-reference/email/threads-get.md): Retrieve a single email thread with its full message list - [List Email Threads](https://docs.leadlex.com/api-reference/email/threads-list.md): Paginate over synchronized email threads in the workspace - [Scan Business Card](https://docs.leadlex.com/api-reference/enrich/business-card.md): Extract contact details from a photo of a business card using OCR and AI parsing - [Enrich Company](https://docs.leadlex.com/api-reference/enrich/company.md): Populate firmographic data for a company record from domain, name, or existing company ID - [Enrich Contact](https://docs.leadlex.com/api-reference/enrich/contact.md): Fill in missing fields on an existing contact using third-party data providers - [Enrich by Email](https://docs.leadlex.com/api-reference/enrich/email.md): Lookup person and company details using only an email address, without touching existing contacts - [Event Catalog](https://docs.leadlex.com/api-reference/events/catalog.md): List every webhook event type the platform emits, with schemas and example payloads - [Export Companies](https://docs.leadlex.com/api-reference/export/companies.md): Download companies as CSV for segmentation analyses and data lake ingestion - [Export Contacts](https://docs.leadlex.com/api-reference/export/contacts.md): Download contacts as CSV for analytics and backup purposes - [Export Deals](https://docs.leadlex.com/api-reference/export/deals.md): Download deals as CSV for pipeline reporting and backups - [Import Companies](https://docs.leadlex.com/api-reference/import/companies.md): Bulk-import companies from a JSON array or CSV payload - [Import Contacts](https://docs.leadlex.com/api-reference/import/contacts.md): Bulk-import contacts from a JSON array or CSV payload - [Approve Lexi Task](https://docs.leadlex.com/api-reference/lexi/approve.md): Approve a pending task for Lexi to execute - [Autoresearch](https://docs.leadlex.com/api-reference/lexi/autoresearch.md): Run a deep research task against a contact, company, or freeform query and return a structured briefing - [Chat with Lexi](https://docs.leadlex.com/api-reference/lexi/chat.md): Send a message to Lexi AI and get a response - [Stream Chat with Lexi](https://docs.leadlex.com/api-reference/lexi/chat-stream.md): Send a message to Lexi and receive the response as a Server-Sent Events stream - [Delete Lexi Conversation](https://docs.leadlex.com/api-reference/lexi/conversations-delete.md): Permanently delete a Lexi conversation and its message history - [Get Lexi Conversation](https://docs.leadlex.com/api-reference/lexi/conversations-get.md): Retrieve a single Lexi conversation with its full message history - [List Lexi Conversations](https://docs.leadlex.com/api-reference/lexi/conversations-list.md): Paginate over saved Lexi AI conversations for the workspace - [Update Lexi Conversation](https://docs.leadlex.com/api-reference/lexi/conversations-update.md): Rename, archive, or re-assign a Lexi conversation - [Dismiss Lexi Task](https://docs.leadlex.com/api-reference/lexi/dismiss.md): Dismiss a pending task (cancel without executing) - [Personalize Email](https://docs.leadlex.com/api-reference/lexi/personalize-email.md): Generate a personalized email draft for a specific contact, optionally based on a template - [List Lexi Tasks](https://docs.leadlex.com/api-reference/lexi/tasks.md): Retrieve pending approval tasks from Lexi AI - [Add Contacts to List](https://docs.leadlex.com/api-reference/lists/add-contacts.md): Add one or more contacts to an existing list - [Create List](https://docs.leadlex.com/api-reference/lists/create.md): Create a new contact list - [Delete List](https://docs.leadlex.com/api-reference/lists/delete.md): Permanently delete a list and all its memberships - [List All Lists](https://docs.leadlex.com/api-reference/lists/list.md): Retrieve all contact lists in your workspace - [Remove Contact from List](https://docs.leadlex.com/api-reference/lists/remove-contact.md): Remove a single contact's membership from a list without deleting the contact - [Create Note](https://docs.leadlex.com/api-reference/notes/create.md): Create a note linked to a contact, company, or deal - [Delete Note](https://docs.leadlex.com/api-reference/notes/delete.md): Delete a note - [Get Note](https://docs.leadlex.com/api-reference/notes/get.md): Retrieve a single note by ID - [List Notes](https://docs.leadlex.com/api-reference/notes/list.md): Retrieve a paginated list of workspace notes - [Update Note](https://docs.leadlex.com/api-reference/notes/update.md): Update an existing note - [List Pipelines](https://docs.leadlex.com/api-reference/pipelines/list.md): Retrieve all deal pipelines with their stages - [Reveal Prospect](https://docs.leadlex.com/api-reference/prospector/reveal.md): Reveal email and phone for a single prospect found via search - [Bulk Reveal Prospects](https://docs.leadlex.com/api-reference/prospector/reveal-bulk.md): Reveal emails and phones for multiple prospects (max 25) - [Search Prospects](https://docs.leadlex.com/api-reference/prospector/search.md): Search for prospects using advanced filters (people and company criteria) - [Save Prospects](https://docs.leadlex.com/api-reference/prospects/save.md): Save prospects from search results to your CRM as contacts - [Search Prospects (Legacy)](https://docs.leadlex.com/api-reference/prospects/search.md): Search for prospects — legacy endpoint. Prefer /v1/prospector/search for full filter support. - [Get Workspace Settings](https://docs.leadlex.com/api-reference/settings/get.md): Return high-level workspace configuration - branding, defaults, locale, and feature flags - [List Connected Providers](https://docs.leadlex.com/api-reference/settings/providers.md): Return the status of every integration connected to the workspace - [Activity Stats](https://docs.leadlex.com/api-reference/stats/activities.md): Get activity counts grouped by type for a date range - [Pipeline Stats](https://docs.leadlex.com/api-reference/stats/pipeline.md): Get deal counts grouped by stage - [List Tags](https://docs.leadlex.com/api-reference/tags/list.md): Retrieve all unique tags used across contacts in your workspace - [Create Task](https://docs.leadlex.com/api-reference/tasks/create.md): Create a new task linked to a contact, deal, or event - [Delete Task](https://docs.leadlex.com/api-reference/tasks/delete.md): Delete a task - [Get Task](https://docs.leadlex.com/api-reference/tasks/get.md): Retrieve a single task by ID - [List Tasks](https://docs.leadlex.com/api-reference/tasks/list.md): Retrieve a paginated list of tasks in your workspace - [Update Task](https://docs.leadlex.com/api-reference/tasks/update.md): Update an existing task - [List Users](https://docs.leadlex.com/api-reference/users/list.md): Retrieve all users in your workspace - [Create Webhook](https://docs.leadlex.com/api-reference/webhooks/create.md): Register a new webhook endpoint and receive its signing secret - [Delete Webhook](https://docs.leadlex.com/api-reference/webhooks/delete.md): Permanently delete a webhook endpoint and stop all future deliveries - [List Webhooks](https://docs.leadlex.com/api-reference/webhooks/list.md): Retrieve all webhook endpoints registered in your workspace - [List Delivery Logs](https://docs.leadlex.com/api-reference/webhooks/logs.md): Inspect recent delivery attempts for a webhook, including status codes and response bodies - [Update Webhook](https://docs.leadlex.com/api-reference/webhooks/update.md): Modify an existing webhook's URL, events, or active state - [Create Workflow](https://docs.leadlex.com/api-reference/workflows/create.md): Define a new automation workflow that triggers on entity changes - [Delete Workflow](https://docs.leadlex.com/api-reference/workflows/delete.md): Remove a workflow. Historical trigger logs are retained for audit. - [Get Workflow](https://docs.leadlex.com/api-reference/workflows/get.md): Retrieve a single workflow configuration and its runtime state - [List Workflows](https://docs.leadlex.com/api-reference/workflows/list.md): Paginate over automation workflows configured in the workspace - [List Workflow Logs](https://docs.leadlex.com/api-reference/workflows/logs.md): Return the trigger history for a workflow, including success / failure status - [Update Workflow](https://docs.leadlex.com/api-reference/workflows/update.md): Edit fields on an existing workflow, or enable / disable it - [Authentication](https://docs.leadlex.com/authentication.md): Secure your API requests with workspace API keys - [Data Integrity](https://docs.leadlex.com/data-integrity.md): How LeadLex handles names, timestamps, and entity linking across the API and Lexi agent - [Code Examples](https://docs.leadlex.com/examples.md): Complete workflows in Python, JavaScript, and cURL - [Welcome to LeadLex API](https://docs.leadlex.com/index.md): Build powerful integrations with your LeadLex workspace - [Quickstart](https://docs.leadlex.com/quickstart.md): Get started with the LeadLex API in 5 minutes - [Using LeadLex from an Agent](https://docs.leadlex.com/using-from-an-agent.md): Patterns for AI agents (Lexi, CrewAI, LangChain, custom bots) to read and write CRM data via the REST API - [Webhooks](https://docs.leadlex.com/webhooks.md): Receive real-time event notifications from LeadLex via HTTPS callbacks ## Optional - [Website](https://leadlex.com) - [Support](mailto:support@leadlex.com)