Unlike the upsert endpoint which matches by email or phone, this endpoint
updates a specific contact by their ID. Use this when you need a deterministic update by ID — especially when changing
a contact’s email address.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Minimo Docs","colors":{"primary":"#000000","light":"#fafafa","dark":"#000000"},"favicon":"https://mintcdn.com/minimo/3CkweOTs_wJBldaS/favicon.svg?fit=max\u0026auto=format\u0026n=3CkweOTs_wJBldaS\u0026q=85\u0026s=741f59ded2f05d51dd8ed745b6b9304d","logo":{"light":"https://mintcdn.com/minimo/_5TQWO7ZAmNbow_0/logo/light.svg?fit=max\u0026auto=format\u0026n=_5TQWO7ZAmNbow_0\u0026q=85\u0026s=770ea7f424284ce6f88684bb97af23f0","dark":"https://mintcdn.com/minimo/_5TQWO7ZAmNbow_0/logo/dark.svg?fit=max\u0026auto=format\u0026n=_5TQWO7ZAmNbow_0\u0026q=85\u0026s=d0eaf24238816ed860e88d67985c7d27"},"api":{"openapi":["api-reference/openApi.yml"]},"navbar":{"links":[{"label":"Support","href":"mailto:info@minimo.it"}],"primary":{"type":"button","label":"Start now for free","href":"https://app.minimo.it"}},"footer":{"socials":{"instagram":"https://instagram.com/thebareminimo","linkedin":"https://www.linkedin.com/company/thebareminimo"}},"integrations":{},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Sito Web","href":"https://minimo.it","icon":"desktop"},{"anchor":"Blog","href":"https://minimo.it/blog","icon":"newspaper"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"minimo","hasAudioNarration":false,"actualSubdomain":"minimo","customDomains":["docs.minimo.it"],"gitSource":{"type":"github","owner":"thebareminimo","repo":"docs-v2","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae21dafba4b20fd94ee438f","collectionId":"7f27c267-ad64-4761-8131-bf487f9ce969","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae21dafba4b20fd94ee438f"},"entitlements":{},"buildId":"6ae21dafba4b20fd94ee438f","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"API Reference","count":26},{"language":"default","tag":"Product","count":15},{"language":"default","tag":"Messaging Channels","count":9},{"language":"default","tag":"Core Data","count":6},{"language":"default","tag":"Contacts","count":5},{"language":"default","tag":"Email","count":5},{"language":"default","tag":"Connect a Bot (WhatsApp)","count":5},{"language":"default","tag":"Messaging","count":5},{"language":"default","tag":"WhatsApp","count":4},{"language":"default","tag":"Legacy (Deprecated)","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","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":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","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":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/core-data/contacts/update-by-id","slug":"/api-reference/core-data/contacts/update-by-id","pageMetadata":{"title":"Update Contact by ID","description":"Update an existing contact using their ID","openapi":"put /public/v1/contacts/{id}","href":"/api-reference/core-data/contacts/update-by-id"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Update an existing contact using their ID\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Step,Steps,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Tip,{children:_jsxs(_components.p,{children:[`Unlike the `,_jsx(_components.a,{href:`/api-reference/core-data/contacts/upsert`,children:`upsert endpoint`}),` which matches by email or phone, this endpoint\nupdates a specific contact by their ID. Use this when you need a deterministic update by ID — especially when changing\na contact’s email address.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`when-to-use-this`,children:`When to Use This`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Scenario`}),_jsx(_components.th,{children:`Use this endpoint`}),_jsx(_components.th,{children:`Use upsert instead`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Change a contact’s email`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Only if phone number is also provided (upsert falls back to phone matching)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Update a known contact by ID`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Either works`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Create a new contact`}),_jsx(_components.td,{children:`No (returns 404)`}),_jsx(_components.td,{children:`Yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Update by email/phone match`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Yes`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How It Works`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Only provided fields are updated`}),` — omitted fields are preserved`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Custom fields are deep merged`}),` — existing custom fields not included in the request are kept`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Automations are triggered`}),` — field change detection and automation triggers work the same as upsert`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Soft-deleted contacts are restored`}),` — if the contact was deleted, it will be restored with the provided data`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`marketing-consent`,children:`Marketing Consent`}),`\n`,_jsx(_components.p,{children:`Update channel-specific marketing consent for a contact:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"marketingConsent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"whatsapp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`email`})}),_jsx(_components.td,{children:`boolean`}),_jsxs(_components.td,{children:[`Email marketing opt-in (`,_jsx(_components.code,{children:`true`}),`) or opt-out (`,_jsx(_components.code,{children:`false`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`whatsapp`})}),_jsx(_components.td,{children:`boolean`}),_jsxs(_components.td,{children:[`WhatsApp marketing opt-in (`,_jsx(_components.code,{children:`true`}),`) or opt-out (`,_jsx(_components.code,{children:`false`}),`)`]})]})]})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Both fields are optional. Omitting a channel leaves its current consent status unchanged. Setting `,_jsx(_components.code,{children:`true`}),` opts the\ncontact in, `,_jsx(_components.code,{children:`false`}),` opts them out.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`This endpoint does `,_jsx(_components.strong,{children:`not`}),` create new contacts. If no contact exists with the given ID, a `,_jsx(_components.code,{children:`404`}),` error is returned.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`example-change-a-contact’s-email`,children:`Example: Change a Contact’s Email`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Look up the contact by email`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.minimo.it/public/v1/contacts/by-email/old@example.com'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer mn-YOUR_CLIENT_ID-YOUR_API_KEY'`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Response: `,_jsx(_components.code,{children:`{ \"data\": { \"id\": 42, \"email\": \"old@example.com\", ... } }`})]})]}),_jsx(Step,{title:`Update using the contact ID`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.minimo.it/public/v1/contacts/42'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer mn-YOUR_CLIENT_ID-YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"email\": \"new@example.com\" }'`})]}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`common-errors`,children:`Common Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Error`}),_jsx(_components.th,{children:`Cause`}),_jsx(_components.th,{children:`Solution`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`not_found`})}),_jsx(_components.td,{children:`No contact with this ID`}),_jsx(_components.td,{children:`Verify the contact ID`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unauthorized`})}),_jsx(_components.td,{children:`Invalid API key`}),_jsx(_components.td,{children:`Verify API key in Authorization header`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`related-endpoints`,children:`Related Endpoints`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.a,{href:`/api-reference/core-data/contacts/get-by-email`,children:`Get Contact by Email`})}),`: Look up a contact’s ID by email`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.a,{href:`/api-reference/core-data/contacts/upsert`,children:`Create or Update Contact`})}),`: Upsert by email or phone`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.a,{href:`/api-reference/core-data/contacts/delete`,children:`Delete Contact`})}),`: Soft-delete a contact`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Contact by ID","description":"Update an existing contact using their ID","openapi":"put /public/v1/contacts/{id}","href":"/api-reference/core-data/contacts/update-by-id"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"When to Use This","slug":"when-to-use-this","depth":2,"children":[]},{"title":"How It Works","slug":"how-it-works","depth":2,"children":[]},{"title":"Marketing Consent","slug":"marketing-consent","depth":2,"children":[]},{"title":"Example: Change a Contact’s Email","slug":"example-change-a-contact’s-email","depth":2,"children":[]},{"title":"Common Errors","slug":"common-errors","depth":2,"children":[]},{"title":"Related Endpoints","slug":"related-endpoints","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Update contact by ID","description":"Update an existing contact using their ID","operationId":"updateContactById","parameters":["146cd999-572b-4e81-861d-07179ba1c347"],"requestBody":"ab420250-8346-4b21-ad74-3e270a48a461","responses":{"200":"132c4892-a8eb-41b9-93a8-96381a3b51cf","404":"e033132c-b94d-4c0e-8c0a-5542164c79d3"},"security":["f6f76ddb-f484-4f2f-b9d4-26108774b3c1"],"x-codeSamples":[{"lang":"Python","source":"import requests\n\nurl = 'https://api.minimo.it/public/v1/contacts/42'\nheaders = {'Authorization': 'Bearer {{BEARER_TOKEN}}', 'Content-Type': 'application/json'}\ndata = {'email': 'new-email@example.com'}\nresponse = requests.put(url, json=data, headers=headers)\nprint(response.json())"},{"lang":"JavaScript","source":"const response = await fetch('https://api.minimo.it/public/v1/contacts/42', {\n method: 'PUT',\n headers: {\n 'Authorization': 'Bearer {{BEARER_TOKEN}}',\n 'Content-Type': 'application/json'\n },\n body: JSON.stringify({ email: 'new-email@example.com' })\n});\nconst result = await response.json();\nconsole.log(result);"},{"label":"CLI","lang":"cURL","source":"curl --request PUT \\\n --url 'https://api.minimo.it/public/v1/contacts/42' \\\n --header 'Authorization: Bearer {{BEARER_TOKEN}}' \\\n --header 'Content-Type: application/json' \\\n --data '{\"email\": \"new-email@example.com\"}'"}],"method":"put","type":"path","servers":["3f1fde7a-38cb-4c8f-a6a8-a26541b615c5"],"path":"/public/v1/contacts/{id}","baseUrlOptions":["https://api.minimo.it"],"title":"Update contact by ID","codeSamples":[{"lang":"Python","source":"import requests\n\nurl = 'https://api.minimo.it/public/v1/contacts/42'\nheaders = {'Authorization': 'Bearer {{BEARER_TOKEN}}', 'Content-Type': 'application/json'}\ndata = {'email': 'new-email@example.com'}\nresponse = requests.put(url, json=data, headers=headers)\nprint(response.json())"},{"lang":"JavaScript","source":"const response = await fetch('https://api.minimo.it/public/v1/contacts/42', {\n method: 'PUT',\n headers: {\n 'Authorization': 'Bearer {{BEARER_TOKEN}}',\n 'Content-Type': 'application/json'\n },\n body: JSON.stringify({ email: 'new-email@example.com' })\n});\nconst result = await response.json();\nconsole.log(result);"},{"label":"CLI","lang":"cURL","source":"curl --request PUT \\\n --url 'https://api.minimo.it/public/v1/contacts/42' \\\n --header 'Authorization: Bearer {{BEARER_TOKEN}}' \\\n --header 'Content-Type: application/json' \\\n --data '{\"email\": \"new-email@example.com\"}'"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"146cd999-572b-4e81-861d-07179ba1c347":{"name":"id","in":"path","required":true,"description":"Contact ID","schema":{"type":"integer","isRequired":true,"description":"Contact ID","uniqueKey":"","typeLabel":"integer"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"New email address","uniqueKey":"email","typeLabel":"string"},"phone":{"type":"string","description":"New phone number","uniqueKey":"phone","typeLabel":"string"},"status":{"type":"string","description":"Contact status","uniqueKey":"status","typeLabel":"string"},"source":{"type":"string","description":"Contact source tag","uniqueKey":"source","typeLabel":"string"},"sourceType":{"type":"string","enum":["database","minimo","third_party"],"description":"Contact source type classification","uniqueKey":"sourceType","typeLabel":"enum\u003cstring>"},"customFields":{"type":"object","additionalProperties":true,"description":"Custom fields to update (merged with existing)","uniqueKey":"customFields","typeLabel":"object"},"marketingConsent":{"type":"object","description":"Channel-specific marketing consent preferences","properties":{"email":{"type":"boolean","description":"Email marketing consent (true = opted in, false = opted out)","example":true,"uniqueKey":"marketingConsent.email","typeLabel":"boolean"},"whatsapp":{"type":"boolean","description":"WhatsApp marketing consent (true = opted in, false = opted out)","example":false,"uniqueKey":"marketingConsent.whatsapp","typeLabel":"boolean"}},"uniqueKey":"marketingConsent","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"changeEmail":{"title":"changeEmail","value":{"email":"new-email@example.com"}},"updateCustomFields":{"title":"updateCustomFields","value":{"customFields":{"plan":"enterprise","company":"Acme Corp"}}},"updateMarketingConsent":{"title":"updateMarketingConsent","value":{"marketingConsent":{"email":true,"whatsapp":false}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"132c4892-a8eb-41b9-93a8-96381a3b51cf":{"description":"Contact updated","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"integer","description":"Contact ID","examples":[42],"uniqueKey":"data.id","typeLabel":"integer"},"email":{"oneOf":[{"type":"string","description":"Email address","examples":["customer@example.com"],"uniqueKey":"data.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"Email address","examples":["customer@example.com"],"uniqueKey":"data.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.email","typeLabel":"string | null"},"phone":{"oneOf":[{"type":"string","description":"Phone number in E.164 format","examples":["+393391234567"],"uniqueKey":"data.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Phone number in E.164 format","examples":["+393391234567"],"uniqueKey":"data.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.phone","typeLabel":"string | null"},"status":{"oneOf":[{"type":"string","description":"Contact status","examples":["active"],"uniqueKey":"data.status.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact status","examples":["active"],"uniqueKey":"data.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.status","typeLabel":"string | null"},"source":{"oneOf":[{"type":"string","description":"Contact source","examples":["API"],"uniqueKey":"data.source.oneOf.0","typeLabel":"string"},{"type":"null","description":"Contact source","examples":["API"],"uniqueKey":"data.source.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.source","typeLabel":"string | null"},"source_type":{"oneOf":[{"type":"string","enum":["database","minimo","third_party"],"description":"Contact source type classification","examples":["third_party"],"uniqueKey":"data.source_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["database","minimo","third_party"],"description":"Contact source type classification","examples":["third_party"],"uniqueKey":"data.source_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.source_type","typeLabel":"enum\u003cstring> | null"},"created_at":{"oneOf":[{"type":"string","format":"date-time","description":"Original creation timestamp from external source","examples":["2026-01-15T10:30:00Z"],"uniqueKey":"data.created_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Original creation timestamp from external source","examples":["2026-01-15T10:30:00Z"],"uniqueKey":"data.created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time> | null"},"custom_fields":{"oneOf":[{"type":"object","additionalProperties":true,"description":"Custom field key-value pairs","uniqueKey":"data.custom_fields.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"Custom field key-value pairs","uniqueKey":"data.custom_fields.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.custom_fields","typeLabel":"object | null"},"company":{"oneOf":[{"type":"integer","description":"Company ID","uniqueKey":"data.company.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Company ID","uniqueKey":"data.company.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.company","typeLabel":"integer | null"},"deleted":{"type":"boolean","description":"Whether the contact is soft-deleted","examples":[false],"uniqueKey":"data.deleted","typeLabel":"boolean"},"external_id":{"oneOf":[{"type":"string","description":"External system ID","uniqueKey":"data.external_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"External system ID","uniqueKey":"data.external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.external_id","typeLabel":"string | null"},"external_connection_id":{"oneOf":[{"type":"integer","description":"External connection ID","uniqueKey":"data.external_connection_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"External connection ID","uniqueKey":"data.external_connection_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.external_connection_id","typeLabel":"integer | null"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":42,"email":"customer@example.com","phone":"+393391234567","status":"active","source":"API","source_type":"third_party","created_at":"2026-01-15T10:30:00Z","custom_fields":{},"company":123,"deleted":false,"external_id":"\u003cstring>","external_connection_id":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"e033132c-b94d-4c0e-8c0a-5542164c79d3":{"description":"Contact not found","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","examples":["Contact not found"],"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Contact not found"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"f6f76ddb-f484-4f2f-b9d4-26108774b3c1":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"mn-API_CLIENT_ID-API_KEY","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"3f1fde7a-38cb-4c8f-a6a8-a26541b615c5":{"url":"https://api.minimo.it"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"mn-API_CLIENT_ID-API_KEY","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"}]},"originalFileLocation":"api-reference/openApi.yml"},"subdomain":"minimo","siteName":"Minimo Docs","title":"Update Contact by ID - Minimo Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-12T00:01:58.725Z","originalFileLocation":"api-reference/core-data/contacts/update-by-id.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Update an existing contact using their ID\">\u003cmeta data-mint-head name=\"application-name\" content=\"Minimo 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/minimo/CJfiX4gOkuK9_RYe/_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/minimo/CJfiX4gOkuK9_RYe/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/minimo/CJfiX4gOkuK9_RYe/_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/minimo/CJfiX4gOkuK9_RYe/_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/minimo/CJfiX4gOkuK9_RYe/_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/minimo/CJfiX4gOkuK9_RYe/_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/minimo/CJfiX4gOkuK9_RYe/_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/minimo/CJfiX4gOkuK9_RYe/_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/minimo/CJfiX4gOkuK9_RYe/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Contact by ID - Minimo Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an existing contact using their ID\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Minimo Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.minimo.it/api-reference/core-data/contacts/update-by-id\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://minimo.mintlify.app/_mintlify/api/og/v2?division=Contacts\u0026amp;title=Update+Contact+by+ID\u0026amp;description=Update+an+existing+contact+using+their+ID\u0026amp;theme=d09c2500034a41254e8c7744\u0026amp;signature=78f0f6eb6cabf19c5e7414a1ab4f0bffa5b398e791b80f9b2b2f5274fcdef166\">\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=\"Update Contact by ID - Minimo Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an existing contact using their ID\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://minimo.mintlify.app/_mintlify/api/og/v2?division=Contacts\u0026amp;title=Update+Contact+by+ID\u0026amp;description=Update+an+existing+contact+using+their+ID\u0026amp;theme=d09c2500034a41254e8c7744\u0026amp;signature=78f0f6eb6cabf19c5e7414a1ab4f0bffa5b398e791b80f9b2b2f5274fcdef166\">\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/minimo/CJfiX4gOkuK9_RYe/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Minimo Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.minimo.it/api-reference/core-data/contacts/update-by-id\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/core-data/contacts/update-by-id.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.minimo.it/#organization\",\"name\":\"Minimo Docs\",\"url\":\"https://docs.minimo.it\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/minimo/_5TQWO7ZAmNbow_0/logo/light.svg?fit=max\u0026auto=format\u0026n=_5TQWO7ZAmNbow_0\u0026q=85\u0026s=770ea7f424284ce6f88684bb97af23f0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.minimo.it#website\",\"name\":\"Minimo Docs\",\"url\":\"https://docs.minimo.it\",\"publisher\":{\"@id\":\"https://docs.minimo.it/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.minimo.it/api-reference/core-data/contacts/update-by-id#webpage\",\"url\":\"https://docs.minimo.it/api-reference/core-data/contacts/update-by-id\",\"name\":\"Update Contact by ID\",\"description\":\"Update an existing contact using their ID\",\"dateModified\":\"2026-03-12T00:01:58.725Z\",\"isPartOf\":{\"@id\":\"https://docs.minimo.it#website\"},\"breadcrumb\":{\"@id\":\"https://docs.minimo.it/api-reference/core-data/contacts/update-by-id#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.minimo.it/api-reference/core-data/contacts/update-by-id#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core Data\",\"item\":\"https://docs.minimo.it/api-reference/core-data/contacts/upsert\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Contacts\",\"item\":\"https://docs.minimo.it/api-reference/core-data/contacts/upsert\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update Contact by ID\",\"item\":\"https://docs.minimo.it/api-reference/core-data/contacts/update-by-id\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.minimo.it/api-reference/core-data/contacts/update-by-id#apireference\",\"headline\":\"Update Contact by ID\",\"name\":\"Update Contact by ID\",\"description\":\"Update an existing contact using their ID\",\"url\":\"https://docs.minimo.it/api-reference/core-data/contacts/update-by-id\",\"mainEntityOfPage\":{\"@id\":\"https://docs.minimo.it/api-reference/core-data/contacts/update-by-id#webpage\"},\"dateModified\":\"2026-03-12T00:01:58.725Z\",\"publisher\":{\"@id\":\"https://docs.minimo.it/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.minimo.it#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Minimo Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Minimo Docs","nav":{"global":{"anchors":[{"anchor":"Sito Web","href":"https://minimo.it","icon":"desktop"},{"anchor":"Blog","href":"https://minimo.it/blog","icon":"newspaper"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Product","pages":[{"title":"Product","href":"/product/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/api-reference/overview/introduction"},{"title":"Authentication \u0026 API Keys","href":"/api-reference/overview/authentication"},{"title":"API Conventions","href":"/api-reference/overview/conventions"}]},{"group":"Core Data","pages":[{"group":"Contacts","pages":[{"title":"Create or Update Contact","openapi":"post /public/v1/contacts","href":"/api-reference/core-data/contacts/upsert"},{"title":"Get Contact by Email","description":"Retrieve a contact and all its data by email address","openapi":"get /public/v1/contacts/by-email/{email}","href":"/api-reference/core-data/contacts/get-by-email"},{"title":"Update Contact by ID","openapi":"put /public/v1/contacts/{id}","href":"/api-reference/core-data/contacts/update-by-id"},{"title":"Delete Contact","description":"Soft-delete a contact by ID","openapi":"delete /public/v1/contacts/{id}","href":"/api-reference/core-data/contacts/delete"}]},{"group":"Custom Fields","pages":[{"title":"List Custom Fields","openapi":"get /public/v1/custom-fields","href":"/api-reference/core-data/custom-fields/list"},{"title":"Create Custom Field","openapi":"post /public/v1/custom-fields","href":"/api-reference/core-data/custom-fields/create"}]}]},{"group":"Messaging Channels","pages":[{"group":"Email","pages":[{"title":"Send Email Template","openapi":"post /public/v1/templates/email/send","href":"/api-reference/messaging-channels/email/send-template"},{"title":"List Email Templates","openapi":"get /public/v1/templates/email","href":"/api-reference/messaging-channels/email/list-templates"},{"title":"Get Email Template Stats","openapi":"get /public/v1/transactionals/{id}/stats","href":"/api-reference/messaging-channels/email/stats"},{"title":"Send One-Shot HTML Email","openapi":"post /public/v1/emails","href":"/api-reference/messaging-channels/email/send-html"},{"title":"Get One-Shot Email Statistics","openapi":"get /public/v1/emails/{id}/stats","href":"/api-reference/messaging-channels/email/html-stats"}]},{"group":"WhatsApp","pages":[{"title":"List WhatsApp Senders","openapi":"get /public/v1/templates/whatsapp/senders","href":"/api-reference/messaging-channels/whatsapp/list-senders"},{"title":"Send WhatsApp Template","openapi":"post /public/v1/templates/whatsapp/send","href":"/api-reference/messaging-channels/whatsapp/send-template"},{"title":"List WhatsApp Templates","openapi":"get /public/v1/templates/whatsapp","href":"/api-reference/messaging-channels/whatsapp/list-templates"},{"title":"Inbound \u0026 Webhooks","href":"/api-reference/messaging-channels/whatsapp/inbound-webhooks"}]}]},{"group":"Connect a Bot (WhatsApp)","pages":[{"title":"Connect Your Bot — Overview","href":"/api-reference/whatsapp-transport/overview"},{"title":"Send a Message","href":"/api-reference/whatsapp-transport/send"},{"title":"Inbound Webhook","href":"/api-reference/whatsapp-transport/webhooks"},{"title":"Read API","href":"/api-reference/whatsapp-transport/conversations"},{"title":"Notes \u0026 Limits","href":"/api-reference/whatsapp-transport/notes"}]},{"group":"Legacy (Deprecated)","pages":[{"title":"Legacy API (Deprecated)","icon":"triangle-exclamation","href":"/api-reference/legacy/introduction"},{"title":"Send Email (Deprecated)","openapi":"post /api/transactionals","href":"/api-reference/legacy/send-email-deprecated"},{"title":"List Email Transactionals (Deprecated)","href":"/api-reference/legacy/list-email-transactionals-deprecated"}]}]},{"tab":"AI \u0026 Agents","pages":[{"title":"AI \u0026 Agents","href":"/guides/connect-your-agent"}]}]},"title":"Update Contact by ID - Minimo Docs","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DmVyH30O.js","utils-BHQqGGOd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CD-E4BIt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp5Lq9Ds.js","snippetPresets-C4xAVCFP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CgXVLxUC.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","Page-CBCH2P7b.js","getPastedJson-Ry3scI3Y.js","icon-D7a9HcdD.js","MethodPill-CJ8pmHhz.js","DuplicateIcon-rh1HJF0t.js","createIcon-DvGznqYs.js","DynamicMarkdown-Cc6AuSHS.js","SectionHeading-B4A0S-ep.js","axios-vUo_bRtp.js","Markdown-Cc16CX65.js","clsx-Cs6nMGht.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-zbf22OZA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C_fs-y5n.js"]}