Send the number with country code and without spaces or the + sign. Example: 12132132130
Do not use an @lid identifier with this endpoint.If the same person is handled once by phone number and again by LID, WhatsApp may treat them as two separate contacts. For upsert operations, always use the phone number only.
Phone Address Book Update NoteIf you have multiple WhatsApp apps installed on your phone, the API might only work with one account.
You may need to make a few API requests with the same parameters and wait a few seconds between requests to update your phone address book.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Hypersender","description":"Send WhatsApp and SMS messages from your own numbers with the Hypersender API. Guides, REST API reference, webhook events, and Laravel SDK docs.","colors":{"primary":"#10b981","light":"#059669","dark":"#10b981"},"logo":{"light":"https://mintcdn.com/hypersender/RX4Bj-Mb6ti70ZQe/logo/light.svg?fit=max\u0026auto=format\u0026n=RX4Bj-Mb6ti70ZQe\u0026q=85\u0026s=e38aff8c21e09ed683da236a8ffe8e13","dark":"https://mintcdn.com/hypersender/RX4Bj-Mb6ti70ZQe/logo/dark.svg?fit=max\u0026auto=format\u0026n=RX4Bj-Mb6ti70ZQe\u0026q=85\u0026s=31d31abc2839f94267a1548817b83538","href":"https://docs.hypersender.com"},"favicon":"https://mintcdn.com/hypersender/dAZ_QYs7yJAVpPpO/favicon.svg?fit=max\u0026auto=format\u0026n=dAZ_QYs7yJAVpPpO\u0026q=85\u0026s=74d0e86aaf7cdfe05cbdf2c13a044dec","background":{"image":{"light":"https://mintcdn.com/hypersender/QHanPLHbv0ntvGTU/images/background.png?fit=max\u0026auto=format\u0026n=QHanPLHbv0ntvGTU\u0026q=85\u0026s=bfcb110c086b77caa501a84cab4586a4","dark":"https://mintcdn.com/hypersender/QHanPLHbv0ntvGTU/images/background-dark.png?fit=max\u0026auto=format\u0026n=QHanPLHbv0ntvGTU\u0026q=85\u0026s=3137c58a2031e6febc74d0c1ec3632ac"}},"navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.hypersender.com"}},"footer":{"socials":{"x":"https://x.com/hypersender","github":"https://github.com/hypersender","linkedin":"https://linkedin.com/company/hypersender"}},"search":{"prompt":"Search WhatsApp \u0026 SMS API docs"},"seo":{"metatags":{"canonical":"https://docs.hypersender.com","og:site_name":"Hypersender Docs","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@hypersender","robots":"index, follow","googlebot":"index, follow","author":"Hypersender","theme-color":"#10b981"},"organization":{"id":"https://hypersender.com/#organization","name":"Hypersender","url":"https://hypersender.com","sameAs":["https://x.com/hypersender","https://github.com/hypersender","https://linkedin.com/company/hypersender"]},"indexing":"navigable"},"styling":{"eyebrows":"breadcrumbs","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"navigation":{"global":{"anchors":[{"anchor":"WhatsApp Support","icon":"whatsapp","href":"https://wa.me/201065684630"},{"anchor":"Discord Support","icon":"discord","href":"https://discord.gg/ysSmK32ykC"},{"anchor":"Blog","icon":"newspaper","href":"https://hypersender.com/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hypersender","hasAudioNarration":false,"actualSubdomain":"hypersender","customDomains":["docs.hypersender.com"],"gitSource":{"type":"github","owner":"hypersender","repo":"docs-v2","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aef799cae7fce64eaea8c9e","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"Whatsapp API","count":72},{"language":"default","tag":"SMS API","count":58},{"language":"default","tag":"WhatsApp API","count":47},{"language":"default","tag":"Send Messages","count":36},{"language":"default","tag":"Packages and SDKs","count":30},{"language":"default","tag":"Laravel","count":28},{"language":"default","tag":"SMS Webhooks","count":26},{"language":"default","tag":"Enterprise WhatsApp API","count":22},{"language":"default","tag":"Guides","count":21},{"language":"default","tag":"Overview","count":18}]},"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":[{"filePath":"style.css","content":".prose{--tw-prose-code: #10b981}.dark .prose{--tw-prose-code: #34d399}.prose :not(pre)>code,.mdx-prose :not(pre)>code,article :not(pre)>code{color:#10b981!important}.dark .prose :not(pre)>code,.dark .mdx-prose :not(pre)>code,.dark article :not(pre)>code{color:#34d399!important}"}],"page":{"pagePath":"v2/api-reference/whatsapp/contacts/upsert-contact","slug":"/v2/api-reference/whatsapp/contacts/upsert-contact","pageMetadata":{"title":"Upsert Contact","description":"Update or create a contact in your phone address book and WhatsApp.","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/contacts/upsert","href":"/v2/api-reference/whatsapp/contacts/upsert-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 or create a contact in your phone address book and WhatsApp.\"\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,Danger,Heading,Info,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Danger)_missingMdxReference(`Danger`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Update a contact in your phone address book using a phone number.`}),`\n`,_jsx(_components.p,{children:`This endpoint allows you to:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Create a new contact in your phone’s address book`}),`\n`,_jsx(_components.li,{children:`Update an existing contact’s information`}),`\n`,_jsx(_components.li,{children:`Sync contact details to WhatsApp using the contact’s phone number`}),`\n`]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`This endpoint is intended for phone-number-based contact management and address book synchronization.`})}),`\n`,_jsx(Heading,{level:`2`,id:`use-cases`,children:`Use Cases`}),`\n`,_jsx(Heading,{level:`3`,id:`contact-management`,children:`Contact Management`}),`\n`,_jsx(_components.p,{children:`Automatically create or update contacts when new users register in your system.`}),`\n`,_jsx(Heading,{level:`3`,id:`crm-synchronization`,children:`CRM Synchronization`}),`\n`,_jsx(_components.p,{children:`Keep your WhatsApp contacts in sync with your CRM database.`}),`\n`,_jsx(Heading,{level:`3`,id:`bulk-contact-import`,children:`Bulk Contact Import`}),`\n`,_jsx(_components.p,{children:`Import and update multiple contacts from external sources.`}),`\n`,_jsx(Heading,{level:`2`,id:`request-parameters`,children:`Request Parameters`}),`\n`,_jsx(Heading,{level:`3`,id:`chat_id`,children:`chat_id`}),`\n`,_jsx(_components.p,{children:`Use the contact’s phone number only.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Phone number`}),`: `,_jsx(_components.code,{children:`12132132130`})]}),`\n`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Send the number with country code and without spaces or the `,_jsx(_components.code,{children:`+`}),` sign. Example: `,_jsx(_components.code,{children:`12132132130`})]})}),`\n`,_jsxs(Danger,{children:[_jsxs(_components.p,{children:[`Do not use an `,_jsx(_components.code,{children:`@lid`}),` identifier with this endpoint.`]}),_jsx(_components.p,{children:`If the same person is handled once by phone number and again by LID, WhatsApp may treat them as two separate contacts. For upsert operations, always use the phone number only.`})]}),`\n`,_jsx(Heading,{level:`3`,id:`first_name`,children:`first_name`}),`\n`,_jsx(_components.p,{children:`The contact’s first name (required).`}),`\n`,_jsx(Heading,{level:`3`,id:`last_name`,children:`last_name`}),`\n`,_jsx(_components.p,{children:`The contact’s last name (optional).`}),`\n`,_jsx(Heading,{level:`2`,id:`response-examples`,children:`Response Examples`}),`\n`,_jsx(Heading,{level:`3`,id:`successful-response`,children:`Successful Response`}),`\n`,_jsx(_components.p,{children:`When the contact is upserted successfully:`}),`\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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Contact upserted successfully.\"`}),_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:` \"data\"`}),_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:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\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(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Phone Address Book Update Note`})}),_jsx(_components.p,{children:`If you have multiple WhatsApp apps installed on your phone, the API might only work with one account.\nYou may need to make a few API requests with the same parameters and wait a few seconds between requests to update your phone address book.`})]}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best Practices`}),`\n`,_jsx(Heading,{level:`3`,id:`multiple-requests`,children:`Multiple Requests`}),`\n`,_jsx(_components.p,{children:`If the contact doesn’t appear in your address book immediately, try making 2-3 requests with a few seconds delay between them.`}),`\n`,_jsx(Heading,{level:`3`,id:`verification`,children:`Verification`}),`\n`,_jsxs(_components.p,{children:[`After upserting a contact, you can use the `,_jsx(_components.strong,{children:`Get Contact`}),` endpoint to verify the update was successful.`]}),`\n`,_jsx(Heading,{level:`3`,id:`error-handling`,children:`Error Handling`}),`\n`,_jsx(_components.p,{children:`Always implement proper error handling to catch validation errors or API failures.`})]})}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":"Upsert Contact","description":"Update or create a contact in your phone address book and WhatsApp.","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/contacts/upsert","href":"/v2/api-reference/whatsapp/contacts/upsert-contact"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Use Cases","slug":"use-cases","depth":2,"children":[{"title":"Contact Management","slug":"contact-management","depth":3,"children":[]},{"title":"CRM Synchronization","slug":"crm-synchronization","depth":3,"children":[]},{"title":"Bulk Contact Import","slug":"bulk-contact-import","depth":3,"children":[]}]},{"title":"Request Parameters","slug":"request-parameters","depth":2,"children":[{"title":"chat_id","slug":"chat_id","depth":3,"children":[]},{"title":"first_name","slug":"first_name","depth":3,"children":[]},{"title":"last_name","slug":"last_name","depth":3,"children":[]}]},{"title":"Response Examples","slug":"response-examples","depth":2,"children":[{"title":"Successful Response","slug":"successful-response","depth":3,"children":[]}]},{"title":"Best Practices","slug":"best-practices","depth":2,"children":[{"title":"Multiple Requests","slug":"multiple-requests","depth":3,"children":[]},{"title":"Verification","slug":"verification","depth":3,"children":[]},{"title":"Error Handling","slug":"error-handling","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"x-hidden":true,"tags":["Contacts"],"summary":"Upsert contact","description":"Update or create a contact in your phone address book and WhatsApp.","parameters":["385f8de2-4755-4f12-a7cc-21db616c16e8","82e3ec55-4926-4c1a-ad4e-bb4fac2c62ca","0c05fed4-c262-4c7e-be53-2a0275dc6160"],"requestBody":"27525547-2586-4796-b1bf-f1a75fcc5806","responses":{"200":"3fa88170-f155-4039-9f82-66e9e5e99049","404":"062aad69-e83a-4710-919d-29548079dc5f","422":"0e18048f-5951-4a35-9ff5-e03ef5672e91","500":"ae0efddc-c904-4242-b742-0ef5835b50c2"},"security":["7c700a70-9d75-4b66-8ac1-b096823e041c"],"method":"post","type":"path","servers":["311d1d68-49d0-4be0-b903-20b92468febc"],"path":"/{instance}/contacts/upsert","baseUrlOptions":["https://app.hypersender.com/api/whatsapp/v2"],"title":"Upsert contact","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"385f8de2-4755-4f12-a7cc-21db616c16e8":{"name":"Accept","in":"header","description":"application/json","schema":{"type":"string","example":"application/json","description":"application/json","uniqueKey":"","typeLabel":"string"}},"82e3ec55-4926-4c1a-ad4e-bb4fac2c62ca":{"name":"Content-Type","in":"header","description":"application/json","schema":{"type":"string","example":"application/json","description":"application/json","uniqueKey":"","typeLabel":"string"}},"0c05fed4-c262-4c7e-be53-2a0275dc6160":{"name":"instance","in":"path","description":"Instance UUID copied from hypersender dashboard","required":true,"schema":{"type":"string","example":"{{ instance_id }}","isRequired":true,"description":"Instance UUID copied from hypersender dashboard","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"chat_id":{"type":"string","description":"Phone number (123123123) or chat ID ([email protected] or 123123@lid)","example":"[email protected]","isRequired":true,"uniqueKey":"chat_id","typeLabel":"string"},"first_name":{"type":"string","description":"The contact's first name","example":"John","isRequired":true,"uniqueKey":"first_name","typeLabel":"string"},"last_name":{"type":"string","description":"The contact's last name","example":"Doe","uniqueKey":"last_name","typeLabel":"string"}},"required":["chat_id","first_name"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"chat_id":"[email protected]","first_name":"John","last_name":"Doe"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"3fa88170-f155-4039-9f82-66e9e5e99049":{"description":"Contact upserted successfully","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Contact upserted successfully.","uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","properties":{"success":{"type":"boolean","example":true,"uniqueKey":"data.success","typeLabel":"boolean"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Contact upserted successfully.","data":{"success":true}}}},"exampleType":"generated"}},"exampleType":"generated"},"062aad69-e83a-4710-919d-29548079dc5f":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","title":"NotFoundError","example":{"message":"Resource not found."},"properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"x-examples":{"Example 1":{"message":"Resource not found."}},"x-stoplight":{"id":"ar3vz55asbxme"},"uniqueKey":"","typeLabel":"NotFoundError · object"},"examples":{"Example":{"title":"Example","value":{"message":"Resource not found."}}},"exampleType":"generated"}},"exampleType":"generated"},"0e18048f-5951-4a35-9ff5-e03ef5672e91":{"description":"Validation Error","content":{"application/json":{"schema":{"type":"object","title":"ValidationError","properties":{"errors":{"type":"object","description":"Invalid or missing feilds will be shown here","isRequired":true,"uniqueKey":"errors","typeLabel":"object"},"statusCode":{"type":"number","isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"example":{"message":"The given data was invalid.","errors":{},"statusCode":422},"required":["errors","statusCode"],"x-examples":{"Multiple fields Error":{"message":"The given data was invalid.","errors":{"messages":["The number you want to send the message to is not on whatsapp."],"jid":"[email protected]","exists":false},"statusCode":422},"Single Field error ":{"message":"The given data was invalid.","errors":{"messages":["textMessage.text should not be empty"]},"statusCode":422}},"x-stoplight":{"id":"90x3wfxw7gqcb"},"uniqueKey":"","typeLabel":"ValidationError · object"},"examples":{"Example":{"title":"Example","value":{"message":"The given data was invalid.","errors":{},"statusCode":422}}},"exampleType":"generated"}},"exampleType":"generated"},"ae0efddc-c904-4242-b742-0ef5835b50c2":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","title":"ServerError","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"example":{"message":"Internal Server Error"},"x-stoplight":{"id":"2fhq2gihsfreh"},"uniqueKey":"","typeLabel":"ServerError · object"},"examples":{"Example":{"title":"Example","value":{"message":"Internal Server Error"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"7c700a70-9d75-4b66-8ac1-b096823e041c":{"Authorization":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"Authorization"}}},"servers":{"311d1d68-49d0-4be0-b903-20b92468febc":{"url":"https://app.hypersender.com/api/whatsapp/v2","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"Authorization"},"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":"Authorization","name":"Authorization"}],"title":"Authorization"}]},"originalFileLocation":"v2/api-reference/whatsapp/whatsapp-collection.json"},"subdomain":"hypersender","siteName":"Hypersender","title":"Upsert Contact - Hypersender","navMaps":{"firstHrefInVersion":{"v2":{"href":"/v2/api-reference/whatsapp/contacts/upsert-contact","matchLevel":0},"v1":{"href":"/v1/api-reference/whatsapp/send-messages/send-text-safe","matchLevel":2}},"firstHrefInLanguage":{}},"lastModified":"2026-07-05T12:42:49.988Z","gitLastModified":"2026-07-05T12:42:25.000Z","originalFileLocation":"v2/api-reference/whatsapp/contacts/upsert-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 or create a contact in your phone address book and WhatsApp.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Hypersender\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hypersender/YssXEy8fq447EilS/_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/hypersender/YssXEy8fq447EilS/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hypersender/YssXEy8fq447EilS/_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/hypersender/YssXEy8fq447EilS/_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/hypersender/YssXEy8fq447EilS/_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/hypersender/YssXEy8fq447EilS/_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/hypersender/YssXEy8fq447EilS/_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/hypersender/YssXEy8fq447EilS/_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/hypersender/YssXEy8fq447EilS/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Upsert Contact - Hypersender\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update or create a contact in your phone address book and WhatsApp.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Hypersender Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/upsert-contact\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hypersender.mintlify.site/_mintlify/api/og/v2?division=Contacts\u0026amp;title=Upsert+Contact\u0026amp;description=Update+or+create+a+contact+in+your+phone+address+book+and+WhatsApp.\u0026amp;theme=d6765127fbd2a000fa399d12\u0026amp;signature=9f063b96a82cc8affd58db2b8c3b9240f748ac30514c946581f005bc10272682\">\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=\"Upsert Contact - Hypersender\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update or create a contact in your phone address book and WhatsApp.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hypersender.mintlify.site/_mintlify/api/og/v2?division=Contacts\u0026amp;title=Upsert+Contact\u0026amp;description=Update+or+create+a+contact+in+your+phone+address+book+and+WhatsApp.\u0026amp;theme=d6765127fbd2a000fa399d12\u0026amp;signature=9f063b96a82cc8affd58db2b8c3b9240f748ac30514c946581f005bc10272682\">\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/hypersender/YssXEy8fq447EilS/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Hypersender\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#10b981\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003cmeta data-mint-head name=\"author\" content=\"Hypersender\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#10b981\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/upsert-contact\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v2/api-reference/whatsapp/contacts/upsert-contact.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://hypersender.com/#organization\",\"name\":\"Hypersender\",\"url\":\"https://hypersender.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hypersender/RX4Bj-Mb6ti70ZQe/logo/light.svg?fit=max\u0026auto=format\u0026n=RX4Bj-Mb6ti70ZQe\u0026q=85\u0026s=e38aff8c21e09ed683da236a8ffe8e13\"},\"sameAs\":[\"https://x.com/hypersender\",\"https://github.com/hypersender\",\"https://linkedin.com/company/hypersender\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.hypersender.com#website\",\"name\":\"Hypersender\",\"url\":\"https://docs.hypersender.com\",\"publisher\":{\"@id\":\"https://hypersender.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/upsert-contact#webpage\",\"url\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/upsert-contact\",\"name\":\"Upsert Contact\",\"description\":\"Update or create a contact in your phone address book and WhatsApp.\",\"dateModified\":\"2026-07-05T12:42:25.000Z\",\"isPartOf\":{\"@id\":\"https://docs.hypersender.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/upsert-contact#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/upsert-contact#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"WhatsApp API\",\"item\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/send-messages/send-text-safe\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Contacts\",\"item\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/check-contact-exists\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Upsert Contact\",\"item\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/upsert-contact\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/upsert-contact#apireference\",\"headline\":\"Upsert Contact\",\"name\":\"Upsert Contact\",\"description\":\"Update or create a contact in your phone address book and WhatsApp.\",\"url\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/upsert-contact\",\"mainEntityOfPage\":{\"@id\":\"https://docs.hypersender.com/v2/api-reference/whatsapp/contacts/upsert-contact#webpage\"},\"dateModified\":\"2026-07-05T12:42:25.000Z\",\"publisher\":{\"@id\":\"https://hypersender.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.hypersender.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Hypersender\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Hypersender","nav":{"global":{"anchors":[{"anchor":"WhatsApp Support","icon":"whatsapp","href":"https://wa.me/201065684630"},{"anchor":"Discord Support","icon":"discord","href":"https://discord.gg/ysSmK32ykC"},{"anchor":"Blog","icon":"newspaper","href":"https://hypersender.com/blog"}]},"versions":[{"version":"v2","tabs":[{"tab":"Guides","icon":"book","pages":[{"title":"Guides","href":"/v2/hypersender/hypersender-api-for-whatsapp-and-sms-messaging"}]},{"tab":"Whatsapp API","icon":"whatsapp","groups":[{"group":"Overview","boost":3,"pages":[{"title":"WhatsApp API Introduction","href":"/v2/api-reference/whatsapp/whatsapp-api-introduction"},{"title":"Queued Requests","href":"/v2/api-reference/whatsapp/queued-requests"},{"title":"What is chatId?","href":"/v2/api-reference/whatsapp/what-is-chatid"},{"title":"How to Send a WhatsApp Message in Postman","mode":"wide","href":"/v2/api-reference/whatsapp/how-to-send-a-whatsapp-message-in-postman"}]},{"group":"WhatsApp API","pages":[{"group":"Send Messages","pages":[{"title":"Send Text Safe","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-text-safe","href":"/v2/api-reference/whatsapp/send-messages/send-text-safe"},{"title":"Send Text","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-text","href":"/v2/api-reference/whatsapp/send-messages/send-text"},{"title":"Send Link Custom Preview","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-link-custom-preview","href":"/v2/api-reference/whatsapp/send-messages/send-link-custom-preview"},{"title":"Send File","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-file","href":"/v2/api-reference/whatsapp/send-messages/send-file"},{"title":"Send Video","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-video","href":"/v2/api-reference/whatsapp/send-messages/send-video"},{"title":"Send Image","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-image","href":"/v2/api-reference/whatsapp/send-messages/send-image"},{"title":"Send a Voice Message","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-voice","href":"/v2/api-reference/whatsapp/send-messages/send-a-voice-message"},{"title":"Forward Message","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/forward-message","href":"/v2/api-reference/whatsapp/send-messages/forward-message"},{"title":"Send Seen","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-seen","href":"/v2/api-reference/whatsapp/send-messages/send-seen"},{"title":"Read Chat","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/read-chat","href":"/v2/api-reference/whatsapp/send-messages/read-chat"},{"title":"Start Typing","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/start-typing","href":"/v2/api-reference/whatsapp/send-messages/start-typing"},{"title":"Stop Typing","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/stop-typing","href":"/v2/api-reference/whatsapp/send-messages/stop-typing"},{"title":"Send Poll","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-poll","href":"/v2/api-reference/whatsapp/send-messages/send-poll"},{"title":"Send Contact Card","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-contact-card","href":"/v2/api-reference/whatsapp/send-messages/send-contact-card"},{"title":"Send Location","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/send-location","href":"/v2/api-reference/whatsapp/send-messages/send-location"},{"title":"React to Message","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json PUT /{instance}/react-to-message","href":"/v2/api-reference/whatsapp/send-messages/react-to-message"},{"title":"Star Message","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json PUT /{instance}/star-message","href":"/v2/api-reference/whatsapp/send-messages/star-message"},{"title":"Delete WhatsApp Message","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json DELETE /{instance}/delete-message","href":"/v2/api-reference/whatsapp/send-messages/delete-whatsapp-message"}]},{"group":"Queued Requests","pages":[{"title":"Get Queued Request","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/queued-requests/{queued_request_uuid}","href":"/v2/api-reference/whatsapp/queued-requests/get-queued-request"}]},{"group":"Contacts","pages":[{"title":"Check Contact Exists","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/contacts/check-exists","href":"/v2/api-reference/whatsapp/contacts/check-contact-exists"},{"title":"Get All Contacts","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/contacts/get-all","href":"/v2/api-reference/whatsapp/contacts/get-all-contacts"},{"title":"Get Contact","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/contacts/get","href":"/v2/api-reference/whatsapp/contacts/get-contact"},{"title":"Get Profile Picture","description":"Retrieve the profile picture URL for a specific contact.","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/contacts/profile-picture","href":"/v2/api-reference/whatsapp/contacts/get-profile-picture"},{"title":"Upsert Contact","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json POST /{instance}/contacts/upsert","href":"/v2/api-reference/whatsapp/contacts/upsert-contact"},{"title":"Get All Known LIDs","description":"List the @lid to @c.us mappings already known by a Hypersender WhatsApp instance.","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/contacts/get-all-known-lids","href":"/v2/api-reference/whatsapp/contacts/get-all-known-lids"},{"title":"Get Count of LIDs","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/contacts/get-lids-count","href":"/v2/api-reference/whatsapp/contacts/get-count-of-lids"},{"title":"Get Phone Number by LID","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/contacts/get-phone-number-by-lid","href":"/v2/api-reference/whatsapp/contacts/get-phone-number-by-lid"},{"title":"Get LID by Phone Number","openapi":"v2/api-reference/whatsapp/whatsapp-collection.json GET /{instance}/contacts/get-lid-by-phone-number","href":"/v2/api-reference/whatsapp/contacts/get-lid-by-phone-number"}]},{"group":"Queued Requests","pages":[]},{"group":"Send Messages","pages":[]},{"group":"Contacts","pages":[]}]},{"group":"Whatsapp Webhooks","pages":[{"title":"WhatsApp Webhooks Introduction","href":"/v2/api-reference/whatsapp-webhooks/whatsapp-webhooks-introduction"},{"group":"Presence","pages":[{"title":"Presence Update","openapi":"v2/api-reference/whatsapp-webhooks/whatsapp-webhooks.json webhook presence-update","href":"/v2/api-reference/whatsapp-webhooks/presence-update"}]},{"group":"Messages","pages":[{"title":"Messages Any","openapi":"v2/api-reference/whatsapp-webhooks/whatsapp-webhooks.json webhook messages-any","href":"/v2/api-reference/whatsapp-webhooks/messages-any"},{"title":"Message Reaction","openapi":"v2/api-reference/whatsapp-webhooks/whatsapp-webhooks.json webhook messages-reaction","href":"/v2/api-reference/whatsapp-webhooks/message-reaction"},{"title":"Messages Ack","openapi":"v2/api-reference/whatsapp-webhooks/whatsapp-webhooks.json webhook messages-ack","href":"/v2/api-reference/whatsapp-webhooks/messages-ack"},{"title":"Messages Waiting","openapi":"v2/api-reference/whatsapp-webhooks/whatsapp-webhooks.json webhook messages-waiting","href":"/v2/api-reference/whatsapp-webhooks/messages-waiting"},{"title":"Messages Revoked","openapi":"v2/api-reference/whatsapp-webhooks/whatsapp-webhooks.json webhook messages-revoked","href":"/v2/api-reference/whatsapp-webhooks/messages-revoked"}]},{"group":"Poll","pages":[{"title":"Poll Vote","openapi":"v2/api-reference/whatsapp-webhooks/whatsapp-webhooks.json webhook poll-vote","href":"/v2/api-reference/whatsapp-webhooks/poll-vote"},{"title":"Poll Vote Failed","openapi":"v2/api-reference/whatsapp-webhooks/whatsapp-webhooks.json webhook poll-vote-failed","href":"/v2/api-reference/whatsapp-webhooks/poll-vote-failed"}]},{"group":"Presence","pages":[]},{"group":"Messages","pages":[]},{"group":"Poll","pages":[]}]}]},{"tab":"OTP API","icon":"lock","pages":[{"title":"OTP API","href":"/v2/api-reference/otp/otp-api-introduction"}]},{"tab":"SMS API","icon":"message","pages":[{"title":"SMS API","href":"/v2/api-reference/sms/sms-api-introduction"}]},{"tab":"Enterprise WhatsApp API","icon":"fire","pages":[{"title":"Enterprise WhatsApp API","href":"/v2/api-reference/enterprise/enterprise-whatsapp-api-introduction"}]},{"tab":"Packages and SDKs","icon":"box-open","pages":[{"title":"Packages and SDKs","href":"/v2/packages-and-sdks/packages-and-sdks-overview"}]}]},{"version":"v1","pages":[{"title":"v1","href":"/v1/api-reference/whatsapp/send-messages/send-text-safe"}]}]},"basePath":"","title":"Upsert Contact - Hypersender","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}