Drip (the register-migration body): creates or updates the
customer (type_dni, country, language and sex accept a uuid
or a code; a company’s legal representative carries dni and
type_dni), then opens the onboarding of the business unit
maihue_<type>. Answers 201 when the account was created and
200 when it was updated; onboarding describes the new
onboarding. When the business unit already has an open
onboarding, the customer stays provisioned and onboarding is that
open one with already_open: true (no 409). A customer without a
recipient keeps onboarding.document_id: null and
reason: no-eligible-recipient.
Operator: { account, type } opens an onboarding for an
existing account and answers 201 with its detail.
Never sends an email: call POST /maihue/onboarding/{document_id}/invite.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Option 1
Option 2
The POST /auth/register/migration body; catalog fields accept a
uuid or a code, so the caller needs no per-environment ids. The
account is matched by dni + type + type_dni: sending the same
customer again updates it (200) instead of duplicating it.
dni
string
required
Chilean RUT of the account, with check digit (12345678-5; dots are accepted).
Maximum string length: 50
Example:
"12345678-5"
type_dni
string
required
CHL_RUT or its uuid. Only CHL_RUT onboards; CHL_PASSPORT
answers 422 type-dni-not-supported.
Example:
"CHL_RUT"
country
string
required
ISO 3166-1 alpha-2 code (CL) or the country uuid.
Example:
"CL"
name
string
required
Full name of the person or legal name of the company.
Required string length: 1 - 250
type
enum<string>
required
Business unit of the onboarding (maihue_<type>). home makes a
person account; horeca and business make a company account.
Available options:
home,
horeca,
business
users
object[]
required
Logins of the account, created without a password (the customer
sets it in the onboarding). The onboarding recipient is the
primary_user of a person account or the legal_representative
of a company; without one, onboarding.document_id is null
with reason: no-eligible-recipient.
Minimum array length: 1
Show child attributes
name_fantasy
string
Trade name. Required when type is horeca or business.
Maximum string length: 250
commercial_activity
string
Required when type is horeca or business.
Maximum string length: 250
external_id
string
Identifier of the customer in the source system (e.g. the Odoo
res.partner id). Stored as is; when omitted on an update the
account keeps its current value.
Maximum string length: 255
gloss
string
Free note about the origin of the account.
Maximum string length: 150
tier
enum<string>
default:free
Available options:
free,
premium,
enterprise
Response
Drip customer updated and onboarding opened
data
object
Show child attributes
message
string
meta
object
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"B Brands Docs","colors":{"primary":"#0D5993","light":"#0789C9","dark":"#0D5993"},"logo":{"light":"https://mintcdn.com/bbrands/1xnT5Vb9hIIJ3k79/logo/bbrands-lab-light.svg?fit=max\u0026auto=format\u0026n=1xnT5Vb9hIIJ3k79\u0026q=85\u0026s=88608895ccbfda54985581ee6e49b55f","dark":"https://mintcdn.com/bbrands/1xnT5Vb9hIIJ3k79/logo/bbrands-lab-dark.svg?fit=max\u0026auto=format\u0026n=1xnT5Vb9hIIJ3k79\u0026q=85\u0026s=2ec709f45e98d62d6cc6a8e23a735c5d"},"favicon":"https://mintcdn.com/bbrands/SChHqGy4T8DLbxhI/favicon.svg?fit=max\u0026auto=format\u0026n=SChHqGy4T8DLbxhI\u0026q=85\u0026s=3364f2bbd048ffc2d9ba3f4ec3de1d4f","api":{"openapi":["api-reference/maihue/lead/openapi.yaml","api-reference/auth/auth/register-migration-openapi.yaml","api-reference/auth/auth/verify-email-openapi.yaml","api-reference/webhook/openapi.yaml","api-reference/permission/api-key/openapi.yaml","api-reference/notification/notification/openapi.yaml","api-reference/notification/notification/read-openapi.yaml","api-reference/notification/inbox/openapi.yaml","api-reference/notification/onesignal-webhook/openapi.yaml","api-reference/maihue/onboarding/openapi.yaml","api-reference/maihue/onboarding/portal-openapi.yaml","api-reference/maihue/form/openapi.yaml","api-reference/maihue/form-answer/openapi.yaml","api-reference/maihue/form-question/openapi.yaml","api-reference/maihue/form-workflow/openapi.yaml","api-reference/maihue/form-workflow-step/openapi.yaml","api-reference/maihue/lead-answer/openapi.yaml","api-reference/permission/api-key-permission/openapi.yaml","api-reference/notification/preference/openapi.yaml","api-reference/notification/platform/openapi.yaml","api-reference/notification/platform/metric-openapi.yaml","api-reference/notification/template-version/openapi.yaml"]},"navbar":{"links":[{"href":"mailto:developers@bbrands.io","label":"Support"}],"primary":{"type":"button","label":"B Brands Lab","href":"https://www.bbrands.io"}},"footer":{"socials":{"github":"https://github.com/bbrandslab","website":"https://www.bbrands.io"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"introduction"},{"language":"es","href":"es/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bbrands","hasAudioNarration":false,"actualSubdomain":"bbrands","customDomains":["docs.bbrands.io"],"gitSource":{"type":"github","owner":"bbrandslab","repo":"bbrands-monorepo","deployBranch":"develop","contentDirectory":"backend/horizon-docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"issues":false,"thumbs":true},"entitlements":{},"buildId":"6b08c32dc560574c778c9718","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"Schemas","count":482},{"language":"default","tag":"API Reference","count":274},{"language":"en","tag":"Horizon Enterprise","count":185},{"language":"es","tag":"Horizon Enterprise","count":185},{"language":"en","tag":"Notifications","count":156},{"language":"es","tag":"Notificaciones","count":156},{"language":"default","tag":"General","count":101},{"language":"default","tag":"Maihue","count":97},{"language":"en","tag":"Events","count":95},{"language":"es","tag":"Eventos","count":95},{"language":"en","tag":"Notification","count":73},{"language":"default","tag":"Account","count":63},{"language":"en","tag":"API Reference","count":61},{"language":"en","tag":"Documentation","count":55},{"language":"es","tag":"Documentación","count":55},{"language":"default","tag":"Product","count":54},{"language":"default","tag":"Webhook","count":49},{"language":"default","tag":"MaihueStreet","count":48},{"language":"en","tag":"Customer portal","count":47},{"language":"es","tag":"Portal de clientes","count":47},{"language":"default","tag":"Code","count":43},{"language":"default","tag":"Permission","count":32},{"language":"es","tag":"Acceso","count":26},{"language":"es","tag":"Primeros pasos","count":21},{"language":"en","tag":"Catalog and templates","count":20},{"language":"es","tag":"Catálogo y plantillas","count":20},{"language":"en","tag":"BBrands Lab","count":19},{"language":"en","tag":"MaihueGo","count":19},{"language":"es","tag":"BBrands Lab","count":19},{"language":"es","tag":"MaihueGo","count":19}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navbar a img{height:3rem!important}.wave-status{align-items:baseline;border:1px solid;border-radius:0.75rem;display:flex;flex-wrap:wrap;font-size:0.875rem;gap:0.25rem 0.5rem;line-height:1.5;margin:0.75rem 0;padding:0.5rem 0.75rem}.wave-status a{border-bottom:0;color:inherit;font-weight:600;text-decoration:none}.wave-status a:hover{text-decoration:underline}.wave-status--active{background:#ecfdf5;border-color:rgb(16 185 129 / 0.35);color:#064e3b}.wave-status--planned{background:#fffbeb;border-color:rgb(245 158 11 / 0.35);color:#78350f}.dark .wave-status--active{background:rgb(16 185 129 / 0.1);color:#a7f3d0}.dark .wave-status--planned{background:rgb(245 158 11 / 0.1);color:#fde68a}"}]}
{"page":{"pagePath":"api-reference/maihue/onboarding/create","slug":"/api-reference/maihue/onboarding/create","pageMetadata":{"title":"Create Onboarding","openapi":"POST /maihue/onboarding","description":"Two bodies, both under `maihue-onboarding:create`:\n\n- **Drip** (the `register-migration` body): creates or updates the\n customer (`type_dni`, `country`, `language` and `sex` accept a uuid\n or a code; a company's legal representative carries `dni` and\n `type_dni`), then opens the onboarding of the business unit\n `maihue_\u003ctype>`. Answers `201` when the account was created and\n `200` when it was updated; `onboarding` describes the new\n onboarding. When the business unit already has an open\n onboarding, the customer stays provisioned and `onboarding` is that\n open one with `already_open: true` (no `409`). A customer without a\n recipient keeps `onboarding.document_id: null` and\n `reason: no-eligible-recipient`.\n- **Operator**: `{ account, type }` opens an onboarding for an\n existing account and answers `201` with its detail.\n\nNever sends an email: call `POST /maihue/onboarding/{document_id}/invite`.\n\nThe drip body is the one external systems such as Odoo send; see the\n[Odoo onboarding integration guide](/integrations/odoo-onboarding).\n","href":"/api-reference/maihue/onboarding/create"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Two bodies, both under \", _jsx(_components.code, {\n children: \"maihue-onboarding:create\"\n }), \":\"]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Drip\"\n }), \" (the \", _jsx(_components.code, {\n children: \"register-migration\"\n }), \" body): creates or updates the\\ncustomer (\", _jsx(_components.code, {\n children: \"type_dni\"\n }), \", \", _jsx(_components.code, {\n children: \"country\"\n }), \", \", _jsx(_components.code, {\n children: \"language\"\n }), \" and \", _jsx(_components.code, {\n children: \"sex\"\n }), \" accept a uuid\\nor a code; a company’s legal representative carries \", _jsx(_components.code, {\n children: \"dni\"\n }), \" and\\n\", _jsx(_components.code, {\n children: \"type_dni\"\n }), \"), then opens the onboarding of the business unit\\n\", _jsx(_components.code, {\n children: \"maihue_\u003ctype>\"\n }), \". Answers \", _jsx(_components.code, {\n children: \"201\"\n }), \" when the account was created and\\n\", _jsx(_components.code, {\n children: \"200\"\n }), \" when it was updated; \", _jsx(_components.code, {\n children: \"onboarding\"\n }), \" describes the new\\nonboarding. When the business unit already has an open\\nonboarding, the customer stays provisioned and \", _jsx(_components.code, {\n children: \"onboarding\"\n }), \" is that\\nopen one with \", _jsx(_components.code, {\n children: \"already_open: true\"\n }), \" (no \", _jsx(_components.code, {\n children: \"409\"\n }), \"). A customer without a\\nrecipient keeps \", _jsx(_components.code, {\n children: \"onboarding.document_id: null\"\n }), \" and\\n\", _jsx(_components.code, {\n children: \"reason: no-eligible-recipient\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Operator\"\n }), \": \", _jsx(_components.code, {\n children: \"{ account, type }\"\n }), \" opens an onboarding for an\\nexisting account and answers \", _jsx(_components.code, {\n children: \"201\"\n }), \" with its detail.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Never sends an email: call \", _jsx(_components.code, {\n children: \"POST /maihue/onboarding/{document_id}/invite\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The drip body is the one external systems such as Odoo send; see the\\n\", _jsx(_components.a, {\n href: \"/integrations/odoo-onboarding\",\n children: \"Odoo onboarding integration guide\"\n }), \".\"]\n })]\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":"Create Onboarding","openapi":"POST /maihue/onboarding","description":"Two bodies, both under `maihue-onboarding:create`:\n\n- **Drip** (the `register-migration` body): creates or updates the\n customer (`type_dni`, `country`, `language` and `sex` accept a uuid\n or a code; a company's legal representative carries `dni` and\n `type_dni`), then opens the onboarding of the business unit\n `maihue_\u003ctype>`. Answers `201` when the account was created and\n `200` when it was updated; `onboarding` describes the new\n onboarding. When the business unit already has an open\n onboarding, the customer stays provisioned and `onboarding` is that\n open one with `already_open: true` (no `409`). A customer without a\n recipient keeps `onboarding.document_id: null` and\n `reason: no-eligible-recipient`.\n- **Operator**: `{ account, type }` opens an onboarding for an\n existing account and answers `201` with its detail.\n\nNever sends an email: call `POST /maihue/onboarding/{document_id}/invite`.\n\nThe drip body is the one external systems such as Odoo send; see the\n[Odoo onboarding integration guide](/integrations/odoo-onboarding).\n","href":"/api-reference/maihue/onboarding/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Maihue Onboarding"],"summary":"Create an onboarding","description":"Two bodies, both under `maihue-onboarding:create`:\n\n- **Drip** (the `register-migration` body): creates or updates the\n customer (`type_dni`, `country`, `language` and `sex` accept a uuid\n or a code; a company's legal representative carries `dni` and\n `type_dni`), then opens the onboarding of the business unit\n `maihue_\u003ctype>`. Answers `201` when the account was created and\n `200` when it was updated; `onboarding` describes the new\n onboarding. When the business unit already has an open\n onboarding, the customer stays provisioned and `onboarding` is that\n open one with `already_open: true` (no `409`). A customer without a\n recipient keeps `onboarding.document_id: null` and\n `reason: no-eligible-recipient`.\n- **Operator**: `{ account, type }` opens an onboarding for an\n existing account and answers `201` with its detail.\n\nNever sends an email: call `POST /maihue/onboarding/{document_id}/invite`.\n\nThe drip body is the one external systems such as Odoo send; see the\n[Odoo onboarding integration guide](/integrations/odoo-onboarding).\n","operationId":"maihueOnboardingCreate","requestBody":"411744e3-1892-4b42-9484-b97f0eaed18f","responses":{"200":"1de1a82c-2229-4bb1-90f6-424107325ff3","201":"44d9d7a2-f543-4a10-b651-d3de16d04485","400":"35948be4-6540-4e13-abb2-ab73151fae79","401":"afcfeab9-6c62-4d0a-87e8-e5050162d9f0","403":"6abf0374-7453-47cd-bda6-f36150753a05","404":"2a22ee80-e1ac-4b98-8ab1-dd342c217d63","409":"c2196950-095f-438b-9b7d-a7e2863035ab","422":"265cdab0-8c0a-475e-9bdf-b9cf58cb3f86","429":"75374948-9c98-48c9-a100-91a7e9810960"},"method":"post","type":"path","servers":["24bf7bd8-2fed-45df-9f89-4dddba8f3322","d03f5fee-f0c6-4271-bb81-66045024720b","a8205d44-f045-42b0-9cc9-0defcf6fcd63"],"security":["d24bd999-9c35-435a-8ba0-bc2f57661256","1ed73618-33e6-48d1-a2b0-6e60e64c3b55"],"path":"/maihue/onboarding","baseUrlOptions":["https://api.bbrands.io/api/v3","https://certification.api.bbrands.io/api/v3","https://development.api.bbrands.io/api/v3"],"title":"Create an onboarding","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"The `POST /auth/register/migration` body; catalog fields accept a\nuuid or a code, so the caller needs no per-environment ids. The\naccount is matched by `dni + type + type_dni`: sending the same\ncustomer again updates it (`200`) instead of duplicating it.\n","required":["dni","type_dni","country","name","type","users"],"properties":{"dni":{"type":"string","maxLength":50,"description":"Chilean RUT of the account, with check digit (`12345678-5`; dots are accepted).","example":"12345678-5","isRequired":true,"uniqueKey":"oneOf.0.dni","typeLabel":"string"},"type_dni":{"type":"string","description":"`CHL_RUT` or its uuid. Only `CHL_RUT` onboards; `CHL_PASSPORT`\nanswers `422 type-dni-not-supported`.\n","example":"CHL_RUT","isRequired":true,"uniqueKey":"oneOf.0.type_dni","typeLabel":"string"},"country":{"type":"string","description":"ISO 3166-1 alpha-2 code (`CL`) or the country uuid.","example":"CL","isRequired":true,"uniqueKey":"oneOf.0.country","typeLabel":"string"},"name":{"type":"string","minLength":1,"maxLength":250,"description":"Full name of the person or legal name of the company.","isRequired":true,"uniqueKey":"oneOf.0.name","typeLabel":"string"},"type":{"type":"string","enum":["home","horeca","business"],"description":"Business unit of the onboarding (`maihue_\u003ctype>`). `home` makes a\nperson account; `horeca` and `business` make a company account.\n","isRequired":true,"uniqueKey":"oneOf.0.type","typeLabel":"enum\u003cstring>"},"users":{"type":"array","minItems":1,"description":"Logins of the account, created without a password (the customer\nsets it in the onboarding). The onboarding recipient is the\n`primary_user` of a person account or the `legal_representative`\nof a company; without one, `onboarding.document_id` is `null`\nwith `reason: no-eligible-recipient`.\n","items":{"type":"object","required":["email","firstname","lastname","language"],"properties":{"email":{"type":"string","format":"email","maxLength":256,"description":"Stored lowercased; it is the login of the user.","isRequired":true,"uniqueKey":"oneOf.0.users.items.[INDEX].email","typeLabel":"string\u003cemail>"},"firstname":{"type":"string","minLength":1,"maxLength":250,"isRequired":true,"uniqueKey":"oneOf.0.users.items.[INDEX].firstname","typeLabel":"string"},"lastname":{"type":"string","minLength":1,"maxLength":250,"isRequired":true,"uniqueKey":"oneOf.0.users.items.[INDEX].lastname","typeLabel":"string"},"language":{"type":"string","description":"Language code (`ES`, `EN`, `FR`, `IT`, `PT`; case\ninsensitive) or uuid. An unknown code answers `404`. See\n`GET /general/language?fields=name,internal`.\n","example":"ES","isRequired":true,"uniqueKey":"oneOf.0.users.items.[INDEX].language","typeLabel":"string"},"sex":{"type":"string","description":"`MALE`, `FEMALE` (case insensitive) or uuid. Optional; an\nunknown value is stored as empty instead of failing.\n","example":"FEMALE","uniqueKey":"oneOf.0.users.items.[INDEX].sex","typeLabel":"string"},"role":{"type":"string","enum":["legal_representative","billing_contact","service_contact","key_contact","administrator","primary_user"],"default":"primary_user","uniqueKey":"oneOf.0.users.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"dni":{"type":"string","maxLength":50,"description":"RUT of the person. Required for the `legal_representative` of a company.","uniqueKey":"oneOf.0.users.items.[INDEX].dni","typeLabel":"string"},"type_dni":{"type":"string","description":"`CHL_RUT` or its uuid. Required for the `legal_representative` of a company.","uniqueKey":"oneOf.0.users.items.[INDEX].type_dni","typeLabel":"string"}},"uniqueKey":"oneOf.0.users.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.users","typeLabel":"object[]"},"name_fantasy":{"type":"string","maxLength":250,"description":"Trade name. Required when `type` is `horeca` or `business`.","uniqueKey":"oneOf.0.name_fantasy","typeLabel":"string"},"commercial_activity":{"type":"string","maxLength":250,"description":"Required when `type` is `horeca` or `business`.","uniqueKey":"oneOf.0.commercial_activity","typeLabel":"string"},"external_id":{"type":"string","maxLength":255,"description":"Identifier of the customer in the source system (e.g. the Odoo\n`res.partner` id). Stored as is; when omitted on an update the\naccount keeps its current value.\n","uniqueKey":"oneOf.0.external_id","typeLabel":"string"},"gloss":{"type":"string","maxLength":150,"description":"Free note about the origin of the account.","uniqueKey":"oneOf.0.gloss","typeLabel":"string"},"tier":{"type":"string","enum":["free","premium","enterprise"],"default":"free","uniqueKey":"oneOf.0.tier","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["account","type"],"properties":{"account":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"oneOf.1.account","typeLabel":"string\u003cuuid>"},"type":{"type":"string","enum":["home","horeca","business"],"isRequired":true,"uniqueKey":"oneOf.1.type","typeLabel":"enum\u003cstring>"},"recipient_user":{"type":"string","format":"uuid","description":"Must hold the recipient role of the account; the oldest one by default.","uniqueKey":"oneOf.1.recipient_user","typeLabel":"string\u003cuuid>"},"onboarding_type":{"type":"string","default":"customer_activation","uniqueKey":"oneOf.1.onboarding_type","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"dripHome":{"title":"dripHome","summary":"Drip, person account (home)","value":{"country":"CL","dni":"12345678-5","external_id":"res.partner:84213","name":"Juan Andrés Pérez Soto","type":"home","type_dni":"CHL_RUT","users":[{"email":"juan.perez@example.com","firstname":"Juan Andrés","language":"ES","lastname":"Pérez Soto","role":"primary_user","sex":"MALE"}]}},"dripCompany":{"title":"dripCompany","summary":"Drip, company account (business)","value":{"commercial_activity":"Software development","country":"CL","dni":"76543210-3","external_id":"res.partner:91007","name":"TechCorp Solutions SpA","name_fantasy":"TechCorp","tier":"premium","type":"business","type_dni":"CHL_RUT","users":[{"dni":"11111111-1","email":"maria.gonzalez@techcorp.example","firstname":"María","language":"ES","lastname":"González","role":"legal_representative","sex":"FEMALE","type_dni":"CHL_RUT"},{"email":"pagos@techcorp.example","firstname":"Luis","language":"ES","lastname":"Martínez","role":"billing_contact"}]}},"operator":{"title":"operator","summary":"Operator, existing account","value":{"account":"8f3b1c2e-0d4a-4f2b-9c1e-6a7b8c9d0e1f","type":"home"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"1de1a82c-2229-4bb1-90f6-424107325ff3":{"description":"Drip customer updated and onboarding opened","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"account":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"data.account.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"data.account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.account","typeLabel":"string\u003cuuid> | null"},"created":{"type":"boolean","description":"`true` when the account was created (`201`), `false` when it was updated (`200`).","uniqueKey":"data.created","typeLabel":"boolean"},"business_units":{"type":"array","description":"Subscription of the account to the business unit of `type`.","items":{"type":"object","properties":{"business_unit":{"type":"string","format":"uuid","uniqueKey":"data.business_units.items.[INDEX].business_unit","typeLabel":"string\u003cuuid>"},"created":{"type":"boolean","uniqueKey":"data.business_units.items.[INDEX].created","typeLabel":"boolean"},"internal":{"oneOf":[{"type":"string","example":"maihue_home","uniqueKey":"data.business_units.items.[INDEX].internal.oneOf.0","typeLabel":"string"},{"type":"null","example":"maihue_home","uniqueKey":"data.business_units.items.[INDEX].internal.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.business_units.items.[INDEX].internal","typeLabel":"string | null"}},"uniqueKey":"data.business_units.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.business_units","typeLabel":"object[]"},"members":{"type":"array","description":"Company accounts only: per login, the person account behind it\nand its membership in the company. `person` is `existing`,\n`created` (from the login's document), `document` (another\naccount holds that document) or `pending` (no document; `member`\nis `null`).\n","items":{"type":"object","properties":{"email":{"type":"string","format":"email","uniqueKey":"data.members.items.[INDEX].email","typeLabel":"string\u003cemail>"},"member":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"data.members.items.[INDEX].member.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"data.members.items.[INDEX].member.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.members.items.[INDEX].member","typeLabel":"string\u003cuuid> | null"},"person":{"type":"string","enum":["existing","created","document","pending"],"uniqueKey":"data.members.items.[INDEX].person","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.members.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.members","typeLabel":"object[]"},"onboarding":{"type":"object","properties":{"already_open":{"type":"boolean","description":"The business unit already had an open onboarding:\n`document_id` is that one and nothing new was opened.\n","uniqueKey":"data.onboarding.already_open","typeLabel":"boolean"},"document_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"data.onboarding.document_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"data.onboarding.document_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.onboarding.document_id","typeLabel":"string\u003cuuid> | null"},"business_unit":{"type":"string","example":"maihue_home","uniqueKey":"data.onboarding.business_unit","typeLabel":"string"},"status":{"oneOf":[{"type":"string","uniqueKey":"data.onboarding.status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.onboarding.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.onboarding.status","typeLabel":"string | null"},"eligible":{"type":"boolean","description":"Whether an invite can send now.","uniqueKey":"data.onboarding.eligible","typeLabel":"boolean"},"pending":{"type":"boolean","uniqueKey":"data.onboarding.pending","typeLabel":"boolean"},"reason":{"oneOf":[{"type":"string","enum":["flag-off","no-eligible-recipient","onboarding-not-pending",null],"uniqueKey":"data.onboarding.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["flag-off","no-eligible-recipient","onboarding-not-pending",null],"uniqueKey":"data.onboarding.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.onboarding.reason","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.onboarding","typeLabel":"object"}},"uniqueKey":"data","typeLabel":"object"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"meta":{"type":"object","properties":{"correlation":{"type":"string","description":"Request correlation id; quote it when reporting an issue.","uniqueKey":"meta.correlation","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"meta.status","typeLabel":"integer"},"timestamp":{"type":"string","format":"date-time","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"version":{"oneOf":[{"type":"string","uniqueKey":"meta.version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"meta.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.version","typeLabel":"string | null"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"account":"3c90c3cc-0d44-4b50-8888-8dd25736052a","created":true,"business_units":[{"business_unit":"3c90c3cc-0d44-4b50-8888-8dd25736052a","created":true,"internal":"maihue_home"}],"members":[{"email":"jsmith@example.com","member":"3c90c3cc-0d44-4b50-8888-8dd25736052a","person":"existing"}],"onboarding":{"already_open":true,"document_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","business_unit":"maihue_home","status":"\u003cstring>","eligible":true,"pending":true,"reason":"flag-off"}},"message":"\u003cstring>","meta":{"correlation":"\u003cstring>","status":123,"timestamp":"2023-11-07T05:31:56Z","version":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"44d9d7a2-f543-4a10-b651-d3de16d04485":{"description":"Created (drip result or onboarding detail)","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{"type":"object","properties":{"account":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"data.oneOf.0.account.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"data.oneOf.0.account.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.account","typeLabel":"string\u003cuuid> | null"},"created":{"type":"boolean","description":"`true` when the account was created (`201`), `false` when it was updated (`200`).","uniqueKey":"data.oneOf.0.created","typeLabel":"boolean"},"business_units":{"type":"array","description":"Subscription of the account to the business unit of `type`.","items":{"type":"object","properties":{"business_unit":{"type":"string","format":"uuid","uniqueKey":"data.oneOf.0.business_units.items.[INDEX].business_unit","typeLabel":"string\u003cuuid>"},"created":{"type":"boolean","uniqueKey":"data.oneOf.0.business_units.items.[INDEX].created","typeLabel":"boolean"},"internal":{"oneOf":[{"type":"string","example":"maihue_home","uniqueKey":"data.oneOf.0.business_units.items.[INDEX].internal.oneOf.0","typeLabel":"string"},{"type":"null","example":"maihue_home","uniqueKey":"data.oneOf.0.business_units.items.[INDEX].internal.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.business_units.items.[INDEX].internal","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.0.business_units.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.oneOf.0.business_units","typeLabel":"object[]"},"members":{"type":"array","description":"Company accounts only: per login, the person account behind it\nand its membership in the company. `person` is `existing`,\n`created` (from the login's document), `document` (another\naccount holds that document) or `pending` (no document; `member`\nis `null`).\n","items":{"type":"object","properties":{"email":{"type":"string","format":"email","uniqueKey":"data.oneOf.0.members.items.[INDEX].email","typeLabel":"string\u003cemail>"},"member":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"data.oneOf.0.members.items.[INDEX].member.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"data.oneOf.0.members.items.[INDEX].member.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.members.items.[INDEX].member","typeLabel":"string\u003cuuid> | null"},"person":{"type":"string","enum":["existing","created","document","pending"],"uniqueKey":"data.oneOf.0.members.items.[INDEX].person","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.oneOf.0.members.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.oneOf.0.members","typeLabel":"object[]"},"onboarding":{"type":"object","properties":{"already_open":{"type":"boolean","description":"The business unit already had an open onboarding:\n`document_id` is that one and nothing new was opened.\n","uniqueKey":"data.oneOf.0.onboarding.already_open","typeLabel":"boolean"},"document_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"data.oneOf.0.onboarding.document_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"data.oneOf.0.onboarding.document_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.onboarding.document_id","typeLabel":"string\u003cuuid> | null"},"business_unit":{"type":"string","example":"maihue_home","uniqueKey":"data.oneOf.0.onboarding.business_unit","typeLabel":"string"},"status":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.0.onboarding.status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.0.onboarding.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.onboarding.status","typeLabel":"string | null"},"eligible":{"type":"boolean","description":"Whether an invite can send now.","uniqueKey":"data.oneOf.0.onboarding.eligible","typeLabel":"boolean"},"pending":{"type":"boolean","uniqueKey":"data.oneOf.0.onboarding.pending","typeLabel":"boolean"},"reason":{"oneOf":[{"type":"string","enum":["flag-off","no-eligible-recipient","onboarding-not-pending",null],"uniqueKey":"data.oneOf.0.onboarding.reason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["flag-off","no-eligible-recipient","onboarding-not-pending",null],"uniqueKey":"data.oneOf.0.onboarding.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.onboarding.reason","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.oneOf.0.onboarding","typeLabel":"object"}},"uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"object","properties":{"document_id":{"type":"string","format":"uuid","uniqueKey":"data.oneOf.1.document_id","typeLabel":"string\u003cuuid>"},"account":{"type":"object","properties":{"document_id":{"type":"string","format":"uuid","uniqueKey":"data.oneOf.1.account.document_id","typeLabel":"string\u003cuuid>"},"dni":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.1.account.dni.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.1.account.dni.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.account.dni","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.1.account.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.1.account.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.account.name","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.1.account.type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.1.account.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.account.type","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.1.account","typeLabel":"object"},"business_unit":{"oneOf":[{"type":"object","properties":{"document_id":{"type":"string","format":"uuid","uniqueKey":"data.oneOf.1.business_unit.oneOf.0.document_id","typeLabel":"string\u003cuuid>"},"internal":{"type":"string","uniqueKey":"data.oneOf.1.business_unit.oneOf.0.internal","typeLabel":"string"},"name":{"type":"string","uniqueKey":"data.oneOf.1.business_unit.oneOf.0.name","typeLabel":"string"}},"uniqueKey":"data.oneOf.1.business_unit.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"document_id":{"type":"string","format":"uuid"},"internal":{"type":"string"},"name":{"type":"string"}},"uniqueKey":"data.oneOf.1.business_unit.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.business_unit","typeLabel":"object | null"},"type":{"oneOf":[{"type":"object","properties":{"document_id":{"type":"string","format":"uuid","uniqueKey":"data.oneOf.1.type.oneOf.0.document_id","typeLabel":"string\u003cuuid>"},"internal":{"type":"string","uniqueKey":"data.oneOf.1.type.oneOf.0.internal","typeLabel":"string"},"name":{"type":"string","uniqueKey":"data.oneOf.1.type.oneOf.0.name","typeLabel":"string"}},"uniqueKey":"data.oneOf.1.type.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"document_id":{"type":"string","format":"uuid"},"internal":{"type":"string"},"name":{"type":"string"}},"uniqueKey":"data.oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.type","typeLabel":"object | null"},"status":{"type":"object","properties":{"document_id":{"type":"string","format":"uuid","uniqueKey":"data.oneOf.1.status.document_id","typeLabel":"string\u003cuuid>"},"internal":{"type":"string","uniqueKey":"data.oneOf.1.status.internal","typeLabel":"string"},"name":{"type":"string","uniqueKey":"data.oneOf.1.status.name","typeLabel":"string"},"is_terminal":{"type":"boolean","uniqueKey":"data.oneOf.1.status.is_terminal","typeLabel":"boolean"}},"uniqueKey":"data.oneOf.1.status","typeLabel":"object"},"recipient_user":{"type":"object","properties":{"document_id":{"type":"string","format":"uuid","uniqueKey":"data.oneOf.1.recipient_user.document_id","typeLabel":"string\u003cuuid>"},"email":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.1.recipient_user.email.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.1.recipient_user.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.recipient_user.email","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.1.recipient_user.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.1.recipient_user.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.recipient_user.name","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.1.recipient_user","typeLabel":"object"},"payment_method":{"oneOf":[{"type":"string","format":"uuid","description":"Method the customer confirmed in this onboarding.","uniqueKey":"data.oneOf.1.payment_method.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Method the customer confirmed in this onboarding.","uniqueKey":"data.oneOf.1.payment_method.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.payment_method","typeLabel":"string\u003cuuid> | null"},"payment_method_confirmed_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.oneOf.1.payment_method_confirmed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.oneOf.1.payment_method_confirmed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.payment_method_confirmed_at","typeLabel":"string\u003cdate-time> | null"},"invited_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.oneOf.1.invited_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.oneOf.1.invited_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.invited_at","typeLabel":"string\u003cdate-time> | null"},"activated_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.oneOf.1.activated_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.oneOf.1.activated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.activated_at","typeLabel":"string\u003cdate-time> | null"},"completed_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.oneOf.1.completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.oneOf.1.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.completed_at","typeLabel":"string\u003cdate-time> | null"},"expires_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.oneOf.1.expires_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.oneOf.1.expires_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.expires_at","typeLabel":"string\u003cdate-time> | null"},"cancelled_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.oneOf.1.cancelled_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.oneOf.1.cancelled_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.cancelled_at","typeLabel":"string\u003cdate-time> | null"},"cancel_reason":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.1.cancel_reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.1.cancel_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.cancel_reason","typeLabel":"string | null"},"closed_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.oneOf.1.closed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.oneOf.1.closed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.closed_at","typeLabel":"string\u003cdate-time> | null"},"created_at":{"type":"string","format":"date-time","uniqueKey":"data.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"created_by":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"data.oneOf.1.created_by.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"data.oneOf.1.created_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.created_by","typeLabel":"string\u003cuuid> | null"},"created_origin":{"type":"string","enum":["api_key","system","user"],"uniqueKey":"data.oneOf.1.created_origin","typeLabel":"enum\u003cstring>"},"api_key":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"data.oneOf.1.api_key.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"data.oneOf.1.api_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.api_key","typeLabel":"string\u003cuuid> | null"},"required":{"type":"boolean","description":"Some step is still missing.","uniqueKey":"data.oneOf.1.required","typeLabel":"boolean"},"steps":{"type":"array","items":{"type":"object","properties":{"step":{"type":"string","enum":["consent","identity","payment_method","password"],"uniqueKey":"data.oneOf.1.steps.items.[INDEX].step","typeLabel":"enum\u003cstring>"},"scope":{"type":"string","enum":["user","account","onboarding"],"description":"`user` and `account` steps are shared by every open onboarding of that user or account; `onboarding` steps belong to one.","uniqueKey":"data.oneOf.1.steps.items.[INDEX].scope","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["pending","completed","skipped"],"uniqueKey":"data.oneOf.1.steps.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"position":{"type":"integer","uniqueKey":"data.oneOf.1.steps.items.[INDEX].position","typeLabel":"integer"},"required":{"type":"boolean","uniqueKey":"data.oneOf.1.steps.items.[INDEX].required","typeLabel":"boolean"},"completed_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.oneOf.1.steps.items.[INDEX].completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.oneOf.1.steps.items.[INDEX].completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.steps.items.[INDEX].completed_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.oneOf.1.steps.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.oneOf.1.steps","typeLabel":"object[]"},"payment_method_detail":{"oneOf":[{"type":"object","properties":{"document_id":{"type":"string","format":"uuid","uniqueKey":"data.oneOf.1.payment_method_detail.oneOf.0.document_id","typeLabel":"string\u003cuuid>"},"alias":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.1.payment_method_detail.oneOf.0.alias.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.1.payment_method_detail.oneOf.0.alias.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.payment_method_detail.oneOf.0.alias","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.1.payment_method_detail.oneOf.0.status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.1.payment_method_detail.oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.payment_method_detail.oneOf.0.status","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","uniqueKey":"data.oneOf.1.payment_method_detail.oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.oneOf.1.payment_method_detail.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.payment_method_detail.oneOf.0.type","typeLabel":"string | null"}},"uniqueKey":"data.oneOf.1.payment_method_detail.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"document_id":{"type":"string","format":"uuid"},"alias":{"oneOf":[{"type":"string"},{"type":"null"}]},"status":{"oneOf":[{"type":"string"},{"type":"null"}]},"type":{"oneOf":[{"type":"string"},{"type":"null"}]}},"uniqueKey":"data.oneOf.1.payment_method_detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.1.payment_method_detail","typeLabel":"object | null"}},"uniqueKey":"data.oneOf.1","typeLabel":"object"}],"uniqueKey":"data","typeLabel":"object"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"meta":{"type":"object","properties":{"correlation":{"type":"string","description":"Request correlation id; quote it when reporting an issue.","uniqueKey":"meta.correlation","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"meta.status","typeLabel":"integer"},"timestamp":{"type":"string","format":"date-time","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"version":{"oneOf":[{"type":"string","uniqueKey":"meta.version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"meta.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.version","typeLabel":"string | null"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"dripHome":{"title":"dripHome","summary":"Drip, new person account","value":{"data":{"account":"e1d2c3b4-a596-4765-8321-0987fedcba87","business_units":[{"business_unit":"5b8c1d2e-3f4a-4b6c-8d7e-9f0a1b2c3d4e","created":true,"internal":"maihue_home"}],"created":true,"onboarding":{"already_open":false,"business_unit":"maihue_home","document_id":"3c9e7a10-2b4d-4f6a-8c1e-5d7f9a0b2c4e","eligible":true,"pending":true,"reason":null,"status":"created"}},"message":"Created","meta":{"correlation":"29146752-ef3a-4569-b397-ff2144412c4a","status":201,"timestamp":"2026-11-03T15:30:45Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"35948be4-6540-4e13-abb2-ab73151fae79":{"description":"Validation error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code.","uniqueKey":"error.code","typeLabel":"string"},"errors":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"any"},"description":"Details. The onboarding reasons (`account-not-found`,\n`onboarding-already-open`, `onboarding-closed`,\n`type-dni-not-supported`, `no-eligible-recipient`,\n`recipient-not-linked`, `invitation-not-enqueued`) and the\nvalidation messages are listed here.\n","uniqueKey":"error.errors","typeLabel":"any[]"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":true,"uniqueKey":"error.metadata","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"correlation":{"type":"string","description":"Request correlation id; quote it when reporting an issue.","uniqueKey":"meta.correlation","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"meta.status","typeLabel":"integer"},"timestamp":{"type":"string","format":"date-time","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"version":{"oneOf":[{"type":"string","uniqueKey":"meta.version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"meta.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.version","typeLabel":"string | null"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","errors":["\u003cunknown>"],"message":"\u003cstring>","metadata":{}},"meta":{"correlation":"\u003cstring>","status":123,"timestamp":"2023-11-07T05:31:56Z","version":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"afcfeab9-6c62-4d0a-87e8-e5050162d9f0":{"description":"Missing, invalid, revoked or expired credentials","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code.","uniqueKey":"error.code","typeLabel":"string"},"errors":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"any"},"description":"Details. The onboarding reasons (`account-not-found`,\n`onboarding-already-open`, `onboarding-closed`,\n`type-dni-not-supported`, `no-eligible-recipient`,\n`recipient-not-linked`, `invitation-not-enqueued`) and the\nvalidation messages are listed here.\n","uniqueKey":"error.errors","typeLabel":"any[]"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":true,"uniqueKey":"error.metadata","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"correlation":{"type":"string","description":"Request correlation id; quote it when reporting an issue.","uniqueKey":"meta.correlation","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"meta.status","typeLabel":"integer"},"timestamp":{"type":"string","format":"date-time","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"version":{"oneOf":[{"type":"string","uniqueKey":"meta.version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"meta.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.version","typeLabel":"string | null"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","errors":["\u003cunknown>"],"message":"\u003cstring>","metadata":{}},"meta":{"correlation":"\u003cstring>","status":123,"timestamp":"2023-11-07T05:31:56Z","version":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"6abf0374-7453-47cd-bda6-f36150753a05":{"description":"The caller lacks the permission, or `portal-customer-onboarding` is off","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code.","uniqueKey":"error.code","typeLabel":"string"},"errors":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"any"},"description":"Details. The onboarding reasons (`account-not-found`,\n`onboarding-already-open`, `onboarding-closed`,\n`type-dni-not-supported`, `no-eligible-recipient`,\n`recipient-not-linked`, `invitation-not-enqueued`) and the\nvalidation messages are listed here.\n","uniqueKey":"error.errors","typeLabel":"any[]"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":true,"uniqueKey":"error.metadata","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"correlation":{"type":"string","description":"Request correlation id; quote it when reporting an issue.","uniqueKey":"meta.correlation","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"meta.status","typeLabel":"integer"},"timestamp":{"type":"string","format":"date-time","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"version":{"oneOf":[{"type":"string","uniqueKey":"meta.version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"meta.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.version","typeLabel":"string | null"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","errors":["\u003cunknown>"],"message":"\u003cstring>","metadata":{}},"meta":{"correlation":"\u003cstring>","status":123,"timestamp":"2023-11-07T05:31:56Z","version":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"2a22ee80-e1ac-4b98-8ab1-dd342c217d63":{"description":"`onboarding-not-found`, `account-not-found` or a missing catalog value","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code.","uniqueKey":"error.code","typeLabel":"string"},"errors":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"any"},"description":"Details. The onboarding reasons (`account-not-found`,\n`onboarding-already-open`, `onboarding-closed`,\n`type-dni-not-supported`, `no-eligible-recipient`,\n`recipient-not-linked`, `invitation-not-enqueued`) and the\nvalidation messages are listed here.\n","uniqueKey":"error.errors","typeLabel":"any[]"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":true,"uniqueKey":"error.metadata","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"correlation":{"type":"string","description":"Request correlation id; quote it when reporting an issue.","uniqueKey":"meta.correlation","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"meta.status","typeLabel":"integer"},"timestamp":{"type":"string","format":"date-time","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"version":{"oneOf":[{"type":"string","uniqueKey":"meta.version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"meta.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.version","typeLabel":"string | null"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","errors":["\u003cunknown>"],"message":"\u003cstring>","metadata":{}},"meta":{"correlation":"\u003cstring>","status":123,"timestamp":"2023-11-07T05:31:56Z","version":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"c2196950-095f-438b-9b7d-a7e2863035ab":{"description":"`onboarding-already-open` (operator create, with `metadata.onboarding`) or `onboarding-closed`","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code.","uniqueKey":"error.code","typeLabel":"string"},"errors":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"any"},"description":"Details. The onboarding reasons (`account-not-found`,\n`onboarding-already-open`, `onboarding-closed`,\n`type-dni-not-supported`, `no-eligible-recipient`,\n`recipient-not-linked`, `invitation-not-enqueued`) and the\nvalidation messages are listed here.\n","uniqueKey":"error.errors","typeLabel":"any[]"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":true,"uniqueKey":"error.metadata","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"correlation":{"type":"string","description":"Request correlation id; quote it when reporting an issue.","uniqueKey":"meta.correlation","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"meta.status","typeLabel":"integer"},"timestamp":{"type":"string","format":"date-time","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"version":{"oneOf":[{"type":"string","uniqueKey":"meta.version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"meta.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.version","typeLabel":"string | null"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","errors":["\u003cunknown>"],"message":"\u003cstring>","metadata":{}},"meta":{"correlation":"\u003cstring>","status":123,"timestamp":"2023-11-07T05:31:56Z","version":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"265cdab0-8c0a-475e-9bdf-b9cf58cb3f86":{"description":"`type-dni-not-supported`, `no-eligible-recipient` or `recipient-not-linked`","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code.","uniqueKey":"error.code","typeLabel":"string"},"errors":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"any"},"description":"Details. The onboarding reasons (`account-not-found`,\n`onboarding-already-open`, `onboarding-closed`,\n`type-dni-not-supported`, `no-eligible-recipient`,\n`recipient-not-linked`, `invitation-not-enqueued`) and the\nvalidation messages are listed here.\n","uniqueKey":"error.errors","typeLabel":"any[]"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":true,"uniqueKey":"error.metadata","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"correlation":{"type":"string","description":"Request correlation id; quote it when reporting an issue.","uniqueKey":"meta.correlation","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"meta.status","typeLabel":"integer"},"timestamp":{"type":"string","format":"date-time","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"version":{"oneOf":[{"type":"string","uniqueKey":"meta.version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"meta.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.version","typeLabel":"string | null"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","errors":["\u003cunknown>"],"message":"\u003cstring>","metadata":{}},"meta":{"correlation":"\u003cstring>","status":123,"timestamp":"2023-11-07T05:31:56Z","version":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"75374948-9c98-48c9-a100-91a7e9810960":{"description":"Rate limit of the API key exceeded: a sliding window of\n`rate_limit_per_minute` requests per key (600 when the key sets\nnone). Wait `Retry-After` seconds; `X-RateLimit-*` carry the budget.\n","headers":{"Retry-After":{"description":"Seconds until the window frees a request.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code.","uniqueKey":"error.code","typeLabel":"string"},"errors":{"type":"array","items":{"oneOf":[{}],"uniqueKey":"error.errors.items.[INDEX]","typeLabel":"any"},"description":"Details. The onboarding reasons (`account-not-found`,\n`onboarding-already-open`, `onboarding-closed`,\n`type-dni-not-supported`, `no-eligible-recipient`,\n`recipient-not-linked`, `invitation-not-enqueued`) and the\nvalidation messages are listed here.\n","uniqueKey":"error.errors","typeLabel":"any[]"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":true,"uniqueKey":"error.metadata","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"correlation":{"type":"string","description":"Request correlation id; quote it when reporting an issue.","uniqueKey":"meta.correlation","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"meta.status","typeLabel":"integer"},"timestamp":{"type":"string","format":"date-time","uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"version":{"oneOf":[{"type":"string","uniqueKey":"meta.version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"meta.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"meta.version","typeLabel":"string | null"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","errors":["\u003cunknown>"],"message":"\u003cstring>","metadata":{}},"meta":{"correlation":"\u003cstring>","status":123,"timestamp":"2023-11-07T05:31:56Z","version":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"d24bd999-9c35-435a-8ba0-bc2f57661256":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"bearerAuth"}},"1ed73618-33e6-48d1-a2b0-6e60e64c3b55":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"A `secret` API key, `hzk_\u003cenv>_\u003cprefix>_\u003csecret>`.","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"24bf7bd8-2fed-45df-9f89-4dddba8f3322":{"description":"Production","url":"https://api.bbrands.io/api/v3"},"d03f5fee-f0c6-4271-bb81-66045024720b":{"description":"Certification","url":"https://certification.api.bbrands.io/api/v3"},"a8205d44-f045-42b0-9cc9-0defcf6fcd63":{"description":"Development","url":"https://development.api.bbrands.io/api/v3"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"A `secret` API key, `hzk_\u003cenv>_\u003cprefix>_\u003csecret>`.","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"A `secret` API key, `hzk_\u003cenv>_\u003cprefix>_\u003csecret>`.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-api-key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-reference/maihue/onboarding/openapi.yaml"},"subdomain":"bbrands","siteName":"B Brands Docs","title":"Create Onboarding - B Brands Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/maihue/onboarding/create","matchLevel":0},"es":{"href":"/api-reference/maihue/onboarding/create","matchLevel":0}}},"lastModified":"2026-11-03T18:24:49.997Z","originalFileLocation":"api-reference/maihue/onboarding/create.mdx","locale":"en"},"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=\"Two bodies, both under maihue-onboarding:create: - Drip (the register-migration body): creates or updates the customer (type_dni, country, language and sex accept a uuid or a code; a company\u0026#x27;s legal representative carries dni and type_dni), then opens the onboarding of the business unit maihue_. Answers 201 when the account was created and 200 when it was updated; onboarding describes the new onboarding. When the business unit already has an open onboarding, the customer stays provisioned and onboarding is that open one with already_open: true (no 409). A customer without a recipient keeps onboarding.document_id: null and reason: no-eligible-recipient. - Operator: { account, type } opens an onboarding for an existing account and answers 201 with its detail. Never sends an email: call POST /maihue/onboarding/{document_id}/invite. The drip body is the one external systems such as Odoo send; see the Odoo onboarding integration guide.\">\u003cmeta data-mint-head name=\"application-name\" content=\"B Brands Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_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/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_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/bbrands/goeZ5nRzsRLDEX7Z/_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/bbrands/goeZ5nRzsRLDEX7Z/_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/bbrands/goeZ5nRzsRLDEX7Z/_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/bbrands/goeZ5nRzsRLDEX7Z/_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/bbrands/goeZ5nRzsRLDEX7Z/_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/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Onboarding - B Brands Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Two bodies, both under maihue-onboarding:create: - Drip (the register-migration body): creates or updates the customer (type_dni, country, language and sex accept a uuid or a code; a company\u0026#x27;s legal representative carries dni and type_dni), then opens the onboarding of the business unit maihue_. Answers 201 when the account was created and 200 when it was updated; onboarding describes the new onboarding. When the business unit already has an open onboarding, the customer stays provisioned and onboarding is that open one with already_open: true (no 409). A customer without a recipient keeps onboarding.document_id: null and reason: no-eligible-recipient. - Operator: { account, type } opens an onboarding for an existing account and answers 201 with its detail. Never sends an email: call POST /maihue/onboarding/{document_id}/invite. The drip body is the one external systems such as Odoo send; see the Odoo onboarding integration guide.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"B Brands Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.bbrands.io/api-reference/maihue/onboarding/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bbrands.mintlify.site/_mintlify/api/og/v2?division=Onboarding\u0026amp;title=Create+Onboarding\u0026amp;description=Two+bodies%2C+both+under+%60maihue-onboarding%3Acreate%60%3A%0A%0A-+**Drip**+%28the+%60register-migration%60+body%29%3A+creates+or+updates+the%0A++customer+%28%60type_dni%60%2C+%60country%60%2C+%60langu\u0026amp;theme=ca80d8eeacb4ae4ba51dbf1e\u0026amp;signature=254c8791e8e339a646fce1382ac83adab4c9620f55a838ee1aa6e617574007f0\">\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=\"Create Onboarding - B Brands Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Two bodies, both under maihue-onboarding:create: - Drip (the register-migration body): creates or updates the customer (type_dni, country, language and sex accept a uuid or a code; a company\u0026#x27;s legal representative carries dni and type_dni), then opens the onboarding of the business unit maihue_. Answers 201 when the account was created and 200 when it was updated; onboarding describes the new onboarding. When the business unit already has an open onboarding, the customer stays provisioned and onboarding is that open one with already_open: true (no 409). A customer without a recipient keeps onboarding.document_id: null and reason: no-eligible-recipient. - Operator: { account, type } opens an onboarding for an existing account and answers 201 with its detail. Never sends an email: call POST /maihue/onboarding/{document_id}/invite. The drip body is the one external systems such as Odoo send; see the Odoo onboarding integration guide.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bbrands.mintlify.site/_mintlify/api/og/v2?division=Onboarding\u0026amp;title=Create+Onboarding\u0026amp;description=Two+bodies%2C+both+under+%60maihue-onboarding%3Acreate%60%3A%0A%0A-+**Drip**+%28the+%60register-migration%60+body%29%3A+creates+or+updates+the%0A++customer+%28%60type_dni%60%2C+%60country%60%2C+%60langu\u0026amp;theme=ca80d8eeacb4ae4ba51dbf1e\u0026amp;signature=254c8791e8e339a646fce1382ac83adab4c9620f55a838ee1aa6e617574007f0\">\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/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"B Brands Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D5993\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.bbrands.io/api-reference/maihue/onboarding/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/maihue/onboarding/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.bbrands.io/#organization\",\"name\":\"B Brands Docs\",\"url\":\"https://docs.bbrands.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/bbrands/1xnT5Vb9hIIJ3k79/logo/bbrands-lab-light.svg?fit=max\u0026auto=format\u0026n=1xnT5Vb9hIIJ3k79\u0026q=85\u0026s=88608895ccbfda54985581ee6e49b55f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.bbrands.io#website\",\"name\":\"B Brands Docs\",\"url\":\"https://docs.bbrands.io\",\"publisher\":{\"@id\":\"https://docs.bbrands.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.bbrands.io/api-reference/maihue/onboarding/create#webpage\",\"url\":\"https://docs.bbrands.io/api-reference/maihue/onboarding/create\",\"name\":\"Create Onboarding\",\"description\":\"Two bodies, both under maihue-onboarding:create: - Drip (the register-migration body): creates or updates the customer (type_dni, country, language and sex accept a uuid or a code; a company's legal representative carries dni and type_dni), then opens the onboarding of the business unit maihue_. Answers 201 when the account was created and 200 when it was updated; onboarding describes the new onboarding. When the business unit already has an open onboarding, the customer stays provisioned and onboarding is that open one with already_open: true (no 409). A customer without a recipient keeps onboarding.document_id: null and reason: no-eligible-recipient. - Operator: { account, type } opens an onboarding for an existing account and answers 201 with its detail. Never sends an email: call POST /maihue/onboarding/{document_id}/invite. The drip body is the one external systems such as Odoo send; see the Odoo onboarding integration guide.\",\"dateModified\":\"2026-11-03T18:24:49.997Z\",\"isPartOf\":{\"@id\":\"https://docs.bbrands.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.bbrands.io/api-reference/maihue/onboarding/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.bbrands.io/api-reference/maihue/onboarding/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Maihue\",\"item\":\"https://docs.bbrands.io/api-reference/maihue/form/find-all\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Onboarding\",\"item\":\"https://docs.bbrands.io/api-reference/maihue/onboarding/find-all\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Onboarding\",\"item\":\"https://docs.bbrands.io/api-reference/maihue/onboarding/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.bbrands.io/api-reference/maihue/onboarding/create#apireference\",\"headline\":\"Create Onboarding\",\"name\":\"Create Onboarding\",\"description\":\"Two bodies, both under maihue-onboarding:create: - Drip (the register-migration body): creates or updates the customer (type_dni, country, language and sex accept a uuid or a code; a company's legal representative carries dni and type_dni), then opens the onboarding of the business unit maihue_. Answers 201 when the account was created and 200 when it was updated; onboarding describes the new onboarding. When the business unit already has an open onboarding, the customer stays provisioned and onboarding is that open one with already_open: true (no 409). A customer without a recipient keeps onboarding.document_id: null and reason: no-eligible-recipient. - Operator: { account, type } opens an onboarding for an existing account and answers 201 with its detail. Never sends an email: call POST /maihue/onboarding/{document_id}/invite. The drip body is the one external systems such as Odoo send; see the Odoo onboarding integration guide.\",\"url\":\"https://docs.bbrands.io/api-reference/maihue/onboarding/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.bbrands.io/api-reference/maihue/onboarding/create#webpage\"},\"dateModified\":\"2026-11-03T18:24:49.997Z\",\"publisher\":{\"@id\":\"https://docs.bbrands.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.bbrands.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"B Brands Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"B Brands Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/maihue/onboarding/create.md","siteName":"B Brands Docs","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Horizon Enterprise","pages":[{"title":"Horizon Enterprise","href":"/enterprise/getting-started/introduction"}]},{"tab":"BBrands Lab","pages":[{"title":"BBrands Lab","href":"/bbrands-lab/introduction"}]},{"tab":"API Reference","groups":[{"group":"Account","pages":[{"group":"Account","pages":[{"title":"List Account","href":"/api-reference/account/account/find-all"},{"title":"Create Account","href":"/api-reference/account/account/create"},{"title":"Retrieve Account","href":"/api-reference/account/account/find-one"},{"title":"Update Account","href":"/api-reference/account/account/update"},{"title":"Delete Account","href":"/api-reference/account/account/delete"},{"title":"Purge Account","href":"/api-reference/account/account/purge"}]},{"group":"Account Address","pages":[{"title":"List Account Address","href":"/api-reference/account/account-address/find-all"},{"title":"Create Account Address","href":"/api-reference/account/account-address/create"},{"title":"Retrieve Account Address","href":"/api-reference/account/account-address/find-one"},{"title":"Update Account Address","href":"/api-reference/account/account-address/update"},{"title":"Delete Account Address","href":"/api-reference/account/account-address/delete"},{"title":"Purge Account Address","href":"/api-reference/account/account-address/purge"}]},{"group":"Account Email","pages":[{"title":"List Account Email","href":"/api-reference/account/account-email/find-all"},{"title":"Create Account Email","href":"/api-reference/account/account-email/create"},{"title":"Retrieve Account Email","href":"/api-reference/account/account-email/find-one"},{"title":"Update Account Email","href":"/api-reference/account/account-email/update"},{"title":"Delete Account Email","href":"/api-reference/account/account-email/delete"},{"title":"Purge Account Email","href":"/api-reference/account/account-email/purge"}]},{"group":"Account Phone","pages":[{"title":"List Account Phone","href":"/api-reference/account/account-phone/find-all"},{"title":"Create Account Phone","href":"/api-reference/account/account-phone/create"},{"title":"Retrieve Account Phone","href":"/api-reference/account/account-phone/find-one"},{"title":"Update Account Phone","href":"/api-reference/account/account-phone/update"},{"title":"Delete Account Phone","href":"/api-reference/account/account-phone/delete"},{"title":"Purge Account Phone","href":"/api-reference/account/account-phone/purge"}]},{"group":"Account Segment","pages":[{"title":"List Account Segment","href":"/api-reference/account/account-segment/find-all"},{"title":"Create Account Segment","href":"/api-reference/account/account-segment/create"},{"title":"Retrieve Account Segment","href":"/api-reference/account/account-segment/find-one"},{"title":"Update Account Segment","href":"/api-reference/account/account-segment/update"},{"title":"Delete Account Segment","href":"/api-reference/account/account-segment/delete"},{"title":"Purge Account Segment","href":"/api-reference/account/account-segment/purge"}]},{"group":"Account User","pages":[{"title":"List Account User","href":"/api-reference/account/account-user/find-all"},{"title":"Create Account User","href":"/api-reference/account/account-user/create"},{"title":"Retrieve Account User","href":"/api-reference/account/account-user/find-one"},{"title":"Update Account User","href":"/api-reference/account/account-user/update"},{"title":"Delete Account User","href":"/api-reference/account/account-user/delete"},{"title":"Purge Account User","href":"/api-reference/account/account-user/purge"}]}]},{"group":"Authentication","pages":[{"group":"Authentication","pages":[{"title":"Register accounts during a legacy migration","openapi":"POST /auth/register/migration","href":"/api-reference/auth/auth/register-migration"},{"title":"Verify user email","openapi":"POST /auth/verify-email","href":"/api-reference/auth/auth/verify-email"}]}]},{"group":"General","pages":[{"group":"Address","pages":[{"title":"List Address","href":"/api-reference/general/address/find-all"},{"title":"Create Address","href":"/api-reference/general/address/create"},{"title":"Retrieve Address","href":"/api-reference/general/address/find-one"},{"title":"Update Address","href":"/api-reference/general/address/update"},{"title":"Delete Address","href":"/api-reference/general/address/delete"},{"title":"Purge Address","href":"/api-reference/general/address/purge"}]},{"group":"Currency","pages":[{"title":"List Currency","href":"/api-reference/general/currency/find-all"},{"title":"Create Currency","href":"/api-reference/general/currency/create"},{"title":"Retrieve Currency","href":"/api-reference/general/currency/find-one"},{"title":"Update Currency","href":"/api-reference/general/currency/update"},{"title":"Delete Currency","href":"/api-reference/general/currency/delete"},{"title":"Purge Currency","href":"/api-reference/general/currency/purge"}]},{"group":"Currency Country","pages":[{"title":"List Currency Country","href":"/api-reference/general/currency-country/find-all"},{"title":"Create Currency Country","href":"/api-reference/general/currency-country/create"},{"title":"Retrieve Currency Country","href":"/api-reference/general/currency-country/find-one"},{"title":"Update Currency Country","href":"/api-reference/general/currency-country/update"},{"title":"Delete Currency Country","href":"/api-reference/general/currency-country/delete"},{"title":"Purge Currency Country","href":"/api-reference/general/currency-country/purge"}]},{"group":"Email","pages":[{"title":"List Email","href":"/api-reference/general/email/find-all"},{"title":"Create Email","href":"/api-reference/general/email/create"},{"title":"Retrieve Email","href":"/api-reference/general/email/find-one"},{"title":"Update Email","href":"/api-reference/general/email/update"},{"title":"Delete Email","href":"/api-reference/general/email/delete"},{"title":"Purge Email","href":"/api-reference/general/email/purge"}]},{"group":"Language","pages":[{"title":"List Language","href":"/api-reference/general/language/find-all"},{"title":"Create Language","href":"/api-reference/general/language/create"},{"title":"Retrieve Language","href":"/api-reference/general/language/find-one"},{"title":"Update Language","href":"/api-reference/general/language/update"},{"title":"Delete Language","href":"/api-reference/general/language/delete"},{"title":"Purge Language","href":"/api-reference/general/language/purge"}]},{"group":"Marital Status","pages":[{"title":"List Marital Status","href":"/api-reference/general/marital-status/find-all"},{"title":"Create Marital Status","href":"/api-reference/general/marital-status/create"},{"title":"Retrieve Marital Status","href":"/api-reference/general/marital-status/find-one"},{"title":"Update Marital Status","href":"/api-reference/general/marital-status/update"},{"title":"Delete Marital Status","href":"/api-reference/general/marital-status/delete"},{"title":"Purge Marital Status","href":"/api-reference/general/marital-status/purge"}]},{"group":"Phone","pages":[{"title":"List Phone","href":"/api-reference/general/phone/find-all"},{"title":"Create Phone","href":"/api-reference/general/phone/create"},{"title":"Retrieve Phone","href":"/api-reference/general/phone/find-one"},{"title":"Update Phone","href":"/api-reference/general/phone/update"},{"title":"Delete Phone","href":"/api-reference/general/phone/delete"},{"title":"Purge Phone","href":"/api-reference/general/phone/purge"}]},{"group":"Sex","pages":[{"title":"List Sex","href":"/api-reference/general/sex/find-all"},{"title":"Create Sex","href":"/api-reference/general/sex/create"},{"title":"Retrieve Sex","href":"/api-reference/general/sex/find-one"},{"title":"Update Sex","href":"/api-reference/general/sex/update"},{"title":"Delete Sex","href":"/api-reference/general/sex/delete"},{"title":"Purge Sex","href":"/api-reference/general/sex/purge"}]},{"group":"Timezone","pages":[{"title":"List Timezone","href":"/api-reference/general/timezone/find-all"},{"title":"Create Timezone","href":"/api-reference/general/timezone/create"},{"title":"Retrieve Timezone","href":"/api-reference/general/timezone/find-one"},{"title":"Update Timezone","href":"/api-reference/general/timezone/update"},{"title":"Delete Timezone","href":"/api-reference/general/timezone/delete"},{"title":"Purge Timezone","href":"/api-reference/general/timezone/purge"}]},{"group":"Type Address","pages":[{"title":"List Type Address","href":"/api-reference/general/type-address/find-all"},{"title":"Create Type Address","href":"/api-reference/general/type-address/create"},{"title":"Retrieve Type Address","href":"/api-reference/general/type-address/find-one"},{"title":"Update Type Address","href":"/api-reference/general/type-address/update"},{"title":"Delete Type Address","href":"/api-reference/general/type-address/delete"},{"title":"Purge Type Address","href":"/api-reference/general/type-address/purge"}]},{"group":"Type Dni","pages":[{"title":"List Type Dni","href":"/api-reference/general/type-dni/find-all"},{"title":"Create Type Dni","href":"/api-reference/general/type-dni/create"},{"title":"Retrieve Type Dni","href":"/api-reference/general/type-dni/find-one"},{"title":"Update Type Dni","href":"/api-reference/general/type-dni/update"},{"title":"Delete Type Dni","href":"/api-reference/general/type-dni/delete"},{"title":"Purge Type Dni","href":"/api-reference/general/type-dni/purge"}]},{"group":"Type Email","pages":[{"title":"List Type Email","href":"/api-reference/general/type-email/find-all"},{"title":"Create Type Email","href":"/api-reference/general/type-email/create"},{"title":"Retrieve Type Email","href":"/api-reference/general/type-email/find-one"},{"title":"Update Type Email","href":"/api-reference/general/type-email/update"},{"title":"Delete Type Email","href":"/api-reference/general/type-email/delete"},{"title":"Purge Type Email","href":"/api-reference/general/type-email/purge"}]},{"group":"Type Phone","pages":[{"title":"List Type Phone","href":"/api-reference/general/type-phone/find-all"},{"title":"Create Type Phone","href":"/api-reference/general/type-phone/create"},{"title":"Retrieve Type Phone","href":"/api-reference/general/type-phone/find-one"},{"title":"Update Type Phone","href":"/api-reference/general/type-phone/update"},{"title":"Delete Type Phone","href":"/api-reference/general/type-phone/delete"},{"title":"Purge Type Phone","href":"/api-reference/general/type-phone/purge"}]}]},{"group":"Geolocation","pages":[{"group":"City","pages":[{"title":"List City","href":"/api-reference/geolocation/city/find-all"},{"title":"Create City","href":"/api-reference/geolocation/city/create"},{"title":"Retrieve City","href":"/api-reference/geolocation/city/find-one"},{"title":"Update City","href":"/api-reference/geolocation/city/update"},{"title":"Delete City","href":"/api-reference/geolocation/city/delete"},{"title":"Purge City","href":"/api-reference/geolocation/city/purge"}]},{"group":"Country","pages":[{"title":"List Country","href":"/api-reference/geolocation/country/find-all"},{"title":"Create Country","href":"/api-reference/geolocation/country/create"},{"title":"Retrieve Country","href":"/api-reference/geolocation/country/find-one"},{"title":"Update Country","href":"/api-reference/geolocation/country/update"},{"title":"Delete Country","href":"/api-reference/geolocation/country/delete"},{"title":"Purge Country","href":"/api-reference/geolocation/country/purge"}]},{"group":"State","pages":[{"title":"List State","href":"/api-reference/geolocation/state/find-all"},{"title":"Create State","href":"/api-reference/geolocation/state/create"},{"title":"Retrieve State","href":"/api-reference/geolocation/state/find-one"},{"title":"Update State","href":"/api-reference/geolocation/state/update"},{"title":"Delete State","href":"/api-reference/geolocation/state/delete"},{"title":"Purge State","href":"/api-reference/geolocation/state/purge"}]}]},{"group":"Maihue","pages":[{"group":"Form","pages":[{"title":"List Forms","openapi":"GET /maihue/form","href":"/api-reference/maihue/form/find-all"},{"title":"Create Form","openapi":"POST /maihue/form","href":"/api-reference/maihue/form/create"},{"title":"Export Forms","openapi":"POST /maihue/form/export","href":"/api-reference/maihue/form/export"},{"title":"Get Form","openapi":"GET /maihue/form/{document_id}","href":"/api-reference/maihue/form/find-one"},{"title":"Update Form","openapi":"PATCH /maihue/form/{document_id}","href":"/api-reference/maihue/form/update"},{"title":"Delete Form","openapi":"DELETE /maihue/form/{document_id}","href":"/api-reference/maihue/form/delete"},{"title":"Activate Form","openapi":"PATCH /maihue/form/{document_id}/active","href":"/api-reference/maihue/form/active"},{"title":"Purge Form","openapi":"DELETE /maihue/form/{document_id}/purge","href":"/api-reference/maihue/form/purge"}]},{"group":"Form Answer","pages":[{"title":"List Form Answers","openapi":"GET /maihue/form/answer","href":"/api-reference/maihue/form-answer/find-all"},{"title":"Create Form Answer","openapi":"POST /maihue/form/answer","href":"/api-reference/maihue/form-answer/create"},{"title":"Export Form Answers","openapi":"POST /maihue/form/answer/export","href":"/api-reference/maihue/form-answer/export"},{"title":"Get Form Answer","openapi":"GET /maihue/form/answer/{document_id}","href":"/api-reference/maihue/form-answer/find-one"},{"title":"Update Form Answer","openapi":"PATCH /maihue/form/answer/{document_id}","href":"/api-reference/maihue/form-answer/update"},{"title":"Delete Form Answer","openapi":"DELETE /maihue/form/answer/{document_id}","href":"/api-reference/maihue/form-answer/delete"},{"title":"Activate Form Answer","openapi":"PATCH /maihue/form/answer/{document_id}/active","href":"/api-reference/maihue/form-answer/active"},{"title":"Purge Form Answer","openapi":"DELETE /maihue/form/answer/{document_id}/purge","href":"/api-reference/maihue/form-answer/purge"}]},{"group":"Form Question","pages":[{"title":"List Questions","openapi":"GET /maihue/question","href":"/api-reference/maihue/form-question/find-all"},{"title":"Create Question","openapi":"POST /maihue/question","href":"/api-reference/maihue/form-question/create"},{"title":"Export Questions","openapi":"POST /maihue/question/export","href":"/api-reference/maihue/form-question/export"},{"title":"Get Question","openapi":"GET /maihue/question/{document_id}","href":"/api-reference/maihue/form-question/find-one"},{"title":"Update Question","openapi":"PATCH /maihue/question/{document_id}","href":"/api-reference/maihue/form-question/update"},{"title":"Delete Question","openapi":"DELETE /maihue/question/{document_id}","href":"/api-reference/maihue/form-question/delete"},{"title":"Activate Question","openapi":"PATCH /maihue/question/{document_id}/active","href":"/api-reference/maihue/form-question/active"},{"title":"Purge Question","openapi":"DELETE /maihue/question/{document_id}/purge","href":"/api-reference/maihue/form-question/purge"}]},{"group":"Form Workflow","pages":[{"title":"List Form Workflows","openapi":"GET /maihue/form/workflow","href":"/api-reference/maihue/form-workflow/find-all"},{"title":"Create Form Workflow","openapi":"POST /maihue/form/workflow","href":"/api-reference/maihue/form-workflow/create"},{"title":"Export Form Workflows","openapi":"POST /maihue/form/workflow/export","href":"/api-reference/maihue/form-workflow/export"},{"title":"Get Form Workflow","openapi":"GET /maihue/form/workflow/{document_id}","href":"/api-reference/maihue/form-workflow/find-one"},{"title":"Update Form Workflow","openapi":"PATCH /maihue/form/workflow/{document_id}","href":"/api-reference/maihue/form-workflow/update"},{"title":"Delete Form Workflow","openapi":"DELETE /maihue/form/workflow/{document_id}","href":"/api-reference/maihue/form-workflow/delete"},{"title":"Activate Form Workflow","openapi":"PATCH /maihue/form/workflow/{document_id}/active","href":"/api-reference/maihue/form-workflow/active"},{"title":"Purge Form Workflow","openapi":"DELETE /maihue/form/workflow/{document_id}/purge","href":"/api-reference/maihue/form-workflow/purge"}]},{"group":"Form Workflow Step","pages":[{"title":"List Form Workflow Steps","openapi":"GET /maihue/form/workflow/step","href":"/api-reference/maihue/form-workflow-step/find-all"},{"title":"Create Form Workflow Step","openapi":"POST /maihue/form/workflow/step","href":"/api-reference/maihue/form-workflow-step/create"},{"title":"Export Form Workflow Steps","openapi":"POST /maihue/form/workflow/step/export","href":"/api-reference/maihue/form-workflow-step/export"},{"title":"Get Form Workflow Step","openapi":"GET /maihue/form/workflow/step/{document_id}","href":"/api-reference/maihue/form-workflow-step/find-one"},{"title":"Update Form Workflow Step","openapi":"PATCH /maihue/form/workflow/step/{document_id}","href":"/api-reference/maihue/form-workflow-step/update"},{"title":"Delete Form Workflow Step","openapi":"DELETE /maihue/form/workflow/step/{document_id}","href":"/api-reference/maihue/form-workflow-step/delete"},{"title":"Activate Form Workflow Step","openapi":"PATCH /maihue/form/workflow/step/{document_id}/active","href":"/api-reference/maihue/form-workflow-step/active"},{"title":"Purge Form Workflow Step","openapi":"DELETE /maihue/form/workflow/step/{document_id}/purge","href":"/api-reference/maihue/form-workflow-step/purge"}]},{"group":"Garage Esp","pages":[{"title":"List Garage ESP","href":"/api-reference/maihue/garage-esp/find-all"},{"title":"Create Garage ESP","href":"/api-reference/maihue/garage-esp/create"},{"title":"Retrieve Garage ESP","href":"/api-reference/maihue/garage-esp/find-one"},{"title":"Update Garage ESP","href":"/api-reference/maihue/garage-esp/update"},{"title":"Delete Garage ESP","href":"/api-reference/maihue/garage-esp/delete"},{"title":"Purge Garage ESP","href":"/api-reference/maihue/garage-esp/purge"}]},{"group":"Lead","pages":[{"title":"List Leads","openapi":"GET /maihue/lead","href":"/api-reference/maihue/lead/find-all"},{"title":"Create Lead","openapi":"POST /maihue/lead","href":"/api-reference/maihue/lead/create"},{"title":"Export Leads","openapi":"POST /maihue/lead/export","href":"/api-reference/maihue/lead/export"},{"title":"Get Lead","openapi":"GET /maihue/lead/{document_id}","href":"/api-reference/maihue/lead/find-one"},{"title":"Update Lead","openapi":"PATCH /maihue/lead/{document_id}","href":"/api-reference/maihue/lead/update"},{"title":"Delete Lead","openapi":"DELETE /maihue/lead/{document_id}","href":"/api-reference/maihue/lead/delete"},{"title":"Activate Lead","openapi":"PATCH /maihue/lead/{document_id}/active","href":"/api-reference/maihue/lead/active"},{"title":"Purge Lead","openapi":"DELETE /maihue/lead/{document_id}/purge","href":"/api-reference/maihue/lead/purge"}]},{"group":"Lead Answer","pages":[{"title":"List Lead Answers","openapi":"GET /maihue/lead/answer","href":"/api-reference/maihue/lead-answer/find-all"},{"title":"Create Lead Answer","openapi":"POST /maihue/lead/answer","href":"/api-reference/maihue/lead-answer/create"},{"title":"Export Lead Answers","openapi":"POST /maihue/lead/answer/export","href":"/api-reference/maihue/lead-answer/export"},{"title":"Get Lead Answer","openapi":"GET /maihue/lead/answer/{document_id}","href":"/api-reference/maihue/lead-answer/find-one"},{"title":"Update Lead Answer","openapi":"PATCH /maihue/lead/answer/{document_id}","href":"/api-reference/maihue/lead-answer/update"},{"title":"Delete Lead Answer","openapi":"DELETE /maihue/lead/answer/{document_id}","href":"/api-reference/maihue/lead-answer/delete"},{"title":"Activate Lead Answer","openapi":"PATCH /maihue/lead/answer/{document_id}/active","href":"/api-reference/maihue/lead-answer/active"},{"title":"Purge Lead Answer","openapi":"DELETE /maihue/lead/answer/{document_id}/purge","href":"/api-reference/maihue/lead-answer/purge"}]},{"group":"Onboarding","pages":[{"title":"List Onboardings","openapi":"GET /maihue/onboarding","description":"Paginated list, newest first. Status, type and business unit filters\ntake comma lists of catalog `internal` values; the business unit also\naccepts `home`, `horeca`, `business` or a uuid. `search` matches the\naccount name, fantasy name or RUT, or an onboarding or account uuid.\nRequires `maihue-onboarding:find-all`.\n","href":"/api-reference/maihue/onboarding/find-all"},{"title":"Create Onboarding","openapi":"POST /maihue/onboarding","href":"/api-reference/maihue/onboarding/create"},{"title":"Create Onboardings in Bulk","openapi":"POST /maihue/onboarding/bulk","description":"Opens one onboarding per item (up to 500); with `invite` each new one\nis invited too. An item whose business unit already has an open\nonboarding answers `exists`; a dry run answers `would_create` and\nwrites nothing. Items fail independently. Requires\n`maihue-onboarding:create`.\n","href":"/api-reference/maihue/onboarding/bulk-create"},{"title":"Export Onboardings","openapi":"POST /maihue/onboarding/export","href":"/api-reference/maihue/onboarding/export"},{"title":"Retrieve Onboarding","openapi":"GET /maihue/onboarding/{document_id}","href":"/api-reference/maihue/onboarding/find-one"},{"title":"List Onboarding Steps","openapi":"GET /maihue/onboarding/{document_id}/step","href":"/api-reference/maihue/onboarding/steps"},{"title":"List Onboarding Events","openapi":"GET /maihue/onboarding/{document_id}/event","href":"/api-reference/maihue/onboarding/events"},{"title":"List Onboarding Notifications","openapi":"GET /maihue/onboarding/{document_id}/notification","href":"/api-reference/maihue/onboarding/notifications"},{"title":"Invite","openapi":"POST /maihue/onboarding/{document_id}/invite","href":"/api-reference/maihue/onboarding/invite"},{"title":"Resend Invitation","openapi":"POST /maihue/onboarding/{document_id}/resend","href":"/api-reference/maihue/onboarding/resend"},{"title":"Invite Onboardings in Bulk","openapi":"POST /maihue/onboarding/invite","href":"/api-reference/maihue/onboarding/bulk-invite"},{"title":"Invite by Document","openapi":"POST /maihue/onboarding/send-email","href":"/api-reference/maihue/onboarding/send-email"},{"title":"Cancel Onboarding","openapi":"POST /maihue/onboarding/{document_id}/cancel","href":"/api-reference/maihue/onboarding/cancel"}]},{"group":"Customer Onboarding (Portal)","pages":[{"title":"Read Onboarding State","openapi":"GET /portal/customer/onboarding/state","href":"/api-reference/maihue/onboarding/portal-state"},{"title":"Accept Legal Versions","openapi":"POST /portal/customer/onboarding/consent","href":"/api-reference/maihue/onboarding/portal-consent"},{"title":"Validate Identity","openapi":"POST /portal/customer/onboarding/identity","href":"/api-reference/maihue/onboarding/portal-identity"},{"title":"Confirm Payment Method","openapi":"POST /portal/customer/onboarding/payment/confirm","href":"/api-reference/maihue/onboarding/portal-payment-confirm"},{"title":"Create Password","openapi":"POST /portal/customer/onboarding/password","href":"/api-reference/maihue/onboarding/portal-password"},{"title":"Invite Accounts","openapi":"POST /portal/customer/onboarding/invitation","href":"/api-reference/maihue/onboarding/portal-invitation"},{"title":"List Pending Accounts","openapi":"GET /portal/customer/onboarding/invitation/pending","href":"/api-reference/maihue/onboarding/portal-invitation-pending"}]}]},{"group":"Product","pages":[{"group":"Company","pages":[{"title":"List Company","href":"/api-reference/product/company/find-all"},{"title":"Create Company","href":"/api-reference/product/company/create"},{"title":"Retrieve Company","href":"/api-reference/product/company/find-one"},{"title":"Update Company","href":"/api-reference/product/company/update"},{"title":"Activate/Deactivate Company","href":"/api-reference/product/company/active"},{"title":"Delete Company","href":"/api-reference/product/company/delete"},{"title":"Purge Company","href":"/api-reference/product/company/purge"}]}]},{"group":"Notification","pages":[{"group":"Notification","pages":[{"title":"Send Notifications","openapi":"POST /notification","href":"/api-reference/notification/notification/send"},{"title":"List Notifications","openapi":"api-reference/notification/notification/read-openapi.yaml GET /notification","href":"/api-reference/notification/notification/find-all"},{"title":"Get Notification","openapi":"api-reference/notification/notification/read-openapi.yaml GET /notification/{document_id}","href":"/api-reference/notification/notification/find-one"},{"title":"Get Notification Content","openapi":"api-reference/notification/notification/read-openapi.yaml GET /notification/{document_id}/content","href":"/api-reference/notification/notification/content"},{"title":"List Notification Events","openapi":"api-reference/notification/notification/read-openapi.yaml GET /notification/{document_id}/event","href":"/api-reference/notification/notification/events"},{"title":"Cancel Notification","openapi":"api-reference/notification/notification/read-openapi.yaml POST /notification/{document_id}/cancel","href":"/api-reference/notification/notification/cancel"},{"title":"Resend Notification","openapi":"api-reference/notification/platform/openapi.yaml POST /notification/{document_id}/resend","href":"/api-reference/notification/platform/resend"},{"title":"Retry Notification","openapi":"api-reference/notification/platform/openapi.yaml POST /notification/{document_id}/retry","href":"/api-reference/notification/platform/retry"},{"title":"Export Notifications","openapi":"api-reference/notification/notification/read-openapi.yaml POST /notification/export","href":"/api-reference/notification/notification/export"},{"title":"Dashboard KPIs","openapi":"api-reference/notification/notification/read-openapi.yaml GET /notification/dashboard","href":"/api-reference/notification/notification/dashboard"},{"title":"KPI Families","openapi":"api-reference/notification/platform/metric-openapi.yaml GET /notification/metric","href":"/api-reference/notification/platform/metric"},{"title":"Dispatch (deprecated)","openapi":"POST /notification/dispatch","href":"/api-reference/notification/notification/dispatch"}]},{"group":"Events and requests","pages":[{"title":"List Events","openapi":"api-reference/notification/notification/read-openapi.yaml GET /notification/event","href":"/api-reference/notification/notification/event-find-all"},{"title":"Export Events","openapi":"api-reference/notification/notification/read-openapi.yaml POST /notification/event/export","href":"/api-reference/notification/notification/event-export"},{"title":"List Requests","openapi":"api-reference/notification/notification/read-openapi.yaml GET /notification/request","href":"/api-reference/notification/notification/request-find-all"},{"title":"Get Request","openapi":"api-reference/notification/notification/read-openapi.yaml GET /notification/request/{document_id}","href":"/api-reference/notification/notification/request-find-one"}]},{"group":"Occurrences","pages":[{"title":"Search Occurrences","openapi":"api-reference/notification/platform/openapi.yaml GET /notification/occurrence","href":"/api-reference/notification/platform/occurrence-find-all"},{"title":"Get Occurrence","openapi":"api-reference/notification/platform/openapi.yaml GET /notification/occurrence/{document_id}","href":"/api-reference/notification/platform/occurrence-find-one"}]},{"group":"Catalog","pages":[{"title":"List Gateways","openapi":"api-reference/notification/notification/read-openapi.yaml GET /notification/gateway","href":"/api-reference/notification/notification/gateway-find-all"},{"title":"List Templates","openapi":"api-reference/notification/notification/read-openapi.yaml GET /notification/template","href":"/api-reference/notification/notification/template-find-all"}]},{"group":"Event catalog","pages":[{"title":"List Catalog Events","openapi":"api-reference/notification/platform/openapi.yaml GET /notification/catalog/event","href":"/api-reference/notification/platform/event-find-all"},{"title":"Get Catalog Event","openapi":"api-reference/notification/platform/openapi.yaml GET /notification/catalog/event/{document_id}","href":"/api-reference/notification/platform/event-find-one"},{"title":"Update Catalog Event","openapi":"api-reference/notification/platform/openapi.yaml PATCH /notification/catalog/event/{document_id}","href":"/api-reference/notification/platform/event-update"},{"title":"Update Catalog Event Channel","openapi":"api-reference/notification/platform/openapi.yaml PATCH /notification/catalog/event/{document_id}/channel/{channel}","href":"/api-reference/notification/platform/event-channel-update"},{"title":"Get Catalog Event History","openapi":"api-reference/notification/platform/openapi.yaml GET /notification/catalog/event/{document_id}/history","href":"/api-reference/notification/platform/event-history"}]},{"group":"Template versions","pages":[{"title":"Get Channel Contract","openapi":"api-reference/notification/template-version/openapi.yaml GET /notification/channel/{channel}/contract","href":"/api-reference/notification/template-version/channel-contract"},{"title":"List Template Versions","openapi":"api-reference/notification/template-version/openapi.yaml GET /notification/template/{document_id}/version","href":"/api-reference/notification/template-version/find-all"},{"title":"Open Template Draft","openapi":"api-reference/notification/template-version/openapi.yaml POST /notification/template/{document_id}/version","href":"/api-reference/notification/template-version/create"},{"title":"Get Template Version","openapi":"api-reference/notification/template-version/openapi.yaml GET /notification/template/{document_id}/version/{version}","href":"/api-reference/notification/template-version/find-one"},{"title":"Save Template Draft","openapi":"api-reference/notification/template-version/openapi.yaml PUT /notification/template/{document_id}/version/{version}","href":"/api-reference/notification/template-version/save"},{"title":"Discard Template Draft","openapi":"api-reference/notification/template-version/openapi.yaml DELETE /notification/template/{document_id}/version/{version}","href":"/api-reference/notification/template-version/discard"},{"title":"Preview Template Version","openapi":"api-reference/notification/template-version/openapi.yaml POST /notification/template/{document_id}/version/{version}/preview","href":"/api-reference/notification/template-version/preview"},{"title":"Test-send Template Version","openapi":"api-reference/notification/template-version/openapi.yaml POST /notification/template/{document_id}/version/{version}/test-send","href":"/api-reference/notification/template-version/test-send"},{"title":"Publish Template Version","openapi":"api-reference/notification/template-version/openapi.yaml POST /notification/template/{document_id}/version/{version}/publish","href":"/api-reference/notification/template-version/publish"},{"title":"Compare Template Versions","openapi":"api-reference/notification/template-version/openapi.yaml GET /notification/template/{document_id}/version/{version}/diff/{b}","href":"/api-reference/notification/template-version/diff"}]},{"group":"Suppressions and rates","pages":[{"title":"List Suppressions","openapi":"api-reference/notification/platform/openapi.yaml GET /notification/suppression","href":"/api-reference/notification/platform/suppression-find-all"},{"title":"Suppress Address","openapi":"api-reference/notification/platform/openapi.yaml POST /notification/suppression","href":"/api-reference/notification/platform/suppression-create"},{"title":"Lift Suppression","openapi":"api-reference/notification/platform/openapi.yaml DELETE /notification/suppression","href":"/api-reference/notification/platform/suppression-lift"},{"title":"Lift Suppression by Id","openapi":"api-reference/notification/platform/openapi.yaml DELETE /notification/suppression/{document_id}","href":"/api-reference/notification/platform/suppression-lift-one"},{"title":"List Channel Rates","openapi":"api-reference/notification/platform/openapi.yaml GET /notification/rate","href":"/api-reference/notification/platform/rate-find-all"},{"title":"Add Channel Rate","openapi":"api-reference/notification/platform/openapi.yaml POST /notification/rate","href":"/api-reference/notification/platform/rate-create"}]},{"group":"Inbox","pages":[{"title":"My Inbox","openapi":"api-reference/notification/inbox/openapi.yaml GET /notification/inbox/me","href":"/api-reference/notification/inbox/list"},{"title":"Unread Count","openapi":"api-reference/notification/inbox/openapi.yaml GET /notification/inbox/me/unread-count","href":"/api-reference/notification/inbox/unread-count"},{"title":"Mark Inbox Seen","openapi":"api-reference/notification/inbox/openapi.yaml PATCH /notification/inbox/me/seen","href":"/api-reference/notification/inbox/seen"},{"title":"Mark Inbox Read","openapi":"api-reference/notification/inbox/openapi.yaml PATCH /notification/inbox/me/read-all","href":"/api-reference/notification/inbox/read-all"},{"title":"Mark Item Read","openapi":"api-reference/notification/inbox/openapi.yaml PATCH /notification/inbox/me/{document_id}/read","href":"/api-reference/notification/inbox/read"}]},{"group":"Preferences","pages":[{"title":"Get my preferences","openapi":"GET /notification/preference/me","href":"/api-reference/notification/preference/me-find"},{"title":"Set my preference","openapi":"PUT /notification/preference/me","href":"/api-reference/notification/preference/me-upsert"},{"title":"Patch my preference","openapi":"PATCH /notification/preference/me","href":"/api-reference/notification/preference/me-patch"},{"title":"List Notification Preferences","openapi":"GET /notification/preference","href":"/api-reference/notification/preference/find-all"},{"title":"Create Notification Preference","openapi":"POST /notification/preference","href":"/api-reference/notification/preference/create"},{"title":"Set Account Preferences (Admin)","openapi":"api-reference/notification/preference/openapi.yaml PUT /notification/preference","href":"/api-reference/notification/preference/admin-upsert"},{"title":"Export Notification Preferences","openapi":"POST /notification/preference/export","href":"/api-reference/notification/preference/export"},{"title":"Get Notification Preference","openapi":"GET /notification/preference/{document_id}","href":"/api-reference/notification/preference/find-one"},{"title":"Update Notification Preference","openapi":"PATCH /notification/preference/{document_id}","href":"/api-reference/notification/preference/update"},{"title":"Delete Notification Preference","openapi":"DELETE /notification/preference/{document_id}","href":"/api-reference/notification/preference/delete"},{"title":"Activate Notification Preference","openapi":"PATCH /notification/preference/{document_id}/active","href":"/api-reference/notification/preference/active"},{"title":"Purge Notification Preference","openapi":"DELETE /notification/preference/{document_id}/purge","href":"/api-reference/notification/preference/purge"},{"title":"Unsubscribe Confirmation Page","openapi":"GET /notification/preference/unsubscribe","href":"/api-reference/notification/preference/unsubscribe-confirm"},{"title":"Unsubscribe With Email Link","openapi":"POST /notification/preference/unsubscribe","href":"/api-reference/notification/preference/unsubscribe"}]},{"group":"Webhooks","pages":[{"title":"OneSignal Event Streams","openapi":"api-reference/notification/onesignal-webhook/openapi.yaml POST /integration/onesignal/webhook","href":"/api-reference/notification/onesignal-webhook/receive"}]}]},{"group":"Permission","pages":[{"group":"API Key","pages":[{"title":"List API Keys","openapi":"GET /permission/api-key","href":"/api-reference/permission/api-key/find-all"},{"title":"Create API Key","openapi":"POST /permission/api-key","href":"/api-reference/permission/api-key/create"},{"title":"Export API Keys","openapi":"POST /permission/api-key/export","href":"/api-reference/permission/api-key/export"},{"title":"Retrieve API Key","openapi":"GET /permission/api-key/{document_id}","href":"/api-reference/permission/api-key/find-one"},{"title":"Update API Key","openapi":"PATCH /permission/api-key/{document_id}","href":"/api-reference/permission/api-key/update"},{"title":"Delete API Key","openapi":"DELETE /permission/api-key/{document_id}","href":"/api-reference/permission/api-key/delete"},{"title":"Activate API Key","openapi":"PATCH /permission/api-key/{document_id}/active","href":"/api-reference/permission/api-key/active"},{"title":"Purge API Key","openapi":"DELETE /permission/api-key/{document_id}/purge","href":"/api-reference/permission/api-key/purge"},{"title":"Rotate Secret","openapi":"POST /permission/api-key/{document_id}/rotate","href":"/api-reference/permission/api-key/rotate"},{"title":"Revoke API Key","openapi":"POST /permission/api-key/{document_id}/revoke","href":"/api-reference/permission/api-key/revoke"},{"title":"List Linked Gateways","openapi":"GET /permission/api-key/{document_id}/gateway","href":"/api-reference/permission/api-key/gateway-find-all"},{"title":"Replace Linked Gateways","openapi":"PUT /permission/api-key/{document_id}/gateway","href":"/api-reference/permission/api-key/gateway-update"}]},{"group":"API Key Permission","pages":[{"title":"List API Key Permissions","openapi":"GET /permission/api-key/permission","href":"/api-reference/permission/api-key-permission/find-all"},{"title":"Create API Key Permission","openapi":"POST /permission/api-key/permission","href":"/api-reference/permission/api-key-permission/create"},{"title":"Export API Key Permissions","openapi":"POST /permission/api-key/permission/export","href":"/api-reference/permission/api-key-permission/export"},{"title":"Get API Key Permission","openapi":"GET /permission/api-key/permission/{document_id}","href":"/api-reference/permission/api-key-permission/find-one"},{"title":"Update API Key Permission","openapi":"PATCH /permission/api-key/permission/{document_id}","href":"/api-reference/permission/api-key-permission/update"},{"title":"Delete API Key Permission","openapi":"DELETE /permission/api-key/permission/{document_id}","href":"/api-reference/permission/api-key-permission/delete"},{"title":"Activate API Key Permission","openapi":"PATCH /permission/api-key/permission/{document_id}/active","href":"/api-reference/permission/api-key-permission/active"},{"title":"Purge API Key Permission","openapi":"DELETE /permission/api-key/permission/{document_id}/purge","href":"/api-reference/permission/api-key-permission/purge"}]}]},{"group":"Webhook","pages":[{"group":"Webhook","pages":[{"title":"List Webhooks","openapi":"GET /webhook/webhook","href":"/api-reference/webhook/webhook/find-all"},{"title":"Create Webhook","openapi":"POST /webhook/webhook","href":"/api-reference/webhook/webhook/create"},{"title":"Get Webhook","openapi":"GET /webhook/webhook/{document_id}","href":"/api-reference/webhook/webhook/find-one"},{"title":"Update Webhook","openapi":"PATCH /webhook/webhook/{document_id}","href":"/api-reference/webhook/webhook/update"},{"title":"Activate Webhook","openapi":"PATCH /webhook/webhook/{document_id}/active","href":"/api-reference/webhook/webhook/active"},{"title":"Delete Webhook","openapi":"DELETE /webhook/webhook/{document_id}","href":"/api-reference/webhook/webhook/delete"},{"title":"Purge Webhook","openapi":"DELETE /webhook/webhook/{document_id}/purge","href":"/api-reference/webhook/webhook/purge"},{"title":"Export Webhooks","openapi":"POST /webhook/webhook/export","href":"/api-reference/webhook/webhook/export"},{"title":"Rotate Secret","openapi":"POST /webhook/webhook/{document_id}/rotate-secret","href":"/api-reference/webhook/webhook/rotate-secret"},{"title":"Send Test Delivery","openapi":"POST /webhook/webhook/{document_id}/test","href":"/api-reference/webhook/webhook/test"},{"title":"Preview Test Delivery","openapi":"POST /webhook/webhook/{document_id}/test/preview","href":"/api-reference/webhook/webhook/test-preview"},{"title":"Replace Subscribed Events","openapi":"PUT /webhook/webhook/{document_id}/events","href":"/api-reference/webhook/webhook/events"},{"title":"Dashboard Summary","openapi":"GET /webhook/dashboard/summary","href":"/api-reference/webhook/webhook/dashboard-summary"},{"title":"Catalogue Status","openapi":"GET /webhook/catalogue/status","href":"/api-reference/webhook/webhook/catalogue-status"}]},{"group":"Webhook Event","pages":[{"title":"List Webhook Events","openapi":"GET /webhook/webhook/event","href":"/api-reference/webhook/webhook-event/find-all"},{"title":"Create Webhook Event","openapi":"POST /webhook/webhook/event","href":"/api-reference/webhook/webhook-event/create"},{"title":"Get Webhook Event","openapi":"GET /webhook/webhook/event/{document_id}","href":"/api-reference/webhook/webhook-event/find-one"},{"title":"Update Webhook Event","openapi":"PATCH /webhook/webhook/event/{document_id}","href":"/api-reference/webhook/webhook-event/update"},{"title":"Activate Webhook Event","openapi":"PATCH /webhook/webhook/event/{document_id}/active","href":"/api-reference/webhook/webhook-event/active"},{"title":"Delete Webhook Event","openapi":"DELETE /webhook/webhook/event/{document_id}","href":"/api-reference/webhook/webhook-event/delete"},{"title":"Purge Webhook Event","openapi":"DELETE /webhook/webhook/event/{document_id}/purge","href":"/api-reference/webhook/webhook-event/purge"},{"title":"Export Webhook Events","openapi":"POST /webhook/webhook/event/export","href":"/api-reference/webhook/webhook-event/export"}]},{"group":"Webhook Dispatch","pages":[{"title":"List Deliveries","openapi":"GET /webhook/dispatch","href":"/api-reference/webhook/webhook-dispatch/find-all"},{"title":"Get Delivery","openapi":"GET /webhook/dispatch/{document_id}","href":"/api-reference/webhook/webhook-dispatch/find-one"},{"title":"Replay Delivery","openapi":"POST /webhook/dispatch/{document_id}/replay","href":"/api-reference/webhook/webhook-dispatch/replay"},{"title":"Delete Delivery","openapi":"DELETE /webhook/dispatch/{document_id}","href":"/api-reference/webhook/webhook-dispatch/delete"},{"title":"Purge Delivery","openapi":"DELETE /webhook/dispatch/{document_id}/purge","href":"/api-reference/webhook/webhook-dispatch/purge"},{"title":"Export Deliveries","openapi":"POST /webhook/dispatch/export","href":"/api-reference/webhook/webhook-dispatch/export"}]},{"group":"Event","pages":[{"title":"List Catalogue Events","openapi":"GET /webhook/event","href":"/api-reference/webhook/event/find-all"},{"title":"Get Catalogue Event","openapi":"GET /webhook/event/{document_id}","href":"/api-reference/webhook/event/find-one"},{"title":"Export Catalogue Events","openapi":"POST /webhook/event/export","href":"/api-reference/webhook/event/export"}]}]}]},{"tab":"Schemas","pages":[{"title":"Schemas","href":"/schemas/account/account"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/outbound-webhooks"}]},{"tab":"MaihueGo","pages":[{"title":"MaihueGo","href":"/maihuego/introduction"}]},{"tab":"Customer portal","pages":[{"title":"Customer portal","href":"/portal-customer/introduction"}]}]},{"language":"es","tabs":[{"tab":"Documentación","pages":[{"title":"Documentación","href":"/es/introduction"}]},{"tab":"Horizon Enterprise","pages":[{"title":"Horizon Enterprise","href":"/es/enterprise/getting-started/introduction"}]},{"tab":"BBrands Lab","pages":[{"title":"BBrands Lab","href":"/es/bbrands-lab/introduction"}]},{"tab":"Referencia API","groups":[{"group":"Account","pages":[{"group":"Account","pages":[{"title":"List Account","href":"/api-reference/account/account/find-all"},{"title":"Create Account","href":"/api-reference/account/account/create"},{"title":"Retrieve Account","href":"/api-reference/account/account/find-one"},{"title":"Update Account","href":"/api-reference/account/account/update"},{"title":"Delete Account","href":"/api-reference/account/account/delete"},{"title":"Purge Account","href":"/api-reference/account/account/purge"}]},{"group":"Account Address","pages":[{"title":"List Account Address","href":"/api-reference/account/account-address/find-all"},{"title":"Create Account Address","href":"/api-reference/account/account-address/create"},{"title":"Retrieve Account Address","href":"/api-reference/account/account-address/find-one"},{"title":"Update Account Address","href":"/api-reference/account/account-address/update"},{"title":"Delete Account Address","href":"/api-reference/account/account-address/delete"},{"title":"Purge Account Address","href":"/api-reference/account/account-address/purge"}]},{"group":"Account Email","pages":[{"title":"List Account Email","href":"/api-reference/account/account-email/find-all"},{"title":"Create Account Email","href":"/api-reference/account/account-email/create"},{"title":"Retrieve Account Email","href":"/api-reference/account/account-email/find-one"},{"title":"Update Account Email","href":"/api-reference/account/account-email/update"},{"title":"Delete Account Email","href":"/api-reference/account/account-email/delete"},{"title":"Purge Account Email","href":"/api-reference/account/account-email/purge"}]},{"group":"Account Phone","pages":[{"title":"List Account Phone","href":"/api-reference/account/account-phone/find-all"},{"title":"Create Account Phone","href":"/api-reference/account/account-phone/create"},{"title":"Retrieve Account Phone","href":"/api-reference/account/account-phone/find-one"},{"title":"Update Account Phone","href":"/api-reference/account/account-phone/update"},{"title":"Delete Account Phone","href":"/api-reference/account/account-phone/delete"},{"title":"Purge Account Phone","href":"/api-reference/account/account-phone/purge"}]},{"group":"Account Segment","pages":[{"title":"List Account Segment","href":"/api-reference/account/account-segment/find-all"},{"title":"Create Account Segment","href":"/api-reference/account/account-segment/create"},{"title":"Retrieve Account Segment","href":"/api-reference/account/account-segment/find-one"},{"title":"Update Account Segment","href":"/api-reference/account/account-segment/update"},{"title":"Delete Account Segment","href":"/api-reference/account/account-segment/delete"},{"title":"Purge Account Segment","href":"/api-reference/account/account-segment/purge"}]},{"group":"Account User","pages":[{"title":"List Account User","href":"/api-reference/account/account-user/find-all"},{"title":"Create Account User","href":"/api-reference/account/account-user/create"},{"title":"Retrieve Account User","href":"/api-reference/account/account-user/find-one"},{"title":"Update Account User","href":"/api-reference/account/account-user/update"},{"title":"Delete Account User","href":"/api-reference/account/account-user/delete"},{"title":"Purge Account User","href":"/api-reference/account/account-user/purge"}]}]},{"group":"Authentication","pages":[{"group":"Authentication","pages":[{"title":"Register accounts during a legacy migration","openapi":"POST /auth/register/migration","href":"/api-reference/auth/auth/register-migration"},{"title":"Verify user email","openapi":"POST /auth/verify-email","href":"/api-reference/auth/auth/verify-email"}]}]},{"group":"General","pages":[{"group":"Address","pages":[{"title":"List Address","href":"/api-reference/general/address/find-all"},{"title":"Create Address","href":"/api-reference/general/address/create"},{"title":"Retrieve Address","href":"/api-reference/general/address/find-one"},{"title":"Update Address","href":"/api-reference/general/address/update"},{"title":"Delete Address","href":"/api-reference/general/address/delete"},{"title":"Purge Address","href":"/api-reference/general/address/purge"}]},{"group":"Currency","pages":[{"title":"List Currency","href":"/api-reference/general/currency/find-all"},{"title":"Create Currency","href":"/api-reference/general/currency/create"},{"title":"Retrieve Currency","href":"/api-reference/general/currency/find-one"},{"title":"Update Currency","href":"/api-reference/general/currency/update"},{"title":"Delete Currency","href":"/api-reference/general/currency/delete"},{"title":"Purge Currency","href":"/api-reference/general/currency/purge"}]},{"group":"Currency Country","pages":[{"title":"List Currency Country","href":"/api-reference/general/currency-country/find-all"},{"title":"Create Currency Country","href":"/api-reference/general/currency-country/create"},{"title":"Retrieve Currency Country","href":"/api-reference/general/currency-country/find-one"},{"title":"Update Currency Country","href":"/api-reference/general/currency-country/update"},{"title":"Delete Currency Country","href":"/api-reference/general/currency-country/delete"},{"title":"Purge Currency Country","href":"/api-reference/general/currency-country/purge"}]},{"group":"Email","pages":[{"title":"List Email","href":"/api-reference/general/email/find-all"},{"title":"Create Email","href":"/api-reference/general/email/create"},{"title":"Retrieve Email","href":"/api-reference/general/email/find-one"},{"title":"Update Email","href":"/api-reference/general/email/update"},{"title":"Delete Email","href":"/api-reference/general/email/delete"},{"title":"Purge Email","href":"/api-reference/general/email/purge"}]},{"group":"Language","pages":[{"title":"List Language","href":"/api-reference/general/language/find-all"},{"title":"Create Language","href":"/api-reference/general/language/create"},{"title":"Retrieve Language","href":"/api-reference/general/language/find-one"},{"title":"Update Language","href":"/api-reference/general/language/update"},{"title":"Delete Language","href":"/api-reference/general/language/delete"},{"title":"Purge Language","href":"/api-reference/general/language/purge"}]},{"group":"Marital Status","pages":[{"title":"List Marital Status","href":"/api-reference/general/marital-status/find-all"},{"title":"Create Marital Status","href":"/api-reference/general/marital-status/create"},{"title":"Retrieve Marital Status","href":"/api-reference/general/marital-status/find-one"},{"title":"Update Marital Status","href":"/api-reference/general/marital-status/update"},{"title":"Delete Marital Status","href":"/api-reference/general/marital-status/delete"},{"title":"Purge Marital Status","href":"/api-reference/general/marital-status/purge"}]},{"group":"Phone","pages":[{"title":"List Phone","href":"/api-reference/general/phone/find-all"},{"title":"Create Phone","href":"/api-reference/general/phone/create"},{"title":"Retrieve Phone","href":"/api-reference/general/phone/find-one"},{"title":"Update Phone","href":"/api-reference/general/phone/update"},{"title":"Delete Phone","href":"/api-reference/general/phone/delete"},{"title":"Purge Phone","href":"/api-reference/general/phone/purge"}]},{"group":"Sex","pages":[{"title":"List Sex","href":"/api-reference/general/sex/find-all"},{"title":"Create Sex","href":"/api-reference/general/sex/create"},{"title":"Retrieve Sex","href":"/api-reference/general/sex/find-one"},{"title":"Update Sex","href":"/api-reference/general/sex/update"},{"title":"Delete Sex","href":"/api-reference/general/sex/delete"},{"title":"Purge Sex","href":"/api-reference/general/sex/purge"}]},{"group":"Timezone","pages":[{"title":"List Timezone","href":"/api-reference/general/timezone/find-all"},{"title":"Create Timezone","href":"/api-reference/general/timezone/create"},{"title":"Retrieve Timezone","href":"/api-reference/general/timezone/find-one"},{"title":"Update Timezone","href":"/api-reference/general/timezone/update"},{"title":"Delete Timezone","href":"/api-reference/general/timezone/delete"},{"title":"Purge Timezone","href":"/api-reference/general/timezone/purge"}]},{"group":"Type Address","pages":[{"title":"List Type Address","href":"/api-reference/general/type-address/find-all"},{"title":"Create Type Address","href":"/api-reference/general/type-address/create"},{"title":"Retrieve Type Address","href":"/api-reference/general/type-address/find-one"},{"title":"Update Type Address","href":"/api-reference/general/type-address/update"},{"title":"Delete Type Address","href":"/api-reference/general/type-address/delete"},{"title":"Purge Type Address","href":"/api-reference/general/type-address/purge"}]},{"group":"Type Dni","pages":[{"title":"List Type Dni","href":"/api-reference/general/type-dni/find-all"},{"title":"Create Type Dni","href":"/api-reference/general/type-dni/create"},{"title":"Retrieve Type Dni","href":"/api-reference/general/type-dni/find-one"},{"title":"Update Type Dni","href":"/api-reference/general/type-dni/update"},{"title":"Delete Type Dni","href":"/api-reference/general/type-dni/delete"},{"title":"Purge Type Dni","href":"/api-reference/general/type-dni/purge"}]},{"group":"Type Email","pages":[{"title":"List Type Email","href":"/api-reference/general/type-email/find-all"},{"title":"Create Type Email","href":"/api-reference/general/type-email/create"},{"title":"Retrieve Type Email","href":"/api-reference/general/type-email/find-one"},{"title":"Update Type Email","href":"/api-reference/general/type-email/update"},{"title":"Delete Type Email","href":"/api-reference/general/type-email/delete"},{"title":"Purge Type Email","href":"/api-reference/general/type-email/purge"}]},{"group":"Type Phone","pages":[{"title":"List Type Phone","href":"/api-reference/general/type-phone/find-all"},{"title":"Create Type Phone","href":"/api-reference/general/type-phone/create"},{"title":"Retrieve Type Phone","href":"/api-reference/general/type-phone/find-one"},{"title":"Update Type Phone","href":"/api-reference/general/type-phone/update"},{"title":"Delete Type Phone","href":"/api-reference/general/type-phone/delete"},{"title":"Purge Type Phone","href":"/api-reference/general/type-phone/purge"}]}]},{"group":"Geolocation","pages":[{"group":"City","pages":[{"title":"List City","href":"/api-reference/geolocation/city/find-all"},{"title":"Create City","href":"/api-reference/geolocation/city/create"},{"title":"Retrieve City","href":"/api-reference/geolocation/city/find-one"},{"title":"Update City","href":"/api-reference/geolocation/city/update"},{"title":"Delete City","href":"/api-reference/geolocation/city/delete"},{"title":"Purge City","href":"/api-reference/geolocation/city/purge"}]},{"group":"Country","pages":[{"title":"List Country","href":"/api-reference/geolocation/country/find-all"},{"title":"Create Country","href":"/api-reference/geolocation/country/create"},{"title":"Retrieve Country","href":"/api-reference/geolocation/country/find-one"},{"title":"Update Country","href":"/api-reference/geolocation/country/update"},{"title":"Delete Country","href":"/api-reference/geolocation/country/delete"},{"title":"Purge Country","href":"/api-reference/geolocation/country/purge"}]},{"group":"State","pages":[{"title":"List State","href":"/api-reference/geolocation/state/find-all"},{"title":"Create State","href":"/api-reference/geolocation/state/create"},{"title":"Retrieve State","href":"/api-reference/geolocation/state/find-one"},{"title":"Update State","href":"/api-reference/geolocation/state/update"},{"title":"Delete State","href":"/api-reference/geolocation/state/delete"},{"title":"Purge State","href":"/api-reference/geolocation/state/purge"}]}]},{"group":"Maihue","pages":[{"group":"Form","pages":[{"title":"List Forms","openapi":"GET /maihue/form","href":"/api-reference/maihue/form/find-all"},{"title":"Create Form","openapi":"POST /maihue/form","href":"/api-reference/maihue/form/create"},{"title":"Export Forms","openapi":"POST /maihue/form/export","href":"/api-reference/maihue/form/export"},{"title":"Get Form","openapi":"GET /maihue/form/{document_id}","href":"/api-reference/maihue/form/find-one"},{"title":"Update Form","openapi":"PATCH /maihue/form/{document_id}","href":"/api-reference/maihue/form/update"},{"title":"Delete Form","openapi":"DELETE /maihue/form/{document_id}","href":"/api-reference/maihue/form/delete"},{"title":"Activate Form","openapi":"PATCH /maihue/form/{document_id}/active","href":"/api-reference/maihue/form/active"},{"title":"Purge Form","openapi":"DELETE /maihue/form/{document_id}/purge","href":"/api-reference/maihue/form/purge"}]},{"group":"Form Answer","pages":[{"title":"List Form Answers","openapi":"GET /maihue/form/answer","href":"/api-reference/maihue/form-answer/find-all"},{"title":"Create Form Answer","openapi":"POST /maihue/form/answer","href":"/api-reference/maihue/form-answer/create"},{"title":"Export Form Answers","openapi":"POST /maihue/form/answer/export","href":"/api-reference/maihue/form-answer/export"},{"title":"Get Form Answer","openapi":"GET /maihue/form/answer/{document_id}","href":"/api-reference/maihue/form-answer/find-one"},{"title":"Update Form Answer","openapi":"PATCH /maihue/form/answer/{document_id}","href":"/api-reference/maihue/form-answer/update"},{"title":"Delete Form Answer","openapi":"DELETE /maihue/form/answer/{document_id}","href":"/api-reference/maihue/form-answer/delete"},{"title":"Activate Form Answer","openapi":"PATCH /maihue/form/answer/{document_id}/active","href":"/api-reference/maihue/form-answer/active"},{"title":"Purge Form Answer","openapi":"DELETE /maihue/form/answer/{document_id}/purge","href":"/api-reference/maihue/form-answer/purge"}]},{"group":"Form Question","pages":[{"title":"List Questions","openapi":"GET /maihue/question","href":"/api-reference/maihue/form-question/find-all"},{"title":"Create Question","openapi":"POST /maihue/question","href":"/api-reference/maihue/form-question/create"},{"title":"Export Questions","openapi":"POST /maihue/question/export","href":"/api-reference/maihue/form-question/export"},{"title":"Get Question","openapi":"GET /maihue/question/{document_id}","href":"/api-reference/maihue/form-question/find-one"},{"title":"Update Question","openapi":"PATCH /maihue/question/{document_id}","href":"/api-reference/maihue/form-question/update"},{"title":"Delete Question","openapi":"DELETE /maihue/question/{document_id}","href":"/api-reference/maihue/form-question/delete"},{"title":"Activate Question","openapi":"PATCH /maihue/question/{document_id}/active","href":"/api-reference/maihue/form-question/active"},{"title":"Purge Question","openapi":"DELETE /maihue/question/{document_id}/purge","href":"/api-reference/maihue/form-question/purge"}]},{"group":"Form Workflow","pages":[{"title":"List Form Workflows","openapi":"GET /maihue/form/workflow","href":"/api-reference/maihue/form-workflow/find-all"},{"title":"Create Form Workflow","openapi":"POST /maihue/form/workflow","href":"/api-reference/maihue/form-workflow/create"},{"title":"Export Form Workflows","openapi":"POST /maihue/form/workflow/export","href":"/api-reference/maihue/form-workflow/export"},{"title":"Get Form Workflow","openapi":"GET /maihue/form/workflow/{document_id}","href":"/api-reference/maihue/form-workflow/find-one"},{"title":"Update Form Workflow","openapi":"PATCH /maihue/form/workflow/{document_id}","href":"/api-reference/maihue/form-workflow/update"},{"title":"Delete Form Workflow","openapi":"DELETE /maihue/form/workflow/{document_id}","href":"/api-reference/maihue/form-workflow/delete"},{"title":"Activate Form Workflow","openapi":"PATCH /maihue/form/workflow/{document_id}/active","href":"/api-reference/maihue/form-workflow/active"},{"title":"Purge Form Workflow","openapi":"DELETE /maihue/form/workflow/{document_id}/purge","href":"/api-reference/maihue/form-workflow/purge"}]},{"group":"Form Workflow Step","pages":[{"title":"List Form Workflow Steps","openapi":"GET /maihue/form/workflow/step","href":"/api-reference/maihue/form-workflow-step/find-all"},{"title":"Create Form Workflow Step","openapi":"POST /maihue/form/workflow/step","href":"/api-reference/maihue/form-workflow-step/create"},{"title":"Export Form Workflow Steps","openapi":"POST /maihue/form/workflow/step/export","href":"/api-reference/maihue/form-workflow-step/export"},{"title":"Get Form Workflow Step","openapi":"GET /maihue/form/workflow/step/{document_id}","href":"/api-reference/maihue/form-workflow-step/find-one"},{"title":"Update Form Workflow Step","openapi":"PATCH /maihue/form/workflow/step/{document_id}","href":"/api-reference/maihue/form-workflow-step/update"},{"title":"Delete Form Workflow Step","openapi":"DELETE /maihue/form/workflow/step/{document_id}","href":"/api-reference/maihue/form-workflow-step/delete"},{"title":"Activate Form Workflow Step","openapi":"PATCH /maihue/form/workflow/step/{document_id}/active","href":"/api-reference/maihue/form-workflow-step/active"},{"title":"Purge Form Workflow Step","openapi":"DELETE /maihue/form/workflow/step/{document_id}/purge","href":"/api-reference/maihue/form-workflow-step/purge"}]},{"group":"Garage Esp","pages":[{"title":"List Garage ESP","href":"/api-reference/maihue/garage-esp/find-all"},{"title":"Create Garage ESP","href":"/api-reference/maihue/garage-esp/create"},{"title":"Retrieve Garage ESP","href":"/api-reference/maihue/garage-esp/find-one"},{"title":"Update Garage ESP","href":"/api-reference/maihue/garage-esp/update"},{"title":"Delete Garage ESP","href":"/api-reference/maihue/garage-esp/delete"},{"title":"Purge Garage ESP","href":"/api-reference/maihue/garage-esp/purge"}]},{"group":"Lead","pages":[{"title":"List Leads","openapi":"GET /maihue/lead","href":"/api-reference/maihue/lead/find-all"},{"title":"Create Lead","openapi":"POST /maihue/lead","href":"/api-reference/maihue/lead/create"},{"title":"Export Leads","openapi":"POST /maihue/lead/export","href":"/api-reference/maihue/lead/export"},{"title":"Get Lead","openapi":"GET /maihue/lead/{document_id}","href":"/api-reference/maihue/lead/find-one"},{"title":"Update Lead","openapi":"PATCH /maihue/lead/{document_id}","href":"/api-reference/maihue/lead/update"},{"title":"Delete Lead","openapi":"DELETE /maihue/lead/{document_id}","href":"/api-reference/maihue/lead/delete"},{"title":"Activate Lead","openapi":"PATCH /maihue/lead/{document_id}/active","href":"/api-reference/maihue/lead/active"},{"title":"Purge Lead","openapi":"DELETE /maihue/lead/{document_id}/purge","href":"/api-reference/maihue/lead/purge"}]},{"group":"Lead Answer","pages":[{"title":"List Lead Answers","openapi":"GET /maihue/lead/answer","href":"/api-reference/maihue/lead-answer/find-all"},{"title":"Create Lead Answer","openapi":"POST /maihue/lead/answer","href":"/api-reference/maihue/lead-answer/create"},{"title":"Export Lead Answers","openapi":"POST /maihue/lead/answer/export","href":"/api-reference/maihue/lead-answer/export"},{"title":"Get Lead Answer","openapi":"GET /maihue/lead/answer/{document_id}","href":"/api-reference/maihue/lead-answer/find-one"},{"title":"Update Lead Answer","openapi":"PATCH /maihue/lead/answer/{document_id}","href":"/api-reference/maihue/lead-answer/update"},{"title":"Delete Lead Answer","openapi":"DELETE /maihue/lead/answer/{document_id}","href":"/api-reference/maihue/lead-answer/delete"},{"title":"Activate Lead Answer","openapi":"PATCH /maihue/lead/answer/{document_id}/active","href":"/api-reference/maihue/lead-answer/active"},{"title":"Purge Lead Answer","openapi":"DELETE /maihue/lead/answer/{document_id}/purge","href":"/api-reference/maihue/lead-answer/purge"}]},{"group":"Onboarding","pages":[{"title":"List Onboardings","openapi":"GET /maihue/onboarding","description":"Paginated list, newest first. Status, type and business unit filters\ntake comma lists of catalog `internal` values; the business unit also\naccepts `home`, `horeca`, `business` or a uuid. `search` matches the\naccount name, fantasy name or RUT, or an onboarding or account uuid.\nRequires `maihue-onboarding:find-all`.\n","href":"/api-reference/maihue/onboarding/find-all"},{"title":"Create Onboarding","openapi":"POST /maihue/onboarding","href":"/api-reference/maihue/onboarding/create"},{"title":"Create Onboardings in Bulk","openapi":"POST /maihue/onboarding/bulk","description":"Opens one onboarding per item (up to 500); with `invite` each new one\nis invited too. An item whose business unit already has an open\nonboarding answers `exists`; a dry run answers `would_create` and\nwrites nothing. Items fail independently. Requires\n`maihue-onboarding:create`.\n","href":"/api-reference/maihue/onboarding/bulk-create"},{"title":"Export Onboardings","openapi":"POST /maihue/onboarding/export","href":"/api-reference/maihue/onboarding/export"},{"title":"Retrieve Onboarding","openapi":"GET /maihue/onboarding/{document_id}","href":"/api-reference/maihue/onboarding/find-one"},{"title":"List Onboarding Steps","openapi":"GET /maihue/onboarding/{document_id}/step","href":"/api-reference/maihue/onboarding/steps"},{"title":"List Onboarding Events","openapi":"GET /maihue/onboarding/{document_id}/event","href":"/api-reference/maihue/onboarding/events"},{"title":"List Onboarding Notifications","openapi":"GET /maihue/onboarding/{document_id}/notification","href":"/api-reference/maihue/onboarding/notifications"},{"title":"Invite","openapi":"POST /maihue/onboarding/{document_id}/invite","href":"/api-reference/maihue/onboarding/invite"},{"title":"Resend Invitation","openapi":"POST /maihue/onboarding/{document_id}/resend","href":"/api-reference/maihue/onboarding/resend"},{"title":"Invite Onboardings in Bulk","openapi":"POST /maihue/onboarding/invite","href":"/api-reference/maihue/onboarding/bulk-invite"},{"title":"Invite by Document","openapi":"POST /maihue/onboarding/send-email","href":"/api-reference/maihue/onboarding/send-email"},{"title":"Cancel Onboarding","openapi":"POST /maihue/onboarding/{document_id}/cancel","href":"/api-reference/maihue/onboarding/cancel"}]},{"group":"Customer Onboarding (Portal)","pages":[{"title":"Read Onboarding State","openapi":"GET /portal/customer/onboarding/state","href":"/api-reference/maihue/onboarding/portal-state"},{"title":"Accept Legal Versions","openapi":"POST /portal/customer/onboarding/consent","href":"/api-reference/maihue/onboarding/portal-consent"},{"title":"Validate Identity","openapi":"POST /portal/customer/onboarding/identity","href":"/api-reference/maihue/onboarding/portal-identity"},{"title":"Confirm Payment Method","openapi":"POST /portal/customer/onboarding/payment/confirm","href":"/api-reference/maihue/onboarding/portal-payment-confirm"},{"title":"Create Password","openapi":"POST /portal/customer/onboarding/password","href":"/api-reference/maihue/onboarding/portal-password"},{"title":"Invite Accounts","openapi":"POST /portal/customer/onboarding/invitation","href":"/api-reference/maihue/onboarding/portal-invitation"},{"title":"List Pending Accounts","openapi":"GET /portal/customer/onboarding/invitation/pending","href":"/api-reference/maihue/onboarding/portal-invitation-pending"}]}]},{"group":"Product","pages":[{"group":"Company","pages":[{"title":"List Company","href":"/api-reference/product/company/find-all"},{"title":"Create Company","href":"/api-reference/product/company/create"},{"title":"Retrieve Company","href":"/api-reference/product/company/find-one"},{"title":"Update Company","href":"/api-reference/product/company/update"},{"title":"Activate/Deactivate Company","href":"/api-reference/product/company/active"},{"title":"Delete Company","href":"/api-reference/product/company/delete"},{"title":"Purge Company","href":"/api-reference/product/company/purge"}]}]},{"group":"Permission","pages":[{"group":"API Key","pages":[{"title":"List API Keys","openapi":"GET /permission/api-key","href":"/api-reference/permission/api-key/find-all"},{"title":"Create API Key","openapi":"POST /permission/api-key","href":"/api-reference/permission/api-key/create"},{"title":"Export API Keys","openapi":"POST /permission/api-key/export","href":"/api-reference/permission/api-key/export"},{"title":"Retrieve API Key","openapi":"GET /permission/api-key/{document_id}","href":"/api-reference/permission/api-key/find-one"},{"title":"Update API Key","openapi":"PATCH /permission/api-key/{document_id}","href":"/api-reference/permission/api-key/update"},{"title":"Delete API Key","openapi":"DELETE /permission/api-key/{document_id}","href":"/api-reference/permission/api-key/delete"},{"title":"Activate API Key","openapi":"PATCH /permission/api-key/{document_id}/active","href":"/api-reference/permission/api-key/active"},{"title":"Purge API Key","openapi":"DELETE /permission/api-key/{document_id}/purge","href":"/api-reference/permission/api-key/purge"},{"title":"Rotate Secret","openapi":"POST /permission/api-key/{document_id}/rotate","href":"/api-reference/permission/api-key/rotate"},{"title":"Revoke API Key","openapi":"POST /permission/api-key/{document_id}/revoke","href":"/api-reference/permission/api-key/revoke"},{"title":"List Linked Gateways","openapi":"GET /permission/api-key/{document_id}/gateway","href":"/api-reference/permission/api-key/gateway-find-all"},{"title":"Replace Linked Gateways","openapi":"PUT /permission/api-key/{document_id}/gateway","href":"/api-reference/permission/api-key/gateway-update"}]},{"group":"API Key Permission","pages":[{"title":"List API Key Permissions","openapi":"GET /permission/api-key/permission","href":"/api-reference/permission/api-key-permission/find-all"},{"title":"Create API Key Permission","openapi":"POST /permission/api-key/permission","href":"/api-reference/permission/api-key-permission/create"},{"title":"Export API Key Permissions","openapi":"POST /permission/api-key/permission/export","href":"/api-reference/permission/api-key-permission/export"},{"title":"Get API Key Permission","openapi":"GET /permission/api-key/permission/{document_id}","href":"/api-reference/permission/api-key-permission/find-one"},{"title":"Update API Key Permission","openapi":"PATCH /permission/api-key/permission/{document_id}","href":"/api-reference/permission/api-key-permission/update"},{"title":"Delete API Key Permission","openapi":"DELETE /permission/api-key/permission/{document_id}","href":"/api-reference/permission/api-key-permission/delete"},{"title":"Activate API Key Permission","openapi":"PATCH /permission/api-key/permission/{document_id}/active","href":"/api-reference/permission/api-key-permission/active"},{"title":"Purge API Key Permission","openapi":"DELETE /permission/api-key/permission/{document_id}/purge","href":"/api-reference/permission/api-key-permission/purge"}]}]},{"group":"Webhook","pages":[{"group":"Webhook","pages":[{"title":"List Webhooks","openapi":"GET /webhook/webhook","href":"/api-reference/webhook/webhook/find-all"},{"title":"Create Webhook","openapi":"POST /webhook/webhook","href":"/api-reference/webhook/webhook/create"},{"title":"Get Webhook","openapi":"GET /webhook/webhook/{document_id}","href":"/api-reference/webhook/webhook/find-one"},{"title":"Update Webhook","openapi":"PATCH /webhook/webhook/{document_id}","href":"/api-reference/webhook/webhook/update"},{"title":"Activate Webhook","openapi":"PATCH /webhook/webhook/{document_id}/active","href":"/api-reference/webhook/webhook/active"},{"title":"Delete Webhook","openapi":"DELETE /webhook/webhook/{document_id}","href":"/api-reference/webhook/webhook/delete"},{"title":"Purge Webhook","openapi":"DELETE /webhook/webhook/{document_id}/purge","href":"/api-reference/webhook/webhook/purge"},{"title":"Export Webhooks","openapi":"POST /webhook/webhook/export","href":"/api-reference/webhook/webhook/export"},{"title":"Rotate Secret","openapi":"POST /webhook/webhook/{document_id}/rotate-secret","href":"/api-reference/webhook/webhook/rotate-secret"},{"title":"Send Test Delivery","openapi":"POST /webhook/webhook/{document_id}/test","href":"/api-reference/webhook/webhook/test"},{"title":"Preview Test Delivery","openapi":"POST /webhook/webhook/{document_id}/test/preview","href":"/api-reference/webhook/webhook/test-preview"},{"title":"Replace Subscribed Events","openapi":"PUT /webhook/webhook/{document_id}/events","href":"/api-reference/webhook/webhook/events"},{"title":"Dashboard Summary","openapi":"GET /webhook/dashboard/summary","href":"/api-reference/webhook/webhook/dashboard-summary"},{"title":"Catalogue Status","openapi":"GET /webhook/catalogue/status","href":"/api-reference/webhook/webhook/catalogue-status"}]},{"group":"Webhook Event","pages":[{"title":"List Webhook Events","openapi":"GET /webhook/webhook/event","href":"/api-reference/webhook/webhook-event/find-all"},{"title":"Create Webhook Event","openapi":"POST /webhook/webhook/event","href":"/api-reference/webhook/webhook-event/create"},{"title":"Get Webhook Event","openapi":"GET /webhook/webhook/event/{document_id}","href":"/api-reference/webhook/webhook-event/find-one"},{"title":"Update Webhook Event","openapi":"PATCH /webhook/webhook/event/{document_id}","href":"/api-reference/webhook/webhook-event/update"},{"title":"Activate Webhook Event","openapi":"PATCH /webhook/webhook/event/{document_id}/active","href":"/api-reference/webhook/webhook-event/active"},{"title":"Delete Webhook Event","openapi":"DELETE /webhook/webhook/event/{document_id}","href":"/api-reference/webhook/webhook-event/delete"},{"title":"Purge Webhook Event","openapi":"DELETE /webhook/webhook/event/{document_id}/purge","href":"/api-reference/webhook/webhook-event/purge"},{"title":"Export Webhook Events","openapi":"POST /webhook/webhook/event/export","href":"/api-reference/webhook/webhook-event/export"}]},{"group":"Webhook Dispatch","pages":[{"title":"List Deliveries","openapi":"GET /webhook/dispatch","href":"/api-reference/webhook/webhook-dispatch/find-all"},{"title":"Get Delivery","openapi":"GET /webhook/dispatch/{document_id}","href":"/api-reference/webhook/webhook-dispatch/find-one"},{"title":"Replay Delivery","openapi":"POST /webhook/dispatch/{document_id}/replay","href":"/api-reference/webhook/webhook-dispatch/replay"},{"title":"Delete Delivery","openapi":"DELETE /webhook/dispatch/{document_id}","href":"/api-reference/webhook/webhook-dispatch/delete"},{"title":"Purge Delivery","openapi":"DELETE /webhook/dispatch/{document_id}/purge","href":"/api-reference/webhook/webhook-dispatch/purge"},{"title":"Export Deliveries","openapi":"POST /webhook/dispatch/export","href":"/api-reference/webhook/webhook-dispatch/export"}]},{"group":"Event","pages":[{"title":"List Catalogue Events","openapi":"GET /webhook/event","href":"/api-reference/webhook/event/find-all"},{"title":"Get Catalogue Event","openapi":"GET /webhook/event/{document_id}","href":"/api-reference/webhook/event/find-one"},{"title":"Export Catalogue Events","openapi":"POST /webhook/event/export","href":"/api-reference/webhook/event/export"}]}]}]},{"tab":"Esquemas","pages":[{"title":"Esquemas","href":"/schemas/account/account"}]},{"tab":"Registro de cambios","pages":[{"title":"Registro de cambios","href":"/changelog/outbound-webhooks"}]},{"tab":"MaihueGo","pages":[{"title":"MaihueGo","href":"/es/maihuego/introduction"}]},{"tab":"Portal de clientes","pages":[{"title":"Portal de clientes","href":"/es/portal-customer/introduction"}]}]}]},"basePath":"","title":"Create Onboarding - B Brands Docs","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CWRF67qg.js","snippetPresets-BR8BoZAC.js","utils-D5WEoDBM.js","style-to-object-BY3JEAdk.js","utils-B79vXYXV.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-C59iNs-S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-455jK_K_.js","_Uint8Array-BEecbuUl.js","isObject-FP1Yky1u.js","ApiExamples-CFRHL52q.js","usePlaygroundInputsStore-Caip2xMX.js","shallow-BS-qcxmX.js","isEqual-CEpbaqh9.js","CodeSnippets-B-R0FAqw.js","CodeSnippet-Bkkti1IB.js","use-playground-group-access-BLvLSz8w.js","Page-UFatEFaf.js","api-description-markdown-Cny85OC3.js","DynamicMarkdown-Czhs88Hc.js","SectionHeading-B08KBUKT.js","MethodPill-D8OvWg5y.js","getPastedJson-tB5m0_yh.js","Check2Icon-CeP__a4S.js","axios-CsQoIw0U.js","Markdown-LI7DSqeK.js","AssistantPageLink-bYxdsqKl.js","dist-DXTH2WLA.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}