Whether to ignore subscribedToLists field if the contact already exists and updateIfExists is set to true. Useful to avoid accidentally resubscribing a contact to lists they unsubscribed before. Default value is true.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"IndiePitcher","colors":{"primary":"#836FFF","light":"#836FFF","dark":"#836FFF"},"favicon":"/favicon.svg","logo":{"light":"https://mintcdn.com/indiepitcher/9ykXek5nppVsZnK7/logo/iplogo.png?fit=max\u0026auto=format\u0026n=9ykXek5nppVsZnK7\u0026q=85\u0026s=b0a88f34b5a35361f85f6bcc957573e9","dark":"https://mintcdn.com/indiepitcher/9ykXek5nppVsZnK7/logo/iplogo.png?fit=max\u0026auto=format\u0026n=9ykXek5nppVsZnK7\u0026q=85\u0026s=b0a88f34b5a35361f85f6bcc957573e9"},"api":{"openapi":["api-reference/openapi.yml"]},"background":{"decoration":null,"color":{"light":"#F5F5F5","dark":"#090724"}},"navbar":{"links":[{"label":"Support","href":"mailto:petr@indiepitcher.com"}],"primary":{"type":"button","label":"Login","href":"https://app.indiepitcher.com"}},"footer":{"socials":{"twitter":"https://twitter.com/indiepitcher","discord":"https://discord.gg/zjCzhAqQZe","linkedin":"https://linkedin.com/company/indiepitcher","facebook":"https://www.facebook.com/profile.php?id=61555636693060"}},"integrations":{"plausible":{"domain":"docs.indiepitcher.com"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"indiepitcher","hasAudioNarration":false,"actualSubdomain":"indiepitcher","customDomains":["docs.indiepitcher.com"],"gitSource":{"type":"github","owner":"petrpavlik","repo":"indiepitcher-mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21c9428d90fac40fc25dea","collectionId":"9176b456-fa01-497a-befb-294513ffdec6","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21c9428d90fac40fc25dea:success","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Documentation","count":19},{"language":"default","tag":"API Reference","count":12},{"language":"default","tag":"Contacts","count":6},{"language":"default","tag":"Email","count":3},{"language":"default","tag":"Integrations","count":3},{"language":"default","tag":"Mailing Lists","count":2},{"language":"default","tag":"API Documentation","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":"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":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoints/create-contact","slug":"/api-reference/endpoints/create-contact","pageMetadata":{"openapi":"post /contacts/create","title":"Add a new contact","description":"Add a new contact to the mailing list, or update an existing one if `updateIfExists` is set to `true`.","href":"/api-reference/endpoints/create-contact"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Add a new contact to the mailing list, or update an existing one if \", _jsx(_components.code, {\n children: \"updateIfExists\"\n }), \" is set to \", _jsx(_components.code, {\n children: \"true\"\n }), \".\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"post /contacts/create","title":"Add a new contact","description":"Add a new contact to the mailing list, or update an existing one if `updateIfExists` is set to `true`.","href":"/api-reference/endpoints/create-contact"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Contacts"],"summary":"Add a new contact","description":"Add a new contact to the mailing list, or update an existing one if `updateIfExists` is set to `true`.","requestBody":"1a81370e-604d-4c5b-85ca-b1b71f2684e3","responses":{"200":"8f69c5cc-7336-4e33-99a2-0b4d78ceb4f8"},"security":["b82ccaa2-5237-4501-8f61-2819b9f16deb"],"method":"post","type":"path","servers":["36006a0d-8c5c-4ec5-97e8-c693d73f28c4"],"path":"/contacts/create","baseUrlOptions":["https://api.indiepitcher.com/v1"],"title":"Add a new contact","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"The email of the contact.","example":"john@acme.com","isRequired":true,"uniqueKey":"email","typeLabel":"string"},"userId":{"oneOf":[{"type":"string","description":"The user id of the contact.","example":"1234567","uniqueKey":"userId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The user id of the contact.","example":"1234567","uniqueKey":"userId.oneOf.1","typeLabel":"null"}],"uniqueKey":"userId","typeLabel":"string | null"},"avatarUrl":{"oneOf":[{"type":"string","description":"The avatar url of the contact.","example":"https://example.com/avatar.jpg","uniqueKey":"avatarUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The avatar url of the contact.","example":"https://example.com/avatar.jpg","uniqueKey":"avatarUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"avatarUrl","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"The full name of the contact.","example":"John Doe","uniqueKey":"name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The full name of the contact.","example":"John Doe","uniqueKey":"name.oneOf.1","typeLabel":"null"}],"uniqueKey":"name","typeLabel":"string | null"},"languageCode":{"oneOf":[{"type":"string","description":"The language code of the contact.","example":"en_US","uniqueKey":"languageCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"The language code of the contact.","example":"en_US","uniqueKey":"languageCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"languageCode","typeLabel":"string | null"},"updateIfExists":{"oneOf":[{"type":"boolean","description":"If a contact with the provided email already exists, update the contact with the new data.","uniqueKey":"updateIfExists.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"If a contact with the provided email already exists, update the contact with the new data.","uniqueKey":"updateIfExists.oneOf.1","typeLabel":"null"}],"uniqueKey":"updateIfExists","typeLabel":"boolean | null"},"ignoreListSubscriptionsWhenUpdating":{"oneOf":[{"type":"boolean","description":"Whether to ignore `subscribedToLists` field if the contact already exists and `updateIfExists` is set to `true`. Useful to avoid accidentally resubscribing a contact to lists they unsubscribed before. Default value is `true`.","uniqueKey":"ignoreListSubscriptionsWhenUpdating.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether to ignore `subscribedToLists` field if the contact already exists and `updateIfExists` is set to `true`. Useful to avoid accidentally resubscribing a contact to lists they unsubscribed before. Default value is `true`.","uniqueKey":"ignoreListSubscriptionsWhenUpdating.oneOf.1","typeLabel":"null"}],"uniqueKey":"ignoreListSubscriptionsWhenUpdating","typeLabel":"boolean | null"},"subscribedToLists":{"type":"array","items":{"type":"string","uniqueKey":"subscribedToLists.items.[INDEX]","typeLabel":"string"},"description":"The array of mailing lists the contact is subscribed to.","example":["onboarding","newsletter"],"uniqueKey":"subscribedToLists","typeLabel":"string[]"},"customProperties":{"type":"object","additionalProperties":{"type":"any","uniqueKey":"customProperties.additionalProperties","typeLabel":"any"},"description":"The custom properties set for this contact.","example":{"company":"Acme","age":35},"uniqueKey":"customProperties","typeLabel":"object"}},"required":["email"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"email":"john@acme.com","userId":"1234567","avatarUrl":"https://example.com/avatar.jpg","name":"John Doe","languageCode":"en_US","updateIfExists":true,"ignoreListSubscriptionsWhenUpdating":true,"subscribedToLists":["onboarding","newsletter"],"customProperties":{"company":"Acme","age":35}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"8f69c5cc-7336-4e33-99a2-0b4d78ceb4f8":{"description":"A created or updated contact","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"data":{"required":["email"],"type":"object","properties":{"email":{"type":"string","description":"The email of the contact.","example":"john@acme.com","isRequired":true,"uniqueKey":"data.email","typeLabel":"string"},"userId":{"type":"string","description":"The user id of the contact.","example":123456,"uniqueKey":"data.userId","typeLabel":"string"},"name":{"type":"string","description":"The full name of the contact","example":"John Doe","uniqueKey":"data.name","typeLabel":"string"},"avatarUrl":{"type":"string","description":"The avatar url of the contact","example":"https://example.com/profile_pictures/123456","uniqueKey":"data.avatarUrl","typeLabel":"string"},"languageCode":{"type":"string","description":"The primary language language of this contact, represented by a language code.","example":"en-US","uniqueKey":"data.languageCode","typeLabel":"string"},"hardBouncedAt":{"type":"string","description":"The date when an attempt to send an email to the contact failed with a hard bounce, meaning the email address is invalid and no further emails will be send to this contact. You can reset this in the dashboard to re-enable sending emails to this contact.","example":"2024-04-23T18:25:43.511Z","uniqueKey":"data.hardBouncedAt","typeLabel":"string"},"subscribedToLists":{"type":"array","items":{"type":"string","uniqueKey":"data.subscribedToLists.items.[INDEX]","typeLabel":"string"},"description":"The array of mailing lists the contact is subscribed to.","example":["onboarding","newsletter"],"uniqueKey":"data.subscribedToLists","typeLabel":"string[]"},"customProperties":{"type":"object","additionalProperties":{"type":"any","uniqueKey":"data.customProperties.additionalProperties","typeLabel":"any"},"description":"The custom properties set for this contact.","example":{"company":"Acme","age":35},"uniqueKey":"data.customProperties","typeLabel":"object"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"email":"john@acme.com","userId":123456,"name":"John Doe","avatarUrl":"https://example.com/profile_pictures/123456","languageCode":"en-US","hardBouncedAt":"2024-04-23T18:25:43.511Z","subscribedToLists":["onboarding","newsletter"],"customProperties":{"company":"Acme","age":35}}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"b82ccaa2-5237-4501-8f61-2819b9f16deb":{"apiKey":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"36006a0d-8c5c-4ec5-97e8-c693d73f28c4":{"url":"https://api.indiepitcher.com/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"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":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"api-reference/openapi.yml"},"subdomain":"indiepitcher","siteName":"IndiePitcher","title":"Add a new contact - IndiePitcher","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T00:52:39.104Z","originalFileLocation":"api-reference/endpoints/create-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=\"Add a new contact to the mailing list, or update an existing one if updateIfExists is set to true.\">\u003cmeta data-mint-head name=\"application-name\" content=\"IndiePitcher\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/indiepitcher/VouEa1tDVabv-Za1/_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/indiepitcher/VouEa1tDVabv-Za1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/indiepitcher/VouEa1tDVabv-Za1/_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/indiepitcher/VouEa1tDVabv-Za1/_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/indiepitcher/VouEa1tDVabv-Za1/_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/indiepitcher/VouEa1tDVabv-Za1/_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/indiepitcher/VouEa1tDVabv-Za1/_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/indiepitcher/VouEa1tDVabv-Za1/_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/indiepitcher/VouEa1tDVabv-Za1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add a new contact - IndiePitcher\">\u003cmeta data-mint-head property=\"og:description\" content=\"Add a new contact to the mailing list, or update an existing one if updateIfExists is set to true.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"IndiePitcher\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.indiepitcher.com/api-reference/endpoints/create-contact\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://indiepitcher.mintlify.app/_mintlify/api/og/v2?division=Contacts\u0026amp;title=Add+a+new+contact\u0026amp;description=Add+a+new+contact+to+the+mailing+list%2C+or+update+an+existing+one+if+%60updateIfExists%60+is+set+to+%60true%60.\u0026amp;theme=e15ee1dae9f3d0be7d722962\u0026amp;signature=2ae2ef67bb359cb10be1483459ba78f6833452758d32ccfc2c188ab1b8d91ab8\">\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=\"Add a new contact - IndiePitcher\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Add a new contact to the mailing list, or update an existing one if updateIfExists is set to true.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://indiepitcher.mintlify.app/_mintlify/api/og/v2?division=Contacts\u0026amp;title=Add+a+new+contact\u0026amp;description=Add+a+new+contact+to+the+mailing+list%2C+or+update+an+existing+one+if+%60updateIfExists%60+is+set+to+%60true%60.\u0026amp;theme=e15ee1dae9f3d0be7d722962\u0026amp;signature=2ae2ef67bb359cb10be1483459ba78f6833452758d32ccfc2c188ab1b8d91ab8\">\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/indiepitcher/VouEa1tDVabv-Za1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"IndiePitcher\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#836FFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.indiepitcher.com/api-reference/endpoints/create-contact\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoints/create-contact.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.indiepitcher.com/#organization\",\"name\":\"IndiePitcher\",\"url\":\"https://docs.indiepitcher.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/indiepitcher/9ykXek5nppVsZnK7/logo/iplogo.png?fit=max\u0026auto=format\u0026n=9ykXek5nppVsZnK7\u0026q=85\u0026s=b0a88f34b5a35361f85f6bcc957573e9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.indiepitcher.com#website\",\"name\":\"IndiePitcher\",\"url\":\"https://docs.indiepitcher.com\",\"publisher\":{\"@id\":\"https://docs.indiepitcher.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.indiepitcher.com/api-reference/endpoints/create-contact#webpage\",\"url\":\"https://docs.indiepitcher.com/api-reference/endpoints/create-contact\",\"name\":\"Add a new contact\",\"description\":\"Add a new contact to the mailing list, or update an existing one if updateIfExists is set to true.\",\"dateModified\":\"2026-01-07T00:52:39.104Z\",\"isPartOf\":{\"@id\":\"https://docs.indiepitcher.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.indiepitcher.com/api-reference/endpoints/create-contact#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.indiepitcher.com/api-reference/endpoints/create-contact#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Contacts\",\"item\":\"https://docs.indiepitcher.com/api-reference/endpoints/list-contacts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add a new contact\",\"item\":\"https://docs.indiepitcher.com/api-reference/endpoints/create-contact\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.indiepitcher.com/api-reference/endpoints/create-contact#apireference\",\"headline\":\"Add a new contact\",\"name\":\"Add a new contact\",\"description\":\"Add a new contact to the mailing list, or update an existing one if updateIfExists is set to true.\",\"url\":\"https://docs.indiepitcher.com/api-reference/endpoints/create-contact\",\"mainEntityOfPage\":{\"@id\":\"https://docs.indiepitcher.com/api-reference/endpoints/create-contact#webpage\"},\"dateModified\":\"2026-01-07T00:52:39.104Z\",\"publisher\":{\"@id\":\"https://docs.indiepitcher.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.indiepitcher.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"IndiePitcher\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"IndiePitcher","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Email","pages":[{"openapi":"post /email/transactional","title":"Sends an email to specified email address.","href":"/api-reference/endpoints/send-transactional-email"},{"openapi":"post /email/contact","title":"Send an email to one of more registered contacts.","href":"/api-reference/endpoints/send-email-to-contacts"},{"openapi":"post /email/list","title":"Send an email to registered contacts in a mailing list.","href":"/api-reference/endpoints/send-email-to-mailing-list"}]},{"group":"Contacts","pages":[{"openapi":"get /contacts","title":"Retrieve contacts","href":"/api-reference/endpoints/list-contacts"},{"openapi":"get /contacts/find","title":"Find a contact","description":"Find a contact based on their email address.","href":"/api-reference/endpoints/find-contact"},{"openapi":"post /contacts/create","title":"Add a new contact","href":"/api-reference/endpoints/create-contact"},{"openapi":"post /contacts/create_many","title":"Add multiple contacts using a single API call","description":"Add miultiple contacts (up to 100) using a single API call to avoid being rate limited. Payloads with `updateIfExists` is set to `true` will be updated if a contact with given email already exists.","href":"/api-reference/endpoints/create-multiple-contacts"},{"openapi":"patch /contacts/update","title":"Update an existing contact","href":"/api-reference/endpoints/update-contact"},{"openapi":"post /contacts/delete","title":"Delete a contact","href":"/api-reference/endpoints/delete-contact"}]},{"group":"Mailing Lists","pages":[{"openapi":"get /lists","title":"Retrieve mailing lists","href":"/api-reference/endpoints/retrieve-mailing-lists"},{"openapi":"post /lists/portal_session","title":"Create a portal session URL for a contact to manage their mailing list subscripitons","href":"/api-reference/endpoints/create-mailing-list-portal-session"}]}]}]},"basePath":"","title":"Add a new contact - IndiePitcher","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}