Preview which CRM fields a POST /trigger/crm-sync will write: the team’s resolved contact/company create & update field mappings, the unicity criteria used for matching, and whether creation is enabled. Read-only.
GET
/
crm
/
mapping
cURL
curl --request GET \ --url https://public-api.lonescale.com/crm/mapping \ --header 'x-api-key: <api-key>'
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"LoneScale API Doc","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/lonescale-5883e47c/WovNkkTIMlsr76Dy/logo/LoneScale-Logo-Preferred.png?fit=max\u0026auto=format\u0026n=WovNkkTIMlsr76Dy\u0026q=85\u0026s=f88739fcb1e0caffbf3f475cbb1af2ad","dark":"https://mintcdn.com/lonescale-5883e47c/-kZ_pqrQp3g0kjGD/logo/LoneScale-Logo-White.png?fit=max\u0026auto=format\u0026n=-kZ_pqrQp3g0kjGD\u0026q=85\u0026s=b67f1dbb75497277639848763ccfade6"},"favicon":"https://mintcdn.com/lonescale-5883e47c/IsnOuhnBDDXY9vur/svglogo.png?fit=max\u0026auto=format\u0026n=IsnOuhnBDDXY9vur\u0026q=85\u0026s=a65527d1f22c97e3b79ac7716f97447f","navbar":{"links":[{"href":"mailto:happy@lonescale.com","label":"Contact Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.lonescale.com"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/lonescale"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.lonescale.com"},{"anchor":"Help Center","icon":"newspaper","href":"https://help-center.lonescale.com/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lonescale-5883e47c","hasAudioNarration":false,"actualSubdomain":"lonescale-5883e47c","customDomains":["docs.lonescale.com"],"gitSource":{"type":"github","owner":"sanyann","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae8c2c70e678b1f73a1d030","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":33},{"language":"default","tag":"CLI","count":12},{"language":"default","tag":"Lists","count":7},{"language":"default","tag":"Today's accounts","count":7},{"language":"default","tag":"CRM Sync","count":6},{"language":"default","tag":"API Enrichment","count":6},{"language":"default","tag":"MCP","count":6},{"language":"default","tag":"Webhook Payload","count":3},{"language":"default","tag":"Getting Started","count":2},{"language":"default","tag":"Companies","count":1}]},"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":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/crm-mapping","slug":"/api-reference/endpoint/crm-mapping","pageMetadata":{"title":"CRM Mapping Preview","openapi":"GET /crm/mapping","description":"Preview which CRM fields a `POST /trigger/crm-sync` will write: the team's resolved contact/company create \u0026 update field mappings, the unicity criteria used for matching, and whether creation is enabled. Read-only.","href":"/api-reference/endpoint/crm-mapping"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Preview which CRM fields a \", _jsx(_components.code, {\n children: \"POST /trigger/crm-sync\"\n }), \" will write: the team’s resolved contact/company create \u0026 update field mappings, the unicity criteria used for matching, and whether creation is enabled. Read-only.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"CRM Mapping Preview","openapi":"GET /crm/mapping","description":"Preview which CRM fields a `POST /trigger/crm-sync` will write: the team's resolved contact/company create \u0026 update field mappings, the unicity criteria used for matching, and whether creation is enabled. Read-only.","href":"/api-reference/endpoint/crm-mapping"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Preview which CRM fields a `POST /trigger/crm-sync` will write: the team's resolved contact/company create \u0026 update field mappings, the unicity criteria used for matching, and whether creation is enabled. Read-only.","parameters":["2d792324-59ed-4ffa-802a-f53c940e813a"],"responses":{"200":"be4cb24a-d865-4a24-8eaa-aac74554a76e","409":"29c55c4a-b1a4-498c-83a2-3cd3e30627ea","422":"0684a4f0-0154-4250-a793-92f61a770407"},"method":"get","type":"path","servers":["70167a7e-c866-4cf8-bba8-144111851d01"],"security":["3fdd0f0e-af82-4d8a-af9c-9a32e34a28d1"],"path":"/crm/mapping","baseUrlOptions":["https://public-api.lonescale.com"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2d792324-59ed-4ffa-802a-f53c940e813a":{"name":"crm","in":"query","required":false,"schema":{"type":"string","enum":["hubspot","salesforce","pipedrive","sellsy"],"isRequired":false,"description":"Target CRM. Optional when only one CRM has mapping settings.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"Target CRM. Optional when only one CRM has mapping settings."}},"responses":{"be4cb24a-d865-4a24-8eaa-aac74554a76e":{"description":"Resolved mapping preview","content":{"application/json":{"schema":{"type":"object","properties":{"crm":{"type":"string","uniqueKey":"crm","typeLabel":"string"},"settings_type":{"type":"string","uniqueKey":"settings_type","typeLabel":"string"},"object":{"type":"string","enum":["contact","lead"],"description":"Which Salesforce object a sync will write, decided by the mapping itself: `lead` when only the Lead section is mapped.","uniqueKey":"object","typeLabel":"enum\u003cstring>"},"contact":{"type":"object","properties":{"create_enabled":{"type":"boolean","uniqueKey":"contact.create_enabled","typeLabel":"boolean"},"create_fields":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string","uniqueKey":"contact.create_fields.items.[INDEX].from","typeLabel":"string"},"to":{"oneOf":[{"type":"string","uniqueKey":"contact.create_fields.items.[INDEX].to.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"contact.create_fields.items.[INDEX].to.oneOf.1","typeLabel":"null"}],"uniqueKey":"contact.create_fields.items.[INDEX].to","typeLabel":"string | null"}},"uniqueKey":"contact.create_fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"contact.create_fields","typeLabel":"object[]"},"update_fields":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string","uniqueKey":"contact.update_fields.items.[INDEX].from","typeLabel":"string"},"to":{"oneOf":[{"type":"string","uniqueKey":"contact.update_fields.items.[INDEX].to.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"contact.update_fields.items.[INDEX].to.oneOf.1","typeLabel":"null"}],"uniqueKey":"contact.update_fields.items.[INDEX].to","typeLabel":"string | null"}},"uniqueKey":"contact.update_fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"contact.update_fields","typeLabel":"object[]"},"unicity":{"type":"array","items":{"type":"array","items":{"type":"string","uniqueKey":"contact.unicity.items.[INDEX].items.[INDEX]","typeLabel":"string"},"uniqueKey":"contact.unicity.items.[INDEX]","typeLabel":"string[]"},"uniqueKey":"contact.unicity","typeLabel":"string[][]"}},"uniqueKey":"contact","typeLabel":"object"},"lead":{"type":"object","description":"Only when `object` is `lead`: what a push will search, update and create.","properties":{"create_enabled":{"type":"boolean","uniqueKey":"lead.create_enabled","typeLabel":"boolean"},"create_fields":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string","uniqueKey":"lead.create_fields.items.[INDEX].from","typeLabel":"string"},"to":{"oneOf":[{"type":"string","uniqueKey":"lead.create_fields.items.[INDEX].to.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"lead.create_fields.items.[INDEX].to.oneOf.1","typeLabel":"null"}],"uniqueKey":"lead.create_fields.items.[INDEX].to","typeLabel":"string | null"}},"uniqueKey":"lead.create_fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lead.create_fields","typeLabel":"object[]"},"update_fields":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string","uniqueKey":"lead.update_fields.items.[INDEX].from","typeLabel":"string"},"to":{"oneOf":[{"type":"string","uniqueKey":"lead.update_fields.items.[INDEX].to.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"lead.update_fields.items.[INDEX].to.oneOf.1","typeLabel":"null"}],"uniqueKey":"lead.update_fields.items.[INDEX].to","typeLabel":"string | null"}},"uniqueKey":"lead.update_fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"lead.update_fields","typeLabel":"object[]"},"unicity":{"type":"array","items":{"type":"array","items":{"type":"string","uniqueKey":"lead.unicity.items.[INDEX].items.[INDEX]","typeLabel":"string"},"uniqueKey":"lead.unicity.items.[INDEX]","typeLabel":"string[]"},"uniqueKey":"lead.unicity","typeLabel":"string[][]"}},"uniqueKey":"lead","typeLabel":"object"},"company":{"type":"object","properties":{"create_enabled":{"type":"boolean","uniqueKey":"company.create_enabled","typeLabel":"boolean"},"create_fields":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string","uniqueKey":"company.create_fields.items.[INDEX].from","typeLabel":"string"},"to":{"oneOf":[{"type":"string","uniqueKey":"company.create_fields.items.[INDEX].to.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"company.create_fields.items.[INDEX].to.oneOf.1","typeLabel":"null"}],"uniqueKey":"company.create_fields.items.[INDEX].to","typeLabel":"string | null"}},"uniqueKey":"company.create_fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"company.create_fields","typeLabel":"object[]"},"update_fields":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string","uniqueKey":"company.update_fields.items.[INDEX].from","typeLabel":"string"},"to":{"oneOf":[{"type":"string","uniqueKey":"company.update_fields.items.[INDEX].to.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"company.update_fields.items.[INDEX].to.oneOf.1","typeLabel":"null"}],"uniqueKey":"company.update_fields.items.[INDEX].to","typeLabel":"string | null"}},"uniqueKey":"company.update_fields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"company.update_fields","typeLabel":"object[]"}},"uniqueKey":"company","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"crm":"\u003cstring>","settings_type":"\u003cstring>","object":"contact","contact":{"create_enabled":true,"create_fields":[{"from":"\u003cstring>","to":"\u003cstring>"}],"update_fields":[{"from":"\u003cstring>","to":"\u003cstring>"}],"unicity":[["\u003cstring>"]]},"lead":{"create_enabled":true,"create_fields":[{"from":"\u003cstring>","to":"\u003cstring>"}],"update_fields":[{"from":"\u003cstring>","to":"\u003cstring>"}],"unicity":[["\u003cstring>"]]},"company":{"create_enabled":true,"create_fields":[{"from":"\u003cstring>","to":"\u003cstring>"}],"update_fields":[{"from":"\u003cstring>","to":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"29c55c4a-b1a4-498c-83a2-3cd3e30627ea":{"description":"Several CRMs have mapping settings; pass `crm`","content":{"application/json":{"schema":{"required":["error","message"],"type":"object","properties":{"error":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"error","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":123,"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"0684a4f0-0154-4250-a793-92f61a770407":{"description":"No CRM mapping settings configured","content":{"application/json":{"schema":{"required":["error","message"],"type":"object","properties":{"error":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"error","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":123,"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"3fdd0f0e-af82-4d8a-af9c-9a32e34a28d1":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"Provide your API key in the x-api-key header.","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"70167a7e-c866-4cf8-bba8-144111851d01":{"url":"https://public-api.lonescale.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Provide your API key in the x-api-key header.","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"Provide your API key in the x-api-key header.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"lonescale-5883e47c","siteName":"LoneScale API Doc","title":"CRM Mapping Preview - LoneScale API Doc","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-29T14:23:02.365Z","originalFileLocation":"api-reference/endpoint/crm-mapping.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=\"Preview which CRM fields a POST /trigger/crm-sync will write: the team\u0026#x27;s resolved contact/company create \u0026amp; update field mappings, the unicity criteria used for matching, and whether creation is enabled. Read-only.\">\u003cmeta data-mint-head name=\"application-name\" content=\"LoneScale API Doc\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lonescale-5883e47c/hs7sBa03sxH_yIJW/_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/lonescale-5883e47c/hs7sBa03sxH_yIJW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lonescale-5883e47c/hs7sBa03sxH_yIJW/_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/lonescale-5883e47c/hs7sBa03sxH_yIJW/_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/lonescale-5883e47c/hs7sBa03sxH_yIJW/_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/lonescale-5883e47c/hs7sBa03sxH_yIJW/_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/lonescale-5883e47c/hs7sBa03sxH_yIJW/_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/lonescale-5883e47c/hs7sBa03sxH_yIJW/_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/lonescale-5883e47c/hs7sBa03sxH_yIJW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"CRM Mapping Preview - LoneScale API Doc\">\u003cmeta data-mint-head property=\"og:description\" content=\"Preview which CRM fields a POST /trigger/crm-sync will write: the team\u0026#x27;s resolved contact/company create \u0026amp; update field mappings, the unicity criteria used for matching, and whether creation is enabled. Read-only.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LoneScale API Doc\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.lonescale.com/api-reference/endpoint/crm-mapping\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lonescale-5883e47c.mintlify.site/_mintlify/api/og/v2?division=CRM+Sync\u0026amp;title=CRM+Mapping+Preview\u0026amp;description=Preview+which+CRM+fields+a+%60POST+%2Ftrigger%2Fcrm-sync%60+will+write%3A+the+team%27s+resolved+contact%2Fcompany+create+%26+update+field+mappings%2C+the+unicity+criteria+used+fo\u0026amp;theme=3d6426264ba5883086120849\u0026amp;signature=46c565e2d989650e7f49d96ae02f65c3612aad0dbfbd96b52100f19976627f1c\">\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=\"CRM Mapping Preview - LoneScale API Doc\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Preview which CRM fields a POST /trigger/crm-sync will write: the team\u0026#x27;s resolved contact/company create \u0026amp; update field mappings, the unicity criteria used for matching, and whether creation is enabled. Read-only.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lonescale-5883e47c.mintlify.site/_mintlify/api/og/v2?division=CRM+Sync\u0026amp;title=CRM+Mapping+Preview\u0026amp;description=Preview+which+CRM+fields+a+%60POST+%2Ftrigger%2Fcrm-sync%60+will+write%3A+the+team%27s+resolved+contact%2Fcompany+create+%26+update+field+mappings%2C+the+unicity+criteria+used+fo\u0026amp;theme=3d6426264ba5883086120849\u0026amp;signature=46c565e2d989650e7f49d96ae02f65c3612aad0dbfbd96b52100f19976627f1c\">\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/lonescale-5883e47c/hs7sBa03sxH_yIJW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LoneScale API Doc\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.lonescale.com/api-reference/endpoint/crm-mapping\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/crm-mapping.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.lonescale.com/#organization\",\"name\":\"LoneScale API Doc\",\"url\":\"https://docs.lonescale.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lonescale-5883e47c/WovNkkTIMlsr76Dy/logo/LoneScale-Logo-Preferred.png?fit=max\u0026auto=format\u0026n=WovNkkTIMlsr76Dy\u0026q=85\u0026s=f88739fcb1e0caffbf3f475cbb1af2ad\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.lonescale.com#website\",\"name\":\"LoneScale API Doc\",\"url\":\"https://docs.lonescale.com\",\"publisher\":{\"@id\":\"https://docs.lonescale.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.lonescale.com/api-reference/endpoint/crm-mapping#webpage\",\"url\":\"https://docs.lonescale.com/api-reference/endpoint/crm-mapping\",\"name\":\"CRM Mapping Preview\",\"description\":\"Preview which CRM fields a POST /trigger/crm-sync will write: the team's resolved contact/company create \u0026 update field mappings, the unicity criteria used for matching, and whether creation is enabled. Read-only.\",\"dateModified\":\"2026-07-29T14:23:02.365Z\",\"isPartOf\":{\"@id\":\"https://docs.lonescale.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.lonescale.com/api-reference/endpoint/crm-mapping#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.lonescale.com/api-reference/endpoint/crm-mapping#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"CRM Sync\",\"item\":\"https://docs.lonescale.com/api-reference/crm-sync-fields\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CRM Mapping Preview\",\"item\":\"https://docs.lonescale.com/api-reference/endpoint/crm-mapping\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.lonescale.com/api-reference/endpoint/crm-mapping#apireference\",\"headline\":\"CRM Mapping Preview\",\"name\":\"CRM Mapping Preview\",\"description\":\"Preview which CRM fields a POST /trigger/crm-sync will write: the team's resolved contact/company create \u0026 update field mappings, the unicity criteria used for matching, and whether creation is enabled. Read-only.\",\"url\":\"https://docs.lonescale.com/api-reference/endpoint/crm-mapping\",\"mainEntityOfPage\":{\"@id\":\"https://docs.lonescale.com/api-reference/endpoint/crm-mapping#webpage\"},\"dateModified\":\"2026-07-29T14:23:02.365Z\",\"publisher\":{\"@id\":\"https://docs.lonescale.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.lonescale.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LoneScale API Doc\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"LoneScale API Doc","nav":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.lonescale.com"},{"anchor":"Help Center","icon":"newspaper","href":"https://help-center.lonescale.com/"}]},"tabs":[{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/overview"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"Authentication","icon":"key","href":"/authentication"},{"title":"Get user information","openapi":"GET /users","href":"/api-reference/endpoint/get"}]},{"group":"API Enrichment","pages":[{"title":"Enrich Contacts","openapi":"POST /trigger/enrich","href":"/api-reference/endpoint/create"},{"title":"Enrich Contacts (Sync)","openapi":"POST /trigger/enrich/sync","href":"/api-reference/endpoint/enrich-sync"},{"title":"Contact Enrichment History","openapi":"GET /contacts/{identifier}/enrichment-history","href":"/api-reference/endpoint/enrichment-history"},{"title":"Verify Phone Number","openapi":"POST /verify-phone","href":"/api-reference/endpoint/verify-phone"},{"title":"Search Contacts","openapi":"POST /trigger/contact-sourcing","href":"/api-reference/endpoint/contact-sourcing"},{"title":"Search Contacts (Sync)","openapi":"POST /trigger/contact-sourcing/sync","href":"/api-reference/endpoint/contact-sourcing-sync"}]},{"group":"Companies","pages":[{"title":"Search Company","openapi":"GET /companies/search","href":"/api-reference/endpoint/companies-search"}]},{"group":"CRM Sync","pages":[{"title":"Available Fields","icon":"list","href":"/api-reference/crm-sync-fields"},{"title":"CRM Sync","openapi":"POST /trigger/crm-sync","href":"/api-reference/endpoint/crm-sync"},{"title":"CRM Sync Status","openapi":"GET /trigger/crm-sync/{id}","href":"/api-reference/endpoint/crm-sync-status"},{"title":"CRM Sync Delivery Log","openapi":"GET /trigger/crm-sync/{id}/records","href":"/api-reference/endpoint/crm-sync-records"},{"title":"CRM Search","openapi":"POST /crm/search","description":"Look up contacts and companies in your connected CRM(s) and surface the record owner. Two forms. **Flat**: one contact, with `email`, `linkedin_url`, or a name with a company; the answer is `matches`. **Records**: `contacts` and/or `companies`, the same free-form records as `POST /trigger/crm-sync` (`lonescale_*` keys, bare `company_*` and camelCase aliases, `account_crm_id`), at most 20 in all; each record is searched on its own and answered under its index in `contacts[i]` / `companies[i]`, so you can pre-check the exact payload you are about to sync. Companies are matched, in order, by CRM id, by your company unicity criteria (of the `settings_type` record), by LinkedIn page, by domain, by exact name (`matchedOn` says which). Only connected CRMs are queried. Pipedrive and Sellsy search contacts by email and companies by name only. Each match carries `owned_by_you`, and `caller_crm_links` tells which CRM user the caller is linked to, so a client can say \"already yours\" vs \"owned by X\" and warn when a create would go to the default owner.","href":"/api-reference/endpoint/crm-search"},{"title":"CRM Mapping Preview","openapi":"GET /crm/mapping","href":"/api-reference/endpoint/crm-mapping"}]},{"group":"Today's accounts","pages":[{"title":"Get today's accounts","openapi":"GET /todays-accounts","description":"The accounts of a CRM book worth working today, best first (10 at most). An account gets in with a LoneScale signal in the last 30 days on its domain (job change, new hire, contact sourced, hiring burst; job postings over 14 days) and no CRM activity in the last 7 days. Each account comes with the signal, the person to reach (with the email and phone already known), its owner, the last touch and a score with the lines it adds up from (`score_parts`).\n\nThis returns the last list computed for the book. `status: none` means it was never ranked: call `POST /todays-accounts/refresh`, then poll this endpoint while `status` is `pending`.\n\nRequires Today's accounts to be enabled for the API key's holder. Rate limited to **30 requests per minute**.","href":"/api-reference/endpoint/todays-accounts-list"},{"title":"Refresh today's accounts","openapi":"POST /todays-accounts/refresh","href":"/api-reference/endpoint/todays-accounts-refresh"},{"title":"Search sales reps","openapi":"GET /todays-accounts/owners","href":"/api-reference/endpoint/todays-accounts-owners"},{"title":"Assign an account","openapi":"POST /todays-accounts/assign","href":"/api-reference/endpoint/todays-accounts-assign"},{"title":"Dismiss an account","openapi":"POST /todays-accounts/dismiss","href":"/api-reference/endpoint/todays-accounts-dismiss"},{"title":"Enrich the contact","openapi":"POST /todays-accounts/enrich","href":"/api-reference/endpoint/todays-accounts-enrich"},{"title":"Find people","openapi":"POST /todays-accounts/find-people","href":"/api-reference/endpoint/todays-accounts-find-people"}]},{"group":"Webhooks","pages":[{"title":"List Webhooks","openapi":"GET /webhooks","href":"/api-reference/endpoint/webhooks-list"}]},{"group":"Lists","pages":[{"title":"Get all lists","openapi":"GET /lists","href":"/api-reference/endpoint/lists-get-all"},{"title":"Create a list","openapi":"POST /lists","href":"/api-reference/endpoint/lists-create"},{"title":"Get a list","openapi":"GET /lists/{listId}","href":"/api-reference/endpoint/lists-get"},{"title":"Delete a list","openapi":"DELETE /lists/{listId}","href":"/api-reference/endpoint/lists-delete"},{"title":"Get list items","openapi":"GET /lists/{listId}/items","href":"/api-reference/endpoint/lists-get-items"},{"title":"Add an item to a list","openapi":"POST /lists/{listId}/item","href":"/api-reference/endpoint/lists-add-item"},{"title":"Remove an item from a list","openapi":"DELETE /lists/{listId}/item/{itemId}","href":"/api-reference/endpoint/lists-delete-item"}]},{"group":"Webhook Payload","pages":[{"title":"Contact Enrichment Payload","href":"/api-reference/webhookpayload/enrichment-payload"},{"title":"Search Contacts Payload","href":"/api-reference/webhookpayload/sourcing-payload"},{"title":"Notification Payload","href":"/api-reference/webhookpayload/notification-payload"}]}]}]},"basePath":"","title":"CRM Mapping Preview - LoneScale API Doc","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}