Creates a customer in your CRM. Only name is mandatory — everything else can be filled in later with PATCH /v1/crm/customers/:id.The company and project are taken from your token and must not appear in the body. Sending them returns 400.
Missing name, malformed email, an identification_type outside the allowed set, or a property the endpoint does not accept — including company and project, which are derived from the token.
identification_number is unique per company, and the collision is not handled gracefully. Creating a second customer with an identification_number that already exists in your company fails with 502, not a 409. Check with GET /v1/crm/customers before creating, or leave the field empty. Email and phone have no uniqueness constraint and can repeat freely.
No implicit deduplication. Two POSTs with the same name and phone create two customers. If you are syncing from an external system, put its id in external_ids and look the customer up by phone before creating.
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"KeebAI","colors":{"primary":"#0A0A0A","light":"#47BBF5","dark":"#47BBF5"},"logo":{"light":"https://mintcdn.com/keebai/4fPpSJudv6COSabU/logo/light.svg?fit=max\u0026auto=format\u0026n=4fPpSJudv6COSabU\u0026q=85\u0026s=e9d57c894f15d41b379236cde0e91b72","dark":"https://mintcdn.com/keebai/4fPpSJudv6COSabU/logo/dark.svg?fit=max\u0026auto=format\u0026n=4fPpSJudv6COSabU\u0026q=85\u0026s=6c8eb0f812de19aa554c329a2d98729c"},"favicon":"https://mintcdn.com/keebai/4fPpSJudv6COSabU/favicon.svg?fit=max\u0026auto=format\u0026n=4fPpSJudv6COSabU\u0026q=85\u0026s=c946f52626818858ed67d6ab203e67f2","api":{"openapi":"https://api.keebai.com/v1/docs-json","playground":{"display":"interactive"},"examples":{"prefill":true}},"appearance":{"default":"dark"},"navbar":{"links":[{"href":"https://status.keebai.com","label":"Status"},{"href":"mailto:support@keebai.com","label":"Support"}],"primary":{"type":"button","label":"Open Keebai","href":"https://app.keebai.com"}},"footer":{"socials":{"x":"https://x.com/keebai","linkedin":"https://linkedin.com/company/keebai","github":"https://github.com/keebai"}},"fonts":{"family":"Inter"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":false},"contextual":{"options":["copy"],"display":"header"},"interaction":{"drilldown":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"keebai","hasAudioNarration":false,"actualSubdomain":"keebai","customDomains":["docs.keebai.com"],"gitSource":{"type":"github","owner":"keebai-ai","repo":"docs","deployBranch":"main","isPrivate":false,"contentDirectory":"","mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{},"buildId":"6af52f991cc64d85fee5cef8","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Agents","count":49},{"language":"default","tag":"Messaging","count":29},{"language":"default","tag":"CRM","count":24},{"language":"default","tag":"Guides","count":17},{"language":"default","tag":"Ecommerce","count":17},{"language":"default","tag":"Loyalty","count":14},{"language":"default","tag":"Scheduling","count":14},{"language":"default","tag":"Get started","count":12},{"language":"default","tag":"Agent tests","count":7},{"language":"default","tag":"WhatsApp Flows","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":"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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navbar div:has(>div>.nav-tabs){position:static}@media (min-width: 1024px){#navbar .nav-tabs{position:absolute;top:0;left:50%;transform:translateX(-50%);height:3.5rem}}"}],"page":{"pagePath":"dev/endpoints/crm-customer-create","slug":"/dev/endpoints/crm-customer-create","pageMetadata":{"title":"POST /v1/crm/customers","sidebarTitle":"POST crm/customers","description":"Create a customer. Company and project come from the token; Keebai generates the id.","openapi":"POST /v1/crm/customers","href":"/dev/endpoints/crm-customer-create"},"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: \"Create a customer. Company and project come from the token; Keebai generates the id.\"\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={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Creates a customer in your CRM. Only `,_jsx(_components.code,{children:`name`}),` is mandatory — everything else can be filled in later with `,_jsx(_components.a,{href:`/dev/endpoints/crm-customer-update`,children:_jsx(_components.code,{children:`PATCH /v1/crm/customers/:id`})}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`company`}),` and `,_jsx(_components.code,{children:`project`}),` are taken from your token and must `,_jsx(_components.strong,{children:`not`}),` appear in the body. Sending them returns `,_jsx(_components.code,{children:`400`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,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:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`POST https://api.keebai.com/v1/crm/customers`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`required-scope`,children:`Required scope`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`crm:customers:write`})}),`\n`,_jsx(Heading,{level:`2`,id:`headers`,children:`Headers`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Header`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Authorization`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Bearer kbai_pk_\u003ctoken>`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Content-Type`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`application/json`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`First name or company name. Up to 200 characters.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`last_name`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Last name. Up to 200 characters.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`email`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Valid email address.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phone`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Phone number. Store it in E.164 to make it findable later.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`identification_number`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`National id. Unique within your company when present.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`identification_type`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`One of `,_jsx(_components.code,{children:`rut`}),`, `,_jsx(_components.code,{children:`dni`}),`, `,_jsx(_components.code,{children:`passport`}),`, `,_jsx(_components.code,{children:`other`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`identification_country`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`ISO 3166-1 alpha-2 country code.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`external_ids`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`array`})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Cross-references to other systems: `,_jsx(_components.code,{children:`[{ \"provider\": \"shopify\", \"external_id\": \"1234\" }]`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`custom_fields`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`object`})}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Free-form object matching the custom fields configured for your company.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tags`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string[]`})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`ObjectId`}),`s of CRM tags.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`accepts_marketing`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boolean`})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Marketing consent flag. Defaults to `,_jsx(_components.code,{children:`false`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example request`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`curl`,numberOfLines:`13`,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:`13`,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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.keebai.com/v1/crm/customers`}),_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 kbai_pk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"`}),_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:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Juan\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"last_name\": \"Pérez\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"email\": \"juan@example.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"phone\": \"+56912345678\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"identification_number\": \"12345678-9\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"identification_type\": \"rut\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"identification_country\": \"CL\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"accepts_marketing\": true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`15`,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:`15`,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:` response`}),_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:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.keebai.com/v1/crm/customers\"`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`process`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`KEEBAI_API_TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--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\":`#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:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Juan\"`}),_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:` last_name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Pérez\"`}),_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:` email:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"juan@example.com\"`}),_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:` phone:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"+56912345678\"`}),_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:` accepts_marketing:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_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:`customer`}),_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:` response`}),_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`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`16`,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:`16`,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:` os, requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`resp `}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.keebai.com/v1/crm/customers\"`}),_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:`{`}),_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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'KEEBAI_API_TOKEN'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_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:`#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:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Juan\"`}),_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:` \"last_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Pérez\"`}),_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:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"juan@example.com\"`}),_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:` \"phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+56912345678\"`}),_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:` \"accepts_marketing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_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:` timeout`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_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:`resp.raise_for_status()`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`customer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` resp.json()[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"customer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(Heading,{level:`3`,id:`201-created`,children:`201 Created`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,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:`15`,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:` \"customer\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"65a1f2b3c4d5e6f7a8b9c0d1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Juan\"`}),_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:` \"last_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Pérez\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"juan@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+56912345678\"`}),_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:` \"external_ids\"`}),_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:` \"custom_fields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tags\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"accepts_marketing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-05-02T14:31:07.221Z\"`}),_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:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-05-02T14:31:07.221Z\"`})]}),`\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:`3`,id:`400-bad-request`,children:`400 Bad Request`}),`\n`,_jsxs(_components.p,{children:[`Missing `,_jsx(_components.code,{children:`name`}),`, malformed `,_jsx(_components.code,{children:`email`}),`, an `,_jsx(_components.code,{children:`identification_type`}),` outside the allowed set, or a property the endpoint does not accept — including `,_jsx(_components.code,{children:`company`}),` and `,_jsx(_components.code,{children:`project`}),`, which are derived from the token.`]}),`\n`,_jsx(Heading,{level:`3`,id:`401-unauthorized`,children:`401 Unauthorized`}),`\n`,_jsx(_components.p,{children:`Missing, invalid, revoked, or expired token.`}),`\n`,_jsx(Heading,{level:`3`,id:`403-forbidden`,children:`403 Forbidden`}),`\n`,_jsxs(_components.p,{children:[`The token does not have the `,_jsx(_components.code,{children:`crm:customers:write`}),` scope.`]}),`\n`,_jsx(Heading,{level:`3`,id:`502-bad-gateway`,children:`502 Bad Gateway`}),`\n`,_jsxs(_components.p,{children:[`The CRM service could not complete the write. The most common cause is a duplicate `,_jsx(_components.code,{children:`identification_number`}),` — see the note below.`]}),`\n`,_jsx(Heading,{level:`2`,id:`operational-notes`,children:`Operational notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`identification_number`}),` is unique per company, and the collision is not handled gracefully.`]}),` Creating a second customer with an `,_jsx(_components.code,{children:`identification_number`}),` that already exists in your company fails with `,_jsx(_components.code,{children:`502`}),`, not a `,_jsx(_components.code,{children:`409`}),`. Check with `,_jsx(_components.a,{href:`/dev/endpoints/crm-customers-list`,children:_jsx(_components.code,{children:`GET /v1/crm/customers`})}),` before creating, or leave the field empty. Email and phone have no uniqueness constraint and can repeat freely.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No implicit deduplication.`}),` Two `,_jsx(_components.code,{children:`POST`}),`s with the same name and phone create two customers. If you are syncing from an external system, put its id in `,_jsx(_components.code,{children:`external_ids`}),` and look the customer up by phone before creating.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"POST /v1/crm/customers","sidebarTitle":"POST crm/customers","description":"Create a customer. Company and project come from the token; Keebai generates the id.","openapi":"POST /v1/crm/customers","href":"/dev/endpoints/crm-customer-create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Required scope","slug":"required-scope","depth":2,"children":[]},{"title":"Headers","slug":"headers","depth":2,"children":[]},{"title":"Body","slug":"body","depth":2,"children":[]},{"title":"Example request","slug":"example-request","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"201 Created","slug":"201-created","depth":3,"children":[]},{"title":"400 Bad Request","slug":"400-bad-request","depth":3,"children":[]},{"title":"401 Unauthorized","slug":"401-unauthorized","depth":3,"children":[]},{"title":"403 Forbidden","slug":"403-forbidden","depth":3,"children":[]},{"title":"502 Bad Gateway","slug":"502-bad-gateway","depth":3,"children":[]}]},{"title":"Operational notes","slug":"operational-notes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Create a customer. Company and project come from the token; Keebai generates the id.","operationId":"PublicCustomersController_create","parameters":[],"requestBody":"74056b8e-f626-4bd2-9dd3-7be8c8744c48","responses":{"201":"b7890abc-333d-4889-9110-1d51751a5778"},"security":["775b5458-18c6-46a7-9671-56df6f43661a"],"summary":"Crear un cliente","tags":["crm-customers"],"method":"post","type":"path","servers":["d9585507-49d1-4ff3-9466-9dd0bab3a7d3"],"path":"/v1/crm/customers","baseUrlOptions":["https://api.keebai.com"],"title":"Crear un cliente","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.name":"\u003cstring>","body.last_name":"\u003cstring>","body.email":"\u003cstring>","body.phone":"\u003cstring>","body.identification_number":"\u003cstring>","body.identification_country":"\u003cstring>","body.external_ids.items.0.provider":"\u003cstring>","body.external_ids.items.0.external_id":"\u003cstring>","body.custom_fields":{},"body.tags.items.0":"\u003cstring>","body.accepts_marketing":false}]},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Nombre del cliente","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"last_name":{"type":"string","uniqueKey":"last_name","typeLabel":"string"},"email":{"type":"string","uniqueKey":"email","typeLabel":"string"},"phone":{"type":"string","uniqueKey":"phone","typeLabel":"string"},"identification_number":{"type":"string","description":"Único por company cuando se informa","uniqueKey":"identification_number","typeLabel":"string"},"identification_type":{"type":"string","enum":["rut","dni","passport","other"],"uniqueKey":"identification_type","typeLabel":"enum\u003cstring>"},"identification_country":{"type":"string","description":"Código de país ISO 3166-1 alpha-2","uniqueKey":"identification_country","typeLabel":"string"},"external_ids":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","description":"Sistema externo dueño del identificador","isRequired":true,"uniqueKey":"external_ids.items.[INDEX].provider","typeLabel":"string"},"external_id":{"type":"string","description":"Identificador del cliente en ese sistema","isRequired":true,"uniqueKey":"external_ids.items.[INDEX].external_id","typeLabel":"string"}},"required":["provider","external_id"],"uniqueKey":"external_ids.items.[INDEX]","typeLabel":"object"},"uniqueKey":"external_ids","typeLabel":"object[]"},"custom_fields":{"type":"object","description":"Campos personalizados de la company","uniqueKey":"custom_fields","typeLabel":"object"},"tags":{"description":"Ids de tags del CRM","type":"array","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"uniqueKey":"tags","typeLabel":"string[]"},"accepts_marketing":{"type":"boolean","default":false,"uniqueKey":"accepts_marketing","typeLabel":"boolean"}},"required":["name"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","last_name":"\u003cstring>","email":"\u003cstring>","phone":"\u003cstring>","identification_number":"\u003cstring>","identification_country":"\u003cstring>","external_ids":[{"provider":"\u003cstring>","external_id":"\u003cstring>"}],"custom_fields":{},"tags":["\u003cstring>"],"accepts_marketing":false}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b7890abc-333d-4889-9110-1d51751a5778":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"type":"object","properties":{"_id":{"type":"string","description":"ObjectId del cliente","isRequired":true,"uniqueKey":"customer._id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"customer.name","typeLabel":"string"},"external_ids":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","description":"Sistema externo dueño del identificador","isRequired":true,"uniqueKey":"customer.external_ids.items.[INDEX].provider","typeLabel":"string"},"external_id":{"type":"string","description":"Identificador del cliente en ese sistema","isRequired":true,"uniqueKey":"customer.external_ids.items.[INDEX].external_id","typeLabel":"string"}},"required":["provider","external_id"],"uniqueKey":"customer.external_ids.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"customer.external_ids","typeLabel":"object[]"},"custom_fields":{"type":"object","description":"Campos personalizados de la company","isRequired":true,"uniqueKey":"customer.custom_fields","typeLabel":"object"},"tags":{"description":"Ids de tags del CRM","type":"array","items":{"type":"string","uniqueKey":"customer.tags.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"customer.tags","typeLabel":"string[]"},"accepts_marketing":{"type":"boolean","isRequired":true,"uniqueKey":"customer.accepts_marketing","typeLabel":"boolean"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"customer.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"customer.updated_at","typeLabel":"string\u003cdate-time>"},"last_name":{"type":"string","uniqueKey":"customer.last_name","typeLabel":"string"},"email":{"type":"string","uniqueKey":"customer.email","typeLabel":"string"},"phone":{"type":"string","uniqueKey":"customer.phone","typeLabel":"string"},"identification_number":{"type":"string","uniqueKey":"customer.identification_number","typeLabel":"string"},"identification_type":{"type":"string","enum":["rut","dni","passport","other"],"uniqueKey":"customer.identification_type","typeLabel":"enum\u003cstring>"},"identification_country":{"type":"string","description":"Código de país ISO 3166-1 alpha-2","uniqueKey":"customer.identification_country","typeLabel":"string"}},"required":["_id","name","external_ids","custom_fields","tags","accepts_marketing","created_at","updated_at"],"isRequired":true,"uniqueKey":"customer","typeLabel":"object"}},"required":["customer"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"customer":{"_id":"\u003cstring>","name":"\u003cstring>","external_ids":[{"provider":"\u003cstring>","external_id":"\u003cstring>"}],"custom_fields":{},"tags":["\u003cstring>"],"accepts_marketing":true,"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","last_name":"\u003cstring>","email":"\u003cstring>","phone":"\u003cstring>","identification_number":"\u003cstring>","identification_type":"rut","identification_country":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"775b5458-18c6-46a7-9671-56df6f43661a":{"PAT":{"scheme":"bearer","bearerFormat":"kbai_pk_\u003chex>","type":"http","description":"Personal Access Token con prefijo `kbai_pk_`. Generar desde el portal con permiso `developer.manage_tokens`.","scopes":[],"schemeName":"PAT"}}},"servers":{"d9585507-49d1-4ff3-9466-9dd0bab3a7d3":{"url":"https://api.keebai.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","bearerFormat":"kbai_pk_\u003chex>","type":"http","description":"Personal Access Token con prefijo `kbai_pk_`. Generar desde el portal con permiso `developer.manage_tokens`.","scopes":[],"schemeName":"PAT"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Personal Access Token con prefijo `kbai_pk_`. Generar desde el portal con permiso `developer.manage_tokens`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"PAT","name":"Authorization"}],"title":"PAT"}]},"originalFileLocation":"https://api.keebai.com/v1/docs-json"},"subdomain":"keebai","siteName":"KeebAI","title":"POST /v1/crm/customers - KeebAI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-06T23:54:09.325Z","originalFileLocation":"dev/endpoints/crm-customer-create.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=\"dark\"}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=\"Create a customer. Company and project come from the token; Keebai generates the id.\">\u003cmeta data-mint-head name=\"application-name\" content=\"KeebAI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/keebai/kihrOc7IVMcbU56A/_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/keebai/kihrOc7IVMcbU56A/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/keebai/kihrOc7IVMcbU56A/_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/keebai/kihrOc7IVMcbU56A/_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/keebai/kihrOc7IVMcbU56A/_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/keebai/kihrOc7IVMcbU56A/_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/keebai/kihrOc7IVMcbU56A/_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/keebai/kihrOc7IVMcbU56A/_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/keebai/kihrOc7IVMcbU56A/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"POST /v1/crm/customers - KeebAI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a customer. Company and project come from the token; Keebai generates the id.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"KeebAI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.keebai.com/dev/endpoints/crm-customer-create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://keebai.mintlify.site/_mintlify/api/og/v2?division=Customers\u0026amp;title=POST+%2Fv1%2Fcrm%2Fcustomers\u0026amp;description=Create+a+customer.+Company+and+project+come+from+the+token%3B+Keebai+generates+the+id.\u0026amp;theme=5f8ef6626ccce718ef8625d0\u0026amp;signature=232f4cfbced27e02d88d5d1bbd1e9d557cb2f81a9a21a2894c921ffb2473f4cc\">\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=\"POST /v1/crm/customers - KeebAI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a customer. Company and project come from the token; Keebai generates the id.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://keebai.mintlify.site/_mintlify/api/og/v2?division=Customers\u0026amp;title=POST+%2Fv1%2Fcrm%2Fcustomers\u0026amp;description=Create+a+customer.+Company+and+project+come+from+the+token%3B+Keebai+generates+the+id.\u0026amp;theme=5f8ef6626ccce718ef8625d0\u0026amp;signature=232f4cfbced27e02d88d5d1bbd1e9d557cb2f81a9a21a2894c921ffb2473f4cc\">\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/keebai/kihrOc7IVMcbU56A/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"KeebAI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0A0A0A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.keebai.com/dev/endpoints/crm-customer-create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/dev/endpoints/crm-customer-create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.keebai.com/#organization\",\"name\":\"KeebAI\",\"url\":\"https://docs.keebai.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/keebai/4fPpSJudv6COSabU/logo/light.svg?fit=max\u0026auto=format\u0026n=4fPpSJudv6COSabU\u0026q=85\u0026s=e9d57c894f15d41b379236cde0e91b72\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.keebai.com#website\",\"name\":\"KeebAI\",\"url\":\"https://docs.keebai.com\",\"publisher\":{\"@id\":\"https://docs.keebai.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.keebai.com/dev/endpoints/crm-customer-create#webpage\",\"url\":\"https://docs.keebai.com/dev/endpoints/crm-customer-create\",\"name\":\"POST /v1/crm/customers\",\"description\":\"Create a customer. Company and project come from the token; Keebai generates the id.\",\"dateModified\":\"2026-08-06T23:54:09.325Z\",\"isPartOf\":{\"@id\":\"https://docs.keebai.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.keebai.com/dev/endpoints/crm-customer-create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.keebai.com/dev/endpoints/crm-customer-create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Customers\",\"item\":\"https://docs.keebai.com/dev/endpoints/crm-customers-list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"POST /v1/crm/customers\",\"item\":\"https://docs.keebai.com/dev/endpoints/crm-customer-create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.keebai.com/dev/endpoints/crm-customer-create#apireference\",\"headline\":\"POST /v1/crm/customers\",\"name\":\"POST /v1/crm/customers\",\"description\":\"Create a customer. Company and project come from the token; Keebai generates the id.\",\"url\":\"https://docs.keebai.com/dev/endpoints/crm-customer-create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.keebai.com/dev/endpoints/crm-customer-create#webpage\"},\"dateModified\":\"2026-08-06T23:54:09.325Z\",\"publisher\":{\"@id\":\"https://docs.keebai.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.keebai.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"KeebAI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"KeebAI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/dev/endpoints/crm-customer-create.md","siteName":"KeebAI","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":""}]},{"tab":"Messaging","icon":"paper-plane","pages":[{"title":"Messaging","href":"/dev/messaging/overview"}]},{"tab":"Knowledge","icon":"book-bookmark","pages":[{"title":"Knowledge","href":"/dev/knowledge/overview"}]},{"tab":"CRM","icon":"address-book","groups":[{"group":"Get started","pages":[{"title":"CRM overview","sidebarTitle":"Overview","href":"/dev/crm/overview"}]},{"group":"Events","pages":[{"title":"CRM events","sidebarTitle":"Events","href":"/dev/crm/events"},{"title":"POST /v1/webhook/events","sidebarTitle":"POST webhook/events","openapi":"POST /v1/webhook/events","href":"/dev/endpoints/crm-events-emit"}]},{"group":"Customers","pages":[{"title":"GET /v1/crm/customers","sidebarTitle":"GET crm/customers","openapi":"GET /v1/crm/customers","href":"/dev/endpoints/crm-customers-list"},{"title":"GET /v1/crm/customers/:id","sidebarTitle":"GET crm/customers/{id}","description":"Fetch a single customer by id.","openapi":"GET /v1/crm/customers/{id}","href":"/dev/endpoints/crm-customer-get"},{"title":"POST /v1/crm/customers","sidebarTitle":"POST crm/customers","openapi":"POST /v1/crm/customers","href":"/dev/endpoints/crm-customer-create"},{"title":"PATCH /v1/crm/customers/:id","sidebarTitle":"PATCH crm/customers/{id}","description":"Partially update a customer. Omitted fields keep their current value.","openapi":"PATCH /v1/crm/customers/{id}","href":"/dev/endpoints/crm-customer-update"},{"title":"DELETE /v1/crm/customers/:id","sidebarTitle":"DELETE crm/customers/{id}","openapi":"DELETE /v1/crm/customers/{id}","href":"/dev/endpoints/crm-customer-delete"}]},{"group":"Tickets","pages":[{"title":"GET /v1/crm/tickets","sidebarTitle":"GET crm/tickets","openapi":"GET /v1/crm/tickets","href":"/dev/endpoints/crm-tickets-list"},{"title":"GET /v1/crm/tickets/:id","sidebarTitle":"GET crm/tickets/{id}","openapi":"GET /v1/crm/tickets/{id}","href":"/dev/endpoints/crm-ticket-get"},{"title":"POST /v1/crm/tickets","sidebarTitle":"POST crm/tickets","openapi":"POST /v1/crm/tickets","href":"/dev/endpoints/crm-ticket-create"},{"title":"PATCH /v1/crm/tickets/:id","sidebarTitle":"PATCH crm/tickets/{id}","openapi":"PATCH /v1/crm/tickets/{id}","href":"/dev/endpoints/crm-ticket-update"},{"title":"POST /v1/crm/tickets/:id/stage","sidebarTitle":"POST crm/tickets/{id}/stage","openapi":"POST /v1/crm/tickets/{id}/stage","href":"/dev/endpoints/crm-ticket-stage"},{"title":"DELETE /v1/crm/tickets/:id","sidebarTitle":"DELETE crm/tickets/{id}","openapi":"DELETE /v1/crm/tickets/{id}","href":"/dev/endpoints/crm-ticket-delete"}]},{"group":"Tasks","pages":[{"title":"GET /v1/crm/tasks","sidebarTitle":"GET crm/tasks","openapi":"GET /v1/crm/tasks","href":"/dev/endpoints/crm-tasks-list"},{"title":"GET /v1/crm/tasks/:id","sidebarTitle":"GET crm/tasks/{id}","openapi":"GET /v1/crm/tasks/{id}","href":"/dev/endpoints/crm-task-get"},{"title":"POST /v1/crm/tasks","sidebarTitle":"POST crm/tasks","openapi":"POST /v1/crm/tasks","href":"/dev/endpoints/crm-task-create"},{"title":"PATCH /v1/crm/tasks/:id","sidebarTitle":"PATCH crm/tasks/{id}","openapi":"PATCH /v1/crm/tasks/{id}","href":"/dev/endpoints/crm-task-update"},{"title":"DELETE /v1/crm/tasks/:id","sidebarTitle":"DELETE crm/tasks/{id}","openapi":"DELETE /v1/crm/tasks/{id}","href":"/dev/endpoints/crm-task-delete"}]},{"group":"Notes","pages":[{"title":"GET /v1/crm/notes","sidebarTitle":"GET crm/notes","openapi":"GET /v1/crm/notes","href":"/dev/endpoints/crm-notes-list"},{"title":"GET /v1/crm/notes/:id","sidebarTitle":"GET crm/notes/{id}","openapi":"GET /v1/crm/notes/{id}","href":"/dev/endpoints/crm-note-get"},{"title":"POST /v1/crm/notes","sidebarTitle":"POST crm/notes","openapi":"POST /v1/crm/notes","href":"/dev/endpoints/crm-note-create"},{"title":"PATCH /v1/crm/notes/:id","sidebarTitle":"PATCH crm/notes/{id}","openapi":"PATCH /v1/crm/notes/{id}","href":"/dev/endpoints/crm-note-update"},{"title":"DELETE /v1/crm/notes/:id","sidebarTitle":"DELETE crm/notes/{id}","openapi":"DELETE /v1/crm/notes/{id}","href":"/dev/endpoints/crm-note-delete"}]}]},{"tab":"Scheduling","icon":"calendar-check","pages":[{"title":"Scheduling","href":"/dev/scheduling/overview"}]},{"tab":"Ecommerce","icon":"cart-shopping","pages":[{"title":"Ecommerce","href":"/dev/ecommerce/overview"}]},{"tab":"Loyalty","icon":"wallet","pages":[{"title":"Loyalty","href":"/dev/loyalty/overview"}]},{"tab":"Agents","icon":"robot","pages":[{"title":"Agents","href":"/dev/agents/overview"}]},{"tab":"Webhooks","icon":"bell","pages":[{"title":"Webhooks","href":"/dev/webhooks/overview"}]}]},"basePath":"","title":"POST /v1/crm/customers - KeebAI","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-C4GwDT3_.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}