This endpoint allows you to update an existing contact’s information in your Setter AI account. You can update contact details like name, email, phone number, timezone, and custom metadata fields.
Contact Identification: You must provide at least one identifier (ID, WhatsApp ID, or SMS phone number) to locate the contact.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Setter AI Documentation","colors":{"primary":"#6f2eff","light":"#a47aff","dark":"#6f2eff"},"logo":{"light":"https://mintcdn.com/setterai/AV6yna-vayQT6nGM/logo/light.png?fit=max\u0026auto=format\u0026n=AV6yna-vayQT6nGM\u0026q=85\u0026s=60adacc7ac39caaaaef0e42dfdb9bbe7","dark":"https://mintcdn.com/setterai/AV6yna-vayQT6nGM/logo/dark.png?fit=max\u0026auto=format\u0026n=AV6yna-vayQT6nGM\u0026q=85\u0026s=845617a99f8b76264da72fb1adaaf8e6"},"favicon":"https://mintcdn.com/setterai/AV6yna-vayQT6nGM/favicon.png?fit=max\u0026auto=format\u0026n=AV6yna-vayQT6nGM\u0026q=85\u0026s=ade5932ced75bd1f14dda7d8430e2a18","navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}]},"integrations":{"plausible":{"domain":"docs.trysetter.com"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"setterai","hasAudioNarration":false,"actualSubdomain":"setterai","customDomains":["docs.trysetter.com"],"gitSource":{"type":"github","owner":"trysetter","repo":"ai-chatbot-app","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6adb8920e6de455b2093d969","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"API Reference","count":8},{"language":"default","tag":"Guides","count":7},{"language":"default","tag":"Campaigns (WhatsApp)","count":3},{"language":"default","tag":"Set up SMS with Twilio","count":3},{"language":"default","tag":"Calendly Scheduling","count":2},{"language":"default","tag":"Campaigns","count":2},{"language":"default","tag":"Getting Started","count":1},{"language":"default","tag":"Meeting Reminders","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"setter-ai/update-contact","slug":"/setter-ai/update-contact","pageMetadata":{"title":"Update Contact","description":"Update an existing contact information","openapi":"PUT /api/v1/contacts","href":"/setter-ai/update-contact"},"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 information\"\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={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`This endpoint allows you to update an existing contact’s information in your Setter AI account. You can update contact details like name, email, phone number, timezone, and custom metadata fields.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Contact Identification`}),`: You must provide at least one identifier (ID, WhatsApp ID, or SMS phone number) to locate the contact.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`contact-identification`,children:`Contact Identification`}),`\n`,_jsx(_components.p,{children:`You can identify a contact using any of these methods:`}),`\n`,_jsx(Heading,{level:`3`,id:`by-contact-id`,children:`By Contact ID`}),`\n`,_jsx(_components.p,{children:`Use the internal contact ID for direct lookup:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`123`}),_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:` \"firstName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"John\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`by-whatsapp-id`,children:`By WhatsApp ID`}),`\n`,_jsx(_components.p,{children:`Use the WhatsApp ID for contacts from WhatsApp integrations:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` \"waId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1234567890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`by-sms-phone-number`,children:`By SMS Phone Number`}),`\n`,_jsx(_components.p,{children:`Use the SMS phone number for contacts from SMS integrations:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` \"smsPhoneNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1234567890\"`}),_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:` \"fullName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"John Doe\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`updatable-fields`,children:`Updatable Fields`}),`\n`,_jsx(_components.p,{children:`All contact fields are optional in the update request. Only provided fields will be updated:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`firstName`}),` - Contact’s first name`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`lastName`}),` - Contact’s last name`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`fullName`}),` - Contact’s full name`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`phoneNumber`}),` - Contact’s phone number`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`email`}),` - Contact’s email address (must be valid format)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`defaultTimeZone`}),` - Contact’s default timezone (IANA format)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`metadata`}),` - Custom key-value pairs for additional contact data`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`important-notes`,children:`Important Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Authentication`}),`: All requests require a Bearer token in the Authorization header`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Unique Contact`}),`: If multiple contacts match the identifier, the operation fails with a 409 error`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Access Control`}),`: Only contacts that your organization has access to can be updated`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Validation`}),`: Email addresses are validated for proper format`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Metadata`}),`: The metadata field supports custom key-value pairs for storing additional contact information`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`error-handling`,children:`Error Handling`}),`\n`,_jsx(_components.p,{children:`The endpoint provides specific error responses for different scenarios:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`400`}),`: Missing identifier or invalid field format`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`404`}),`: No contacts found with the provided identifier`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`409`}),`: Multiple contacts matched the identifier`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`401/403`}),`: Authentication or authorization errors`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`getting-your-api-key`,children:`Getting Your API Key`}),`\n`,_jsxs(_components.p,{children:[`API keys can be generated from your Setter AI dashboard under `,_jsx(_components.strong,{children:`Settings > API Keys`}),`. Keep your API key secure and never expose it in client-side code.`]}),`\n`,_jsx(Heading,{level:`2`,id:`example-usage`,children:`Example Usage`}),`\n`,_jsx(Heading,{level:`3`,id:`update-contact-name-and-email`,children:`Update Contact Name and Email`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,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:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://chat.trysetter.com/api/v1/contacts`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer 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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"id\": 123,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"firstName\": \"John\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"lastName\": \"Smith\", `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"email\": \"[email protected]\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`update-contact-metadata`,children:`Update Contact Metadata`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,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:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://chat.trysetter.com/api/v1/contacts`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer 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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"waId\": \"1234567890\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"metadata\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"source\": \"updated_via_api\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"campaign\": \"winter2024\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"last_interaction\": \"2024-01-15\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\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","description":"Update an existing contact information","openapi":"PUT /api/v1/contacts","href":"/setter-ai/update-contact"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Contact Identification","slug":"contact-identification","depth":2,"children":[{"title":"By Contact ID","slug":"by-contact-id","depth":3,"children":[]},{"title":"By WhatsApp ID","slug":"by-whatsapp-id","depth":3,"children":[]},{"title":"By SMS Phone Number","slug":"by-sms-phone-number","depth":3,"children":[]}]},{"title":"Updatable Fields","slug":"updatable-fields","depth":2,"children":[]},{"title":"Important Notes","slug":"important-notes","depth":2,"children":[]},{"title":"Error Handling","slug":"error-handling","depth":2,"children":[]},{"title":"Getting Your API Key","slug":"getting-your-api-key","depth":2,"children":[]},{"title":"Example Usage","slug":"example-usage","depth":2,"children":[{"title":"Update Contact Name and Email","slug":"update-contact-name-and-email","depth":3,"children":[]},{"title":"Update Contact Metadata","slug":"update-contact-metadata","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Update Contact","description":"Update an existing contact information","operationId":"updateContact","tags":["Contacts"],"requestBody":"718b9caf-02b4-4137-92dc-f1557a7df320","responses":{"200":"7456d840-c065-43af-9e6b-28d19cdbf077","400":"5c45ac2c-8cd6-4233-8540-a8fe70ee910a","401":"5a03f146-bfbd-4fb4-bf9e-766f50af3fb4","403":"d983106f-e721-4f7a-98cb-131abb3c8761","404":"f59e4265-18b7-4cde-868f-0a07ebd35c49","409":"e7226a52-1424-4c74-8c65-97f0ac91e402","500":"8ff29eb2-ecb1-4871-983c-0e0b958acaca"},"method":"put","type":"path","servers":["2d03048b-47b7-448b-8503-4011f80932ab"],"security":["b8057cbe-359e-4550-af0a-b53da9fd22f9"],"path":"/api/v1/contacts","baseUrlOptions":["https://chat.trysetter.com"],"title":"Update Contact","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"Contact ID for direct lookup","example":123,"uniqueKey":"id","typeLabel":"integer"},"waId":{"type":"string","description":"WhatsApp ID for contact lookup","example":"1234567890","uniqueKey":"waId","typeLabel":"string"},"smsPhoneNumber":{"type":"string","description":"SMS phone number for contact lookup","example":"1234567890","uniqueKey":"smsPhoneNumber","typeLabel":"string"},"firstName":{"type":"string","description":"Contact's first name","example":"John","uniqueKey":"firstName","typeLabel":"string"},"lastName":{"type":"string","description":"Contact's last name","example":"Doe","uniqueKey":"lastName","typeLabel":"string"},"fullName":{"type":"string","description":"Contact's full name","example":"John Doe","uniqueKey":"fullName","typeLabel":"string"},"phoneNumber":{"type":"string","description":"Contact's phone number","example":"1234567890","uniqueKey":"phoneNumber","typeLabel":"string"},"email":{"type":"string","format":"email","description":"Contact's email address","example":"[email protected]","uniqueKey":"email","typeLabel":"string\u003cemail>"},"defaultTimeZone":{"type":"string","description":"Contact's default timezone","example":"America/New_York","uniqueKey":"defaultTimeZone","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"description":"Custom key-value pairs to store with the contact","example":{"source":"website","campaign":"summer2024"},"uniqueKey":"metadata","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"update_by_id":{"title":"update_by_id","value":{"id":123,"firstName":"John","lastName":"Smith","email":"[email protected]","defaultTimeZone":"America/New_York","metadata":{"source":"updated_via_api","last_interaction":"2024-01-15"}}},"update_by_whatsapp_id":{"title":"update_by_whatsapp_id","value":{"waId":"1234567890","fullName":"Jane Doe","email":"[email protected]","defaultTimeZone":"America/Los_Angeles"}},"update_by_sms_phone":{"title":"update_by_sms_phone","value":{"smsPhoneNumber":"1234567890","firstName":"Alice","lastName":"Johnson","metadata":{"source":"sms_campaign","campaign_id":"campaign_123"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"7456d840-c065-43af-9e6b-28d19cdbf077":{"description":"Contact updated successfully","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"integer","description":"Contact ID","example":123,"uniqueKey":"data.id","typeLabel":"integer"},"createdAt":{"type":"string","format":"date-time","description":"Contact creation timestamp","uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"Contact last update timestamp","uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time>"},"firstName":{"type":"string","description":"Contact's first name","example":"John","uniqueKey":"data.firstName","typeLabel":"string"},"lastName":{"type":"string","description":"Contact's last name","example":"Doe","uniqueKey":"data.lastName","typeLabel":"string"},"fullName":{"type":"string","description":"Contact's full name","example":"John Doe","uniqueKey":"data.fullName","typeLabel":"string"},"phoneNumber":{"type":"string","description":"Contact's phone number","example":"1234567890","uniqueKey":"data.phoneNumber","typeLabel":"string"},"waId":{"type":"string","description":"WhatsApp ID","example":"1234567890","uniqueKey":"data.waId","typeLabel":"string"},"smsPhoneNumber":{"type":"string","description":"SMS phone number","example":"1234567890","uniqueKey":"data.smsPhoneNumber","typeLabel":"string"},"email":{"type":"string","format":"email","description":"Contact's email address","example":"[email protected]","uniqueKey":"data.email","typeLabel":"string\u003cemail>"},"defaultTimeZone":{"type":"string","description":"Contact's default timezone","example":"America/New_York","uniqueKey":"data.defaultTimeZone","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"data.metadata.additionalProperties","typeLabel":"string"},"description":"Custom key-value pairs stored with the contact","uniqueKey":"data.metadata","typeLabel":"object"}},"uniqueKey":"data","typeLabel":"object"},"message":{"type":"string","description":"Status message","example":"Contact updated successfully","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"data":{"id":123,"createdAt":"2024-01-01T10:00:00Z","updatedAt":"2024-01-15T14:30:00Z","firstName":"John","lastName":"Smith","fullName":"John Smith","phoneNumber":"1234567890","waId":"1234567890","smsPhoneNumber":"1234567890","email":"[email protected]","defaultTimeZone":"America/New_York","metadata":{"source":"updated_via_api","last_interaction":"2024-01-15"}}},"examples":{"Example":{"title":"Example","value":{"data":{"id":123,"createdAt":"2024-01-01T10:00:00Z","updatedAt":"2024-01-15T14:30:00Z","firstName":"John","lastName":"Smith","fullName":"John Smith","phoneNumber":"1234567890","waId":"1234567890","smsPhoneNumber":"1234567890","email":"[email protected]","defaultTimeZone":"America/New_York","metadata":{"source":"updated_via_api","last_interaction":"2024-01-15"}}}}},"exampleType":"examples"}},"exampleType":"examples"},"5c45ac2c-8cd6-4233-8540-a8fe70ee910a":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Error message","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"missing_identifier":{"title":"missing_identifier","value":{"message":"Either id, waId or smsPhoneNumber is required"}},"invalid_email":{"title":"invalid_email","value":{"message":"Invalid email format"}},"no_fields":{"title":"no_fields","value":{"data":null,"message":"No updatable fields provided"}}},"exampleType":"examples"}},"exampleType":"examples"},"5a03f146-bfbd-4fb4-bf9e-766f50af3fb4":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Error message","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"message":"Unauthorized"},"examples":{"Example":{"title":"Example","value":{"message":"Unauthorized"}}},"exampleType":"examples"}},"exampleType":"examples"},"d983106f-e721-4f7a-98cb-131abb3c8761":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Error message","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"message":"Not authorized"},"examples":{"Example":{"title":"Example","value":{"message":"Not authorized"}}},"exampleType":"examples"}},"exampleType":"examples"},"f59e4265-18b7-4cde-868f-0a07ebd35c49":{"description":"Contact not found","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Error message","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"message":"No accessible contacts found"},"examples":{"Example":{"title":"Example","value":{"message":"No accessible contacts found"}}},"exampleType":"examples"}},"exampleType":"examples"},"e7226a52-1424-4c74-8c65-97f0ac91e402":{"description":"Multiple contacts found","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Error message","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"message":"Multiple contacts matched; no update performed"},"examples":{"Example":{"title":"Example","value":{"message":"Multiple contacts matched; no update performed"}}},"exampleType":"examples"}},"exampleType":"examples"},"8ff29eb2-ecb1-4871-983c-0e0b958acaca":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","example":"Internal server error occurred","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Internal server error occurred"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"b8057cbe-359e-4550-af0a-b53da9fd22f9":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Bearer token authentication using your API key","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"2d03048b-47b7-448b-8503-4011f80932ab":{"url":"https://chat.trysetter.com","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer token authentication using your API key","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer token authentication using your API key","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"setterai","siteName":"Setter AI Documentation","title":"Update Contact - Setter AI Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-12-04T03:38:31.639Z","originalFileLocation":"setter-ai/update-contact.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 information\">\u003cmeta data-mint-head name=\"application-name\" content=\"Setter AI Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/setterai/0sFTN1yBzEXgSiM4/_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/setterai/0sFTN1yBzEXgSiM4/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/setterai/0sFTN1yBzEXgSiM4/_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/setterai/0sFTN1yBzEXgSiM4/_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/setterai/0sFTN1yBzEXgSiM4/_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/setterai/0sFTN1yBzEXgSiM4/_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/setterai/0sFTN1yBzEXgSiM4/_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/setterai/0sFTN1yBzEXgSiM4/_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/setterai/0sFTN1yBzEXgSiM4/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Contact - Setter AI Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an existing contact information\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Setter AI Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.trysetter.com/setter-ai/update-contact\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://setterai.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Update+Contact\u0026amp;description=Update+an+existing+contact+information\u0026amp;theme=4c15eb72fe2291ade3053db9\u0026amp;signature=dc797c05afd6d4508352e2564d0f414e66293bf431dd9e19e398532543016239\">\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 - Setter AI Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an existing contact information\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://setterai.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Update+Contact\u0026amp;description=Update+an+existing+contact+information\u0026amp;theme=4c15eb72fe2291ade3053db9\u0026amp;signature=dc797c05afd6d4508352e2564d0f414e66293bf431dd9e19e398532543016239\">\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/setterai/0sFTN1yBzEXgSiM4/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Setter AI Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6f2eff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.trysetter.com/setter-ai/update-contact\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/setter-ai/update-contact.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.trysetter.com/#organization\",\"name\":\"Setter AI Documentation\",\"url\":\"https://docs.trysetter.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/setterai/AV6yna-vayQT6nGM/logo/light.png?fit=max\u0026auto=format\u0026n=AV6yna-vayQT6nGM\u0026q=85\u0026s=60adacc7ac39caaaaef0e42dfdb9bbe7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.trysetter.com#website\",\"name\":\"Setter AI Documentation\",\"url\":\"https://docs.trysetter.com\",\"publisher\":{\"@id\":\"https://docs.trysetter.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.trysetter.com/setter-ai/update-contact#webpage\",\"url\":\"https://docs.trysetter.com/setter-ai/update-contact\",\"name\":\"Update Contact\",\"description\":\"Update an existing contact information\",\"dateModified\":\"2025-12-04T03:38:31.639Z\",\"isPartOf\":{\"@id\":\"https://docs.trysetter.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.trysetter.com/setter-ai/update-contact#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.trysetter.com/setter-ai/update-contact#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.trysetter.com/setter-ai/api-reference\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Contact\",\"item\":\"https://docs.trysetter.com/setter-ai/update-contact\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.trysetter.com/setter-ai/update-contact#apireference\",\"headline\":\"Update Contact\",\"name\":\"Update Contact\",\"description\":\"Update an existing contact information\",\"url\":\"https://docs.trysetter.com/setter-ai/update-contact\",\"mainEntityOfPage\":{\"@id\":\"https://docs.trysetter.com/setter-ai/update-contact#webpage\"},\"dateModified\":\"2025-12-04T03:38:31.639Z\",\"publisher\":{\"@id\":\"https://docs.trysetter.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.trysetter.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Setter AI Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Setter AI Documentation","nav":{"global":null,"groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/index"}]},{"group":"Guides","icon":"book-open","pages":[{"group":"Set up SMS with Twilio","pages":[{"title":"SMS Integration Overview","href":"/sms-integration/introduction"},{"title":"Twilio SMS Setup","href":"/sms-integration/twilio-setup"},{"title":"A2P 10DLC Registration Guide","href":"/sms-integration/a2p-registration"}]},{"group":"Meeting Reminders","pages":[{"title":"WhatsApp Meeting Reminders Setup","href":"/whatsapp-reminders/setup"}]},{"group":"Campaigns (WhatsApp)","pages":[{"title":"Campaigns","href":"/campaigns/overview"},{"title":"Audience Filtering","href":"/campaigns/audience-filtering"},{"title":"Lead Events","href":"/campaigns/lead-events"}]}]},{"group":"API Reference","icon":"code","pages":[{"title":"Send Message","openapi":"POST /api/v1/bot-integrations/{botIntegrationId}/messages/send","href":"/setter-ai/api-reference"},{"title":"Get Conversation History","description":"Retrieve the full message history of a conversation programmatically","openapi":"GET /api/v1/bot-integrations/{botIntegrationId}/conversations","href":"/setter-ai/conversation-history"},{"title":"Update Contact","openapi":"PUT /api/v1/contacts","href":"/setter-ai/update-contact"},{"title":"Create Booking","description":"Record an externally-booked appointment so the bot stops asking the contact to book again","openapi":"POST /api/v1/bookings","href":"/setter-ai/bookings"},{"title":"Cancel Booking","openapi":"POST /api/v1/bookings/{id}/cancel","href":"/setter-ai/cancel-booking"},{"title":"Webhooks","href":"/setter-ai/webhooks"},{"group":"Campaigns","pages":[{"title":"Filter Send Audience","openapi":"POST /api/v1/webhooks/campaigns/audience-filter","href":"/campaigns/filter-audience"},{"title":"Send Lead Event","openapi":"POST /api/v1/webhooks/lead-events","href":"/campaigns/send-lead-event"}]}]},{"group":"Calendly Scheduling","icon":"calendar","pages":[{"title":"Introduction","href":"/calendly-scheduling/introduction"},{"title":"Create Event","openapi":"POST /api/scheduled_events","href":"/calendly-scheduling/api-reference/create-event/post"}]}]},"basePath":"","title":"Update Contact - Setter AI Documentation","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CBsVopKK.js","utils-DZAk68jJ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D32AYZrP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D_A5_cny.js","snippetPresets-xNRfS9th.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BIB25-tq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CydJ4w4j.js","shallow-CYPBeQSG.js","getApiPlaygroundDisplay-A5xJVBOu.js","CodeSnippet-BVRTgi3m.js","CodeSnippets-DjD6BSlt.js","Page-Dr40SSJq.js","getPastedJson-D4V4JyrR.js","icon-uhcnG22T.js","MethodPill-CM-ZQdGH.js","DuplicateIcon-B_WnOiNf.js","createIcon-CJsb8utt.js","DynamicMarkdown-D-2HDKEp.js","SectionHeading-KP5xmMgQ.js","axios-vUo_bRtp.js","Markdown-D_k0dg6k.js","clsx-DK3K4Z1S.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DE3EVdvd.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fN9H9n9g.js"]}