Creates a contact or, if the company already has a contact with any of the identifiers sent, reuses that contact instead of creating another.
Identifiers:phone_number (with country_code), email and linkedin_identifier. Besides name, at least one of them is required; with none, 400 "Informe pelo menos um identificador: telefone, e-mail ou LinkedIn.". The contact can be created without a phone.
Lookup order: email, LinkedIn and phone. Email only counts with @ and is recognized in its normalized form (no leading or trailing spaces, lowercase), which is how it’s saved from now on; old emails saved with uppercase letters are only recognized with the same spelling, until the database is normalized. LinkedIn accepts the profile URL or just the name. Phone is normalized (area code, 9th digit).
201: contact created. The body is the contact with created: true, matched_by: null, matches_count: 0 and ignored_fields: [].
200: existing contact reused. The body is the contact with created: false, matched_by (email, linkedin or phone) and matches_count (how many contacts in the company matched by that key; above 1, there are duplicates and the oldest one was used). Found by phone, the fields sent are updated, as the POST always did; found by email or LinkedIn, only the fields that were empty are filled in, and ignored_fields lists the ones sent that weren’t saved because the contact already had another value (e.g. email, phone_number, job_title, additional_attributes.<slug>). name and the owner never change. To change any field of an existing contact, use PUT /v1/contacts/{id}.
409 CONTACT_IDENTITY_CONFLICT: the identifiers sent belong to different contacts (e.g. the phone belongs to one contact and the email to another). Nothing is saved; conflicts returns the contact for each identifier.
Profile fields:job_title, seniority, department, country, region, city and experience are saved on creation; on an existing contact, they follow the 200 rule (updated if found by phone, only filled in if empty when found by email or LinkedIn).
Phone: digits only, area code + number, without the country code (the country code goes in country_code, required together with the phone). An invalid phone returns 400.
additional_attributes:{ "slug": value }, with a primitive value (string, number, boolean or null). A slug that doesn’t exist, or that belongs to a custom field whose context isn’t CONTACT, is silently ignored. On an existing contact, merge by slug: found by phone, the slugs sent are updated; found by email or LinkedIn, only empty ones are filled in.
Check first:POST /v1/contacts/identity-check tells you what this route would do, without saving.
Target company identifier. Required only for global API keys (type=global). Ignored for company API keys and human users.
Body
application/json
name
string
required
The contact's full name. Required. If the contact already exists, its name is preserved.
Minimum string length: 1
country_code
string
Country calling code (1-3 digits). Examples: 55 (Brazil), 1 (USA), 351 (Portugal). Required when phone_number is sent; without a phone, don't send it.
Required string length: 1 - 3
Pattern: ^\d{1,3}$
email
string
The contact's email address. Identifies the contact by its normalized form (no leading or trailing spaces, lowercase), which is how it's saved. Old emails saved with uppercase letters are only recognized with the same spelling, until the database is normalized. Only counts as an identifier if it contains "@". On an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.
linkedin_identifier
string
The contact's LinkedIn identifier: profile URL or just the profile name. Example: joao-silva-123. Identifies the contact. On an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.
phone_number
string
Phone number without formatting, digits only (area code + number, without the country code). Example: 11999998888. Identifies the contact. A phone that doesn't form a valid number with country_code is rejected with 400. Optional: the contact needs at least one identifier among phone, email, and LinkedIn.
Pattern: ^\d*$
job_title
string
The contact's job title. Example: Sales Manager. Saved on creation; on an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.
seniority
string
The contact's seniority level. Example: Senior, Junior, Mid-level. Saved on creation; on an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.
department
string
The contact's department. Example: Sales, IT, Marketing. Saved on creation; on an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.
country
string
The contact's country. Example: Brazil. Saved on creation; on an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.
region
string
The contact's state or region. Example: São Paulo. Saved on creation; on an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.
city
string
The contact's city. Example: São Paulo. Saved on creation; on an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.
experience
string
The contact's professional experience. Saved on creation; on an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.
additional_attributes
object
The contact's custom fields. Format: { "field_slug": value }. Slugs must match custom fields registered with the CONTACT context. Invalid or nonexistent slugs are silently ignored. Values must be primitives (string, number, boolean or null). On an existing contact found by phone, the slugs sent are updated (merge); found by email or LinkedIn, only empty slugs are filled in. Slugs not sent stay as they are. Example: { "cpf": "12345678900", "data_nascimento": "1990-01-15", "valor_total": 1500.50 }
Show child attributes
Response
Existing contact reused (created: false). Found by phone, the fields sent were updated; by email or LinkedIn, only empty ones were filled in and ignored_fields lists what wasn't saved.
name
string
required
Contact name
company
any
required
Contact's company
created
boolean
required
true when the contact was created (201); false when it was reused (200).
matched_by
enum<string> | null
required
Identifier that matched
Available options:
email,
linkedin,
phone
matches_count
number
required
How many contacts in the company matched by the matched_by key (0 on creation). Above 1, the company has duplicate contacts and the oldest one was reused.
ignored_fields
string[]
required
Fields sent that were NOT saved because the existing contact already had another value (only when reused by email or LinkedIn). E.g. email, phone_number, job_title, additional_attributes.<slug>. Empty on creation and when found by phone.
_id
string
Contact ID
id
string
Contact ID (same value as _id)
country_code
string
Country code of the number. Absent, along with the phone, when the contact only has a WhatsApp identifier.
email
string
Contact's email
last_activity_at
any
Date of the contact's last activity
phone_number
string
The contact's phone number. Absent when the contact only has a WhatsApp identifier.
linkedin_identifier
string
LinkedIn profile identifier
job_title
string
Contact's job title
seniority
string
Contact's seniority level
department
string
Contact's department
country
string
Contact's country
region
string
Contact's state or region
city
string
Contact's city
experience
string
Contact's professional experience
skills
string
Contact's skills
additional_attributes
object
Values of the contact's custom fields, by slug. When saved via additional_attributes, the value comes in the envelope { id, value, type, updatedAt }. When saved via custom_fields (PUT), it comes raw: the option_id (select), the list of option_id (multi_select) or the text (text).
Show child attributes
business
string | null
ID of the Business the contact belongs to
notes
object[]
Notes recorded on the contact
Show child attributes
marketing_opt_out
object
Marketing opt-out per communication channel (whatsapp, email, linkedin). Absent or empty when the contact hasn't opted out of any channel.
Show child attributes
do_not_contact
object | null
"Do not contact" state: an object while blocked, null after unblocking, absent for contacts never marked. Blocks every automated send, on all channels.
Show child attributes
whatsapp_user_id
string
The contact's WhatsApp identifier (BSUID), assigned by Meta. Opaque string.
whatsapp_username
string
The contact's WhatsApp @username, as Meta sends it
whatsapp_parent_user_id
string
The contact's WhatsApp parent_user_id, as Meta sends it
createdAt
any
Contact creation date
updatedAt
any
Contact update date
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Nuvia API","colors":{"primary":"#586DBF","light":"#4387FE","dark":"#354896"},"logo":{"light":"https://mintcdn.com/nuvia-f82521d6/z6aKZLErJ5b0Dl9Q/logo/logo-preta.svg?fit=max\u0026auto=format\u0026n=z6aKZLErJ5b0Dl9Q\u0026q=85\u0026s=eefb6da6faca9e8bd666072f4ee5169f","dark":"https://mintcdn.com/nuvia-f82521d6/z6aKZLErJ5b0Dl9Q/logo/logo-clara.svg?fit=max\u0026auto=format\u0026n=z6aKZLErJ5b0Dl9Q\u0026q=85\u0026s=7c087f78e5767159c915b9a46c8accb5"},"favicon":"https://mintcdn.com/nuvia-f82521d6/aBBnoERVXx4eoWfY/logo/icon-dark.svg?fit=max\u0026auto=format\u0026n=aBBnoERVXx4eoWfY\u0026q=85\u0026s=484b403e664b5bb9e54b155ffe59a516","api":{"openapi":"openapi.json"},"navbar":{"links":[{"href":"mailto:support@nuvia.ai","label":"Suporte"}],"primary":{"type":"button","label":"Acessar Plataforma","href":"https://app.nuvia.ai"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/nuvia-ai"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"pt-BR","default":true,"href":""},{"language":"en","href":"en"},{"language":"es","href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nuvia-f82521d6","hasAudioNarration":false,"actualSubdomain":"nuvia-f82521d6","customDomains":["developers.nuvia.ai"],"gitSource":{"type":"github","owner":"nuvia-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af36d734636362ff654e9a0","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"pt-BR","tag":"Referência da API","count":133},{"language":"en","tag":"API Reference","count":133},{"language":"es","tag":"Referencia de la API","count":133},{"language":"pt-BR","tag":"Tabelas e Listas","count":31},{"language":"en","tag":"Tables and lists","count":31},{"language":"es","tag":"Tablas y listas","count":31},{"language":"pt-BR","tag":"Campanhas","count":19},{"language":"en","tag":"Campaigns","count":19},{"language":"es","tag":"Campañas","count":19},{"language":"pt-BR","tag":"Contatos","count":17},{"language":"en","tag":"Contacts","count":17},{"language":"es","tag":"Contactos","count":17},{"language":"pt-BR","tag":"Conversas","count":13},{"language":"en","tag":"Conversations","count":13},{"language":"es","tag":"Conversaciones","count":13},{"language":"pt-BR","tag":"Início","count":12},{"language":"en","tag":"Home","count":12},{"language":"es","tag":"Inicio","count":12},{"language":"pt-BR","tag":"Agentes","count":10},{"language":"pt-BR","tag":"HubSpot","count":10},{"language":"en","tag":"Agents","count":10},{"language":"en","tag":"HubSpot","count":10},{"language":"es","tag":"Agentes","count":10},{"language":"es","tag":"HubSpot","count":10},{"language":"pt-BR","tag":"Mensagens","count":8},{"language":"en","tag":"Messages","count":8},{"language":"es","tag":"Mensajes","count":8},{"language":"pt-BR","tag":"Guias","count":7},{"language":"en","tag":"Guides","count":7},{"language":"es","tag":"Guías","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/api-reference/contacts/create-contact-or-reuse-the-existing-one","slug":"/en/api-reference/contacts/create-contact-or-reuse-the-existing-one","pageMetadata":{"title":"Create contact (or reuse the existing one)","description":"Creates a contact or, if the company already has a contact with any of the identifiers sent, reuses that contact instead of creating another.\n\n- **Identifiers:** `phone_number` (with `country_code`), `email` and `linkedin_identifier`. Besides `name`, at least one of them is required; with none, 400 `\"Informe pelo menos um identificador: telefone, e-mail ou LinkedIn.\"`. The contact can be created without a phone.\n- **Lookup order:** email, LinkedIn and phone. Email only counts with `@` and is recognized in its normalized form (no leading or trailing spaces, lowercase), which is how it's saved from now on; old emails saved with uppercase letters are only recognized with the same spelling, until the database is normalized. LinkedIn accepts the profile URL or just the name. Phone is normalized (area code, 9th digit).\n- **201:** contact created. The body is the contact with `created: true`, `matched_by: null`, `matches_count: 0` and `ignored_fields: []`.\n- **200:** existing contact reused. The body is the contact with `created: false`, `matched_by` (`email`, `linkedin` or `phone`) and `matches_count` (how many contacts in the company matched by that key; above 1, there are duplicates and the oldest one was used). Found by phone, the fields sent are updated, as the POST always did; found by email or LinkedIn, only the fields that were empty are filled in, and `ignored_fields` lists the ones sent that weren't saved because the contact already had another value (e.g. `email`, `phone_number`, `job_title`, `additional_attributes.\u003cslug>`). `name` and the owner never change. To change any field of an existing contact, use `PUT /v1/contacts/{id}`.\n- **409 `CONTACT_IDENTITY_CONFLICT`:** the identifiers sent belong to different contacts (e.g. the phone belongs to one contact and the email to another). Nothing is saved; `conflicts` returns the contact for each identifier.\n- **Profile fields:** `job_title`, `seniority`, `department`, `country`, `region`, `city` and `experience` are saved on creation; on an existing contact, they follow the 200 rule (updated if found by phone, only filled in if empty when found by email or LinkedIn).\n- **Phone:** digits only, area code + number, without the country code (the country code goes in `country_code`, required together with the phone). An invalid phone returns 400.\n- **additional_attributes:** `{ \"slug\": value }`, with a primitive value (string, number, boolean or null). A slug that doesn't exist, or that belongs to a custom field whose context isn't CONTACT, is silently ignored. On an existing contact, merge by slug: found by phone, the slugs sent are updated; found by email or LinkedIn, only empty ones are filled in.\n- **Check first:** `POST /v1/contacts/identity-check` tells you what this route would do, without saving.","deprecated":null,"version":null,"sidebarTitle":"Create contact or reuse the existing one","openapi":"/en/openapi.json post /v1/contacts","href":"/en/api-reference/contacts/create-contact-or-reuse-the-existing-one","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Creates a contact or, if the company already has a contact with any of the identifiers sent, reuses that contact instead of creating another.\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Identifiers:\"\n }), \" \", _jsx(_components.code, {\n children: \"phone_number\"\n }), \" (with \", _jsx(_components.code, {\n children: \"country_code\"\n }), \"), \", _jsx(_components.code, {\n children: \"email\"\n }), \" and \", _jsx(_components.code, {\n children: \"linkedin_identifier\"\n }), \". Besides \", _jsx(_components.code, {\n children: \"name\"\n }), \", at least one of them is required; with none, 400 \", _jsx(_components.code, {\n children: \"\\\"Informe pelo menos um identificador: telefone, e-mail ou LinkedIn.\\\"\"\n }), \". The contact can be created without a phone.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Lookup order:\"\n }), \" email, LinkedIn and phone. Email only counts with \", _jsx(_components.code, {\n children: \"@\"\n }), \" and is recognized in its normalized form (no leading or trailing spaces, lowercase), which is how it’s saved from now on; old emails saved with uppercase letters are only recognized with the same spelling, until the database is normalized. LinkedIn accepts the profile URL or just the name. Phone is normalized (area code, 9th digit).\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"201:\"\n }), \" contact created. The body is the contact with \", _jsx(_components.code, {\n children: \"created: true\"\n }), \", \", _jsx(_components.code, {\n children: \"matched_by: null\"\n }), \", \", _jsx(_components.code, {\n children: \"matches_count: 0\"\n }), \" and \", _jsx(_components.code, {\n children: \"ignored_fields: []\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"200:\"\n }), \" existing contact reused. The body is the contact with \", _jsx(_components.code, {\n children: \"created: false\"\n }), \", \", _jsx(_components.code, {\n children: \"matched_by\"\n }), \" (\", _jsx(_components.code, {\n children: \"email\"\n }), \", \", _jsx(_components.code, {\n children: \"linkedin\"\n }), \" or \", _jsx(_components.code, {\n children: \"phone\"\n }), \") and \", _jsx(_components.code, {\n children: \"matches_count\"\n }), \" (how many contacts in the company matched by that key; above 1, there are duplicates and the oldest one was used). Found by phone, the fields sent are updated, as the POST always did; found by email or LinkedIn, only the fields that were empty are filled in, and \", _jsx(_components.code, {\n children: \"ignored_fields\"\n }), \" lists the ones sent that weren’t saved because the contact already had another value (e.g. \", _jsx(_components.code, {\n children: \"email\"\n }), \", \", _jsx(_components.code, {\n children: \"phone_number\"\n }), \", \", _jsx(_components.code, {\n children: \"job_title\"\n }), \", \", _jsx(_components.code, {\n children: \"additional_attributes.\u003cslug>\"\n }), \"). \", _jsx(_components.code, {\n children: \"name\"\n }), \" and the owner never change. To change any field of an existing contact, use \", _jsx(_components.code, {\n children: \"PUT /v1/contacts/{id}\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsxs(_components.strong, {\n children: [\"409 \", _jsx(_components.code, {\n children: \"CONTACT_IDENTITY_CONFLICT\"\n }), \":\"]\n }), \" the identifiers sent belong to different contacts (e.g. the phone belongs to one contact and the email to another). Nothing is saved; \", _jsx(_components.code, {\n children: \"conflicts\"\n }), \" returns the contact for each identifier.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Profile fields:\"\n }), \" \", _jsx(_components.code, {\n children: \"job_title\"\n }), \", \", _jsx(_components.code, {\n children: \"seniority\"\n }), \", \", _jsx(_components.code, {\n children: \"department\"\n }), \", \", _jsx(_components.code, {\n children: \"country\"\n }), \", \", _jsx(_components.code, {\n children: \"region\"\n }), \", \", _jsx(_components.code, {\n children: \"city\"\n }), \" and \", _jsx(_components.code, {\n children: \"experience\"\n }), \" are saved on creation; on an existing contact, they follow the 200 rule (updated if found by phone, only filled in if empty when found by email or LinkedIn).\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Phone:\"\n }), \" digits only, area code + number, without the country code (the country code goes in \", _jsx(_components.code, {\n children: \"country_code\"\n }), \", required together with the phone). An invalid phone returns 400.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"additional_attributes:\"\n }), \" \", _jsx(_components.code, {\n children: \"{ \\\"slug\\\": value }\"\n }), \", with a primitive value (string, number, boolean or null). A slug that doesn’t exist, or that belongs to a custom field whose context isn’t CONTACT, is silently ignored. On an existing contact, merge by slug: found by phone, the slugs sent are updated; found by email or LinkedIn, only empty ones are filled in.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Check first:\"\n }), \" \", _jsx(_components.code, {\n children: \"POST /v1/contacts/identity-check\"\n }), \" tells you what this route would do, without saving.\"]\n }), \"\\n\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create contact (or reuse the existing one)","description":"Creates a contact or, if the company already has a contact with any of the identifiers sent, reuses that contact instead of creating another.\n\n- **Identifiers:** `phone_number` (with `country_code`), `email` and `linkedin_identifier`. Besides `name`, at least one of them is required; with none, 400 `\"Informe pelo menos um identificador: telefone, e-mail ou LinkedIn.\"`. The contact can be created without a phone.\n- **Lookup order:** email, LinkedIn and phone. Email only counts with `@` and is recognized in its normalized form (no leading or trailing spaces, lowercase), which is how it's saved from now on; old emails saved with uppercase letters are only recognized with the same spelling, until the database is normalized. LinkedIn accepts the profile URL or just the name. Phone is normalized (area code, 9th digit).\n- **201:** contact created. The body is the contact with `created: true`, `matched_by: null`, `matches_count: 0` and `ignored_fields: []`.\n- **200:** existing contact reused. The body is the contact with `created: false`, `matched_by` (`email`, `linkedin` or `phone`) and `matches_count` (how many contacts in the company matched by that key; above 1, there are duplicates and the oldest one was used). Found by phone, the fields sent are updated, as the POST always did; found by email or LinkedIn, only the fields that were empty are filled in, and `ignored_fields` lists the ones sent that weren't saved because the contact already had another value (e.g. `email`, `phone_number`, `job_title`, `additional_attributes.\u003cslug>`). `name` and the owner never change. To change any field of an existing contact, use `PUT /v1/contacts/{id}`.\n- **409 `CONTACT_IDENTITY_CONFLICT`:** the identifiers sent belong to different contacts (e.g. the phone belongs to one contact and the email to another). Nothing is saved; `conflicts` returns the contact for each identifier.\n- **Profile fields:** `job_title`, `seniority`, `department`, `country`, `region`, `city` and `experience` are saved on creation; on an existing contact, they follow the 200 rule (updated if found by phone, only filled in if empty when found by email or LinkedIn).\n- **Phone:** digits only, area code + number, without the country code (the country code goes in `country_code`, required together with the phone). An invalid phone returns 400.\n- **additional_attributes:** `{ \"slug\": value }`, with a primitive value (string, number, boolean or null). A slug that doesn't exist, or that belongs to a custom field whose context isn't CONTACT, is silently ignored. On an existing contact, merge by slug: found by phone, the slugs sent are updated; found by email or LinkedIn, only empty ones are filled in.\n- **Check first:** `POST /v1/contacts/identity-check` tells you what this route would do, without saving.","deprecated":null,"version":null,"sidebarTitle":"Create contact or reuse the existing one","openapi":"/en/openapi.json post /v1/contacts","href":"/en/api-reference/contacts/create-contact-or-reuse-the-existing-one","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Creates a contact or, if the company already has a contact with any of the identifiers sent, reuses that contact instead of creating another.\n\n- **Identifiers:** `phone_number` (with `country_code`), `email` and `linkedin_identifier`. Besides `name`, at least one of them is required; with none, 400 `\"Informe pelo menos um identificador: telefone, e-mail ou LinkedIn.\"`. The contact can be created without a phone.\n- **Lookup order:** email, LinkedIn and phone. Email only counts with `@` and is recognized in its normalized form (no leading or trailing spaces, lowercase), which is how it's saved from now on; old emails saved with uppercase letters are only recognized with the same spelling, until the database is normalized. LinkedIn accepts the profile URL or just the name. Phone is normalized (area code, 9th digit).\n- **201:** contact created. The body is the contact with `created: true`, `matched_by: null`, `matches_count: 0` and `ignored_fields: []`.\n- **200:** existing contact reused. The body is the contact with `created: false`, `matched_by` (`email`, `linkedin` or `phone`) and `matches_count` (how many contacts in the company matched by that key; above 1, there are duplicates and the oldest one was used). Found by phone, the fields sent are updated, as the POST always did; found by email or LinkedIn, only the fields that were empty are filled in, and `ignored_fields` lists the ones sent that weren't saved because the contact already had another value (e.g. `email`, `phone_number`, `job_title`, `additional_attributes.\u003cslug>`). `name` and the owner never change. To change any field of an existing contact, use `PUT /v1/contacts/{id}`.\n- **409 `CONTACT_IDENTITY_CONFLICT`:** the identifiers sent belong to different contacts (e.g. the phone belongs to one contact and the email to another). Nothing is saved; `conflicts` returns the contact for each identifier.\n- **Profile fields:** `job_title`, `seniority`, `department`, `country`, `region`, `city` and `experience` are saved on creation; on an existing contact, they follow the 200 rule (updated if found by phone, only filled in if empty when found by email or LinkedIn).\n- **Phone:** digits only, area code + number, without the country code (the country code goes in `country_code`, required together with the phone). An invalid phone returns 400.\n- **additional_attributes:** `{ \"slug\": value }`, with a primitive value (string, number, boolean or null). A slug that doesn't exist, or that belongs to a custom field whose context isn't CONTACT, is silently ignored. On an existing contact, merge by slug: found by phone, the slugs sent are updated; found by email or LinkedIn, only empty ones are filled in.\n- **Check first:** `POST /v1/contacts/identity-check` tells you what this route would do, without saving.","operationId":"ContactController_createContact","parameters":["01de38fb-83ff-49f4-bb06-6a95156ace15"],"requestBody":"d5fcd099-26f3-4cdc-8207-40323a1e4b97","responses":{"200":"0a30ae40-f998-4b83-b1d8-58b2a44d7401","201":"18d89682-346e-4120-994f-78fa5638dc07","400":"5ef2a89e-4554-4b09-8a81-b25179a4231b","401":"0f14cd26-f804-483e-b41f-b83ce468e5bf","403":"c46eda72-00f3-46b3-8993-04956416e0de","409":"7688f54e-ff0d-47ee-9b8e-216f1df77921"},"security":["0d76b336-6ba1-4782-b988-36290d182ca3"],"summary":"Create contact (or reuse the existing one)","tags":["contacts"],"x-mint":{"href":"/en/api-reference/contacts/create-contact-or-reuse-the-existing-one"},"method":"post","type":"path","servers":["5417fa0c-5c49-4502-bdf5-34008cc47d58"],"path":"/v1/contacts","baseUrlOptions":["https://api.nuvia.ai"],"title":"Create contact (or reuse the existing one)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"01de38fb-83ff-49f4-bb06-6a95156ace15":{"name":"x-company-id","in":"header","description":"Target company identifier. Required only for global API keys (type=global). Ignored for company API keys and human users.","required":false,"schema":{"type":"string","isRequired":false,"description":"Target company identifier. Required only for global API keys (type=global). Ignored for company API keys and human users.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"description":"The contact's full name. Required. If the contact already exists, its name is preserved.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"country_code":{"type":"string","description":"Country calling code (1-3 digits). Examples: 55 (Brazil), 1 (USA), 351 (Portugal). Required when phone_number is sent; without a phone, don't send it.","minLength":1,"maxLength":3,"pattern":"^\\d{1,3}$","uniqueKey":"country_code","typeLabel":"string"},"email":{"type":"string","description":"The contact's email address. Identifies the contact by its normalized form (no leading or trailing spaces, lowercase), which is how it's saved. Old emails saved with uppercase letters are only recognized with the same spelling, until the database is normalized. Only counts as an identifier if it contains \"@\". On an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.","uniqueKey":"email","typeLabel":"string"},"linkedin_identifier":{"type":"string","description":"The contact's LinkedIn identifier: profile URL or just the profile name. Example: joao-silva-123. Identifies the contact. On an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.","uniqueKey":"linkedin_identifier","typeLabel":"string"},"phone_number":{"type":"string","description":"Phone number without formatting, digits only (area code + number, without the country code). Example: 11999998888. Identifies the contact. A phone that doesn't form a valid number with country_code is rejected with 400. Optional: the contact needs at least one identifier among phone, email, and LinkedIn.","pattern":"^\\d*$","uniqueKey":"phone_number","typeLabel":"string"},"job_title":{"type":"string","description":"The contact's job title. Example: Sales Manager. Saved on creation; on an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.","uniqueKey":"job_title","typeLabel":"string"},"seniority":{"type":"string","description":"The contact's seniority level. Example: Senior, Junior, Mid-level. Saved on creation; on an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.","uniqueKey":"seniority","typeLabel":"string"},"department":{"type":"string","description":"The contact's department. Example: Sales, IT, Marketing. Saved on creation; on an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.","uniqueKey":"department","typeLabel":"string"},"country":{"type":"string","description":"The contact's country. Example: Brazil. Saved on creation; on an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.","uniqueKey":"country","typeLabel":"string"},"region":{"type":"string","description":"The contact's state or region. Example: São Paulo. Saved on creation; on an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.","uniqueKey":"region","typeLabel":"string"},"city":{"type":"string","description":"The contact's city. Example: São Paulo. Saved on creation; on an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.","uniqueKey":"city","typeLabel":"string"},"experience":{"type":"string","description":"The contact's professional experience. Saved on creation; on an existing contact, it's updated when the contact is found by phone; found by email or LinkedIn, it's only filled in if empty.","uniqueKey":"experience","typeLabel":"string"},"additional_attributes":{"type":"object","description":"The contact's custom fields. Format: { \"field_slug\": value }. Slugs must match custom fields registered with the CONTACT context. Invalid or nonexistent slugs are silently ignored. Values must be primitives (string, number, boolean or null). On an existing contact found by phone, the slugs sent are updated (merge); found by email or LinkedIn, only empty slugs are filled in. Slugs not sent stay as they are. Example: { \"cpf\": \"12345678900\", \"data_nascimento\": \"1990-01-15\", \"valor_total\": 1500.50 }","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"additional_attributes.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"additional_attributes.additionalProperties.oneOf.1","typeLabel":"null"},{"type":"number","uniqueKey":"additional_attributes.additionalProperties.oneOf.2","typeLabel":"number"},{"type":"null","uniqueKey":"additional_attributes.additionalProperties.oneOf.3","typeLabel":"null"},{"type":"boolean","uniqueKey":"additional_attributes.additionalProperties.oneOf.4","typeLabel":"boolean"},{"type":"null","uniqueKey":"additional_attributes.additionalProperties.oneOf.5","typeLabel":"null"}],"uniqueKey":"additional_attributes.additionalProperties","typeLabel":"string · null · number · null · boolean · null"},"uniqueKey":"additional_attributes","typeLabel":"object"}},"required":["name"],"uniqueKey":"","typeLabel":"object"},"examples":{"contato":{"title":"contato","summary":"Contato com e-mail, cargo e campo personalizado","value":{"name":"João Silva","country_code":"55","phone_number":"11999998888","email":"joao.silva@exemplo.com.br","job_title":"Gerente de Vendas","city":"São Paulo","additional_attributes":{"cpf":"12345678900"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"0a30ae40-f998-4b83-b1d8-58b2a44d7401":{"description":"Existing contact reused (`created: false`). Found by phone, the fields sent were updated; by email or LinkedIn, only empty ones were filled in and `ignored_fields` lists what wasn't saved.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Contact name","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"company":{"description":"Contact's company","isRequired":true,"uniqueKey":"company","typeLabel":"any"},"created":{"type":"boolean","description":"true when the contact was created (201); false when it was reused (200).","isRequired":true,"uniqueKey":"created","typeLabel":"boolean"},"matched_by":{"oneOf":[{"description":"Identifier that matched","type":"string","enum":["email","linkedin","phone"],"isRequired":true,"uniqueKey":"matched_by.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Identifier that matched","type":"null","enum":["email","linkedin","phone"],"isRequired":true,"uniqueKey":"matched_by.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"matched_by","typeLabel":"enum\u003cstring> | null"},"matches_count":{"type":"number","description":"How many contacts in the company matched by the `matched_by` key (0 on creation). Above 1, the company has duplicate contacts and the oldest one was reused.","isRequired":true,"uniqueKey":"matches_count","typeLabel":"number"},"ignored_fields":{"type":"array","items":{"type":"string","uniqueKey":"ignored_fields.items.[INDEX]","typeLabel":"string"},"description":"Fields sent that were NOT saved because the existing contact already had another value (only when reused by email or LinkedIn). E.g. `email`, `phone_number`, `job_title`, `additional_attributes.\u003cslug>`. Empty on creation and when found by phone.","isRequired":true,"uniqueKey":"ignored_fields","typeLabel":"string[]"},"_id":{"description":"Contact ID","type":"string","uniqueKey":"_id","typeLabel":"string"},"id":{"description":"Contact ID (same value as `_id`)","type":"string","uniqueKey":"id","typeLabel":"string"},"country_code":{"description":"Country code of the number. Absent, along with the phone, when the contact only has a WhatsApp identifier.","type":"string","uniqueKey":"country_code","typeLabel":"string"},"email":{"description":"Contact's email","type":"string","uniqueKey":"email","typeLabel":"string"},"last_activity_at":{"description":"Date of the contact's last activity","uniqueKey":"last_activity_at","typeLabel":"any"},"phone_number":{"description":"The contact's phone number. Absent when the contact only has a WhatsApp identifier.","type":"string","uniqueKey":"phone_number","typeLabel":"string"},"linkedin_identifier":{"description":"LinkedIn profile identifier","type":"string","uniqueKey":"linkedin_identifier","typeLabel":"string"},"job_title":{"description":"Contact's job title","type":"string","uniqueKey":"job_title","typeLabel":"string"},"seniority":{"description":"Contact's seniority level","type":"string","uniqueKey":"seniority","typeLabel":"string"},"department":{"description":"Contact's department","type":"string","uniqueKey":"department","typeLabel":"string"},"country":{"description":"Contact's country","type":"string","uniqueKey":"country","typeLabel":"string"},"region":{"description":"Contact's state or region","type":"string","uniqueKey":"region","typeLabel":"string"},"city":{"description":"Contact's city","type":"string","uniqueKey":"city","typeLabel":"string"},"experience":{"description":"Contact's professional experience","type":"string","uniqueKey":"experience","typeLabel":"string"},"skills":{"description":"Contact's skills","type":"string","uniqueKey":"skills","typeLabel":"string"},"additional_attributes":{"description":"Values of the contact's custom fields, by slug. When saved via `additional_attributes`, the value comes in the envelope `{ id, value, type, updatedAt }`. When saved via `custom_fields` (PUT), it comes raw: the option_id (select), the list of option_id (multi_select) or the text (text).","type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["id","value","type","updatedAt"],"properties":{"id":{"type":"string","description":"Custom field ID","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.id","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"Saved value","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Saved value","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.value.oneOf.1","typeLabel":"null"},{"type":"number","description":"Saved value","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.value.oneOf.2","typeLabel":"number"},{"type":"null","description":"Saved value","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.value.oneOf.3","typeLabel":"null"},{"type":"boolean","description":"Saved value","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.value.oneOf.4","typeLabel":"boolean"},{"type":"null","description":"Saved value","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.value.oneOf.5","typeLabel":"null"}],"isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.value","typeLabel":"string · null · number · null · boolean · null"},"type":{"type":"string","description":"Custom field type (e.g. text, number, date)","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.type","typeLabel":"string"},"updatedAt":{"description":"Date the value was last saved","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.updatedAt","typeLabel":"any"}},"uniqueKey":"additional_attributes.additionalProperties.oneOf.0","typeLabel":"object"},{"type":"null","required":["id","value","type","updatedAt"],"properties":{"id":{"type":"string","description":"Custom field ID"},"value":{"oneOf":[{"type":"string","description":"Saved value"},{"type":"null","description":"Saved value"},{"type":"number","description":"Saved value"},{"type":"null","description":"Saved value"},{"type":"boolean","description":"Saved value"},{"type":"null","description":"Saved value"}]},"type":{"type":"string","description":"Custom field type (e.g. text, number, date)"},"updatedAt":{"description":"Date the value was last saved"}},"uniqueKey":"additional_attributes.additionalProperties.oneOf.1","typeLabel":"null"},{"type":"string","uniqueKey":"additional_attributes.additionalProperties.oneOf.2","typeLabel":"string"},{"type":"null","uniqueKey":"additional_attributes.additionalProperties.oneOf.3","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"additional_attributes.additionalProperties.oneOf.4.items.[INDEX]","typeLabel":"string"},"uniqueKey":"additional_attributes.additionalProperties.oneOf.4","typeLabel":"string[]"},{"type":"null","uniqueKey":"additional_attributes.additionalProperties.oneOf.5","typeLabel":"null"}],"uniqueKey":"additional_attributes.additionalProperties","typeLabel":"object · null · string · null · string[] · null"},"uniqueKey":"additional_attributes","typeLabel":"object"},"business":{"oneOf":[{"description":"ID of the Business the contact belongs to","type":"string","uniqueKey":"business.oneOf.0","typeLabel":"string"},{"description":"ID of the Business the contact belongs to","type":"null","uniqueKey":"business.oneOf.1","typeLabel":"null"}],"uniqueKey":"business","typeLabel":"string | null"},"notes":{"description":"Notes recorded on the contact","type":"array","items":{"type":"object","properties":{"_id":{"type":"string","description":"Note ID","isRequired":true,"uniqueKey":"notes.items.[INDEX]._id","typeLabel":"string"},"content":{"type":"string","description":"Note text","isRequired":true,"uniqueKey":"notes.items.[INDEX].content","typeLabel":"string"},"user":{"type":"string","description":"ID of the user who recorded the note","isRequired":true,"uniqueKey":"notes.items.[INDEX].user","typeLabel":"string"},"createdAt":{"description":"Date the note was created","uniqueKey":"notes.items.[INDEX].createdAt","typeLabel":"any"},"updatedAt":{"description":"Date the note was updated","uniqueKey":"notes.items.[INDEX].updatedAt","typeLabel":"any"}},"required":["_id","content","user"],"uniqueKey":"notes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"notes","typeLabel":"object[]"},"marketing_opt_out":{"description":"Marketing opt-out per communication channel (`whatsapp`, `email`, `linkedin`). Absent or empty when the contact hasn't opted out of any channel.","type":"object","additionalProperties":{"type":"object","properties":{"value":{"type":"boolean","description":"true when the contact opted out of marketing on this channel","isRequired":true,"uniqueKey":"marketing_opt_out.additionalProperties.value","typeLabel":"boolean"},"source":{"type":"string","description":"Source of the opt-out record","isRequired":true,"uniqueKey":"marketing_opt_out.additionalProperties.source","typeLabel":"string"},"at":{"description":"Date of the record","isRequired":true,"uniqueKey":"marketing_opt_out.additionalProperties.at","typeLabel":"any"}},"required":["value","source","at"],"uniqueKey":"marketing_opt_out.additionalProperties","typeLabel":"object"},"uniqueKey":"marketing_opt_out","typeLabel":"object"},"do_not_contact":{"oneOf":[{"description":"\"Do not contact\" state: an object while blocked, null after unblocking, absent for contacts never marked. Blocks every automated send, on all channels.","type":"object","properties":{"reason":{"type":"string","enum":["UNSUBSCRIBE_REQUESTED","ACTIVE_CUSTOMER","COMPETITOR","IN_NEGOTIATION","STRATEGIC_ACCOUNT","IMPROPER_CONTACT","OTHER"],"description":"Reason for the marking. Every reason blocks the same way.","isRequired":true,"uniqueKey":"do_not_contact.oneOf.0.reason","typeLabel":"enum\u003cstring>"},"marked_by":{"type":"object","properties":{"type":{"type":"string","enum":["USER","SYSTEM"],"description":"USER (SYSTEM is reserved for automatic capture)","isRequired":true,"uniqueKey":"do_not_contact.oneOf.0.marked_by.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"ID of who marked it","isRequired":true,"uniqueKey":"do_not_contact.oneOf.0.marked_by.id","typeLabel":"string"},"name":{"type":"string","description":"Name of who marked it","isRequired":true,"uniqueKey":"do_not_contact.oneOf.0.marked_by.name","typeLabel":"string"}},"required":["type","id","name"],"description":"Who marked it","isRequired":true,"uniqueKey":"do_not_contact.oneOf.0.marked_by","typeLabel":"object"},"marked_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","description":"When it was marked","isRequired":true,"uniqueKey":"do_not_contact.oneOf.0.marked_at","typeLabel":"string\u003cdate-time>"},"note":{"description":"Text of the OTHER reason","type":"string","uniqueKey":"do_not_contact.oneOf.0.note","typeLabel":"string"},"source_conversation_id":{"description":"Conversation where the marking was made","type":"string","uniqueKey":"do_not_contact.oneOf.0.source_conversation_id","typeLabel":"string"},"block_id":{"description":"Block shared by the records of the same person","type":"string","uniqueKey":"do_not_contact.oneOf.0.block_id","typeLabel":"string"},"origin_contact_id":{"description":"Record where the marking was made","type":"string","uniqueKey":"do_not_contact.oneOf.0.origin_contact_id","typeLabel":"string"}},"required":["reason","marked_by","marked_at"],"uniqueKey":"do_not_contact.oneOf.0","typeLabel":"object"},{"description":"\"Do not contact\" state: an object while blocked, null after unblocking, absent for contacts never marked. Blocks every automated send, on all channels.","type":"null","properties":{"reason":{"type":"string","enum":["UNSUBSCRIBE_REQUESTED","ACTIVE_CUSTOMER","COMPETITOR","IN_NEGOTIATION","STRATEGIC_ACCOUNT","IMPROPER_CONTACT","OTHER"],"description":"Reason for the marking. Every reason blocks the same way."},"note":{"description":"Text of the OTHER reason","type":"string"},"marked_by":{"type":"object","properties":{"type":{"type":"string","enum":["USER","SYSTEM"],"description":"USER (SYSTEM is reserved for automatic capture)"},"id":{"type":"string","description":"ID of who marked it"},"name":{"type":"string","description":"Name of who marked it"}},"required":["type","id","name"],"description":"Who marked it"},"marked_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","description":"When it was marked"},"source_conversation_id":{"description":"Conversation where the marking was made","type":"string"},"block_id":{"description":"Block shared by the records of the same person","type":"string"},"origin_contact_id":{"description":"Record where the marking was made","type":"string"}},"required":["reason","marked_by","marked_at"],"uniqueKey":"do_not_contact.oneOf.1","typeLabel":"null"}],"uniqueKey":"do_not_contact","typeLabel":"object | null"},"whatsapp_user_id":{"description":"The contact's WhatsApp identifier (BSUID), assigned by Meta. Opaque string.","type":"string","uniqueKey":"whatsapp_user_id","typeLabel":"string"},"whatsapp_username":{"description":"The contact's WhatsApp @username, as Meta sends it","type":"string","uniqueKey":"whatsapp_username","typeLabel":"string"},"whatsapp_parent_user_id":{"description":"The contact's WhatsApp parent_user_id, as Meta sends it","type":"string","uniqueKey":"whatsapp_parent_user_id","typeLabel":"string"},"createdAt":{"description":"Contact creation date","uniqueKey":"createdAt","typeLabel":"any"},"updatedAt":{"description":"Contact update date","uniqueKey":"updatedAt","typeLabel":"any"}},"required":["name","company","created","matched_by","matches_count","ignored_fields"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","company":"\u003cunknown>","created":true,"matched_by":"email","matches_count":123,"ignored_fields":["\u003cstring>"],"_id":"\u003cstring>","id":"\u003cstring>","country_code":"\u003cstring>","email":"\u003cstring>","last_activity_at":"\u003cunknown>","phone_number":"\u003cstring>","linkedin_identifier":"\u003cstring>","job_title":"\u003cstring>","seniority":"\u003cstring>","department":"\u003cstring>","country":"\u003cstring>","region":"\u003cstring>","city":"\u003cstring>","experience":"\u003cstring>","skills":"\u003cstring>","additional_attributes":{},"business":"\u003cstring>","notes":[{"_id":"\u003cstring>","content":"\u003cstring>","user":"\u003cstring>","createdAt":"\u003cunknown>","updatedAt":"\u003cunknown>"}],"marketing_opt_out":{},"do_not_contact":{"reason":"UNSUBSCRIBE_REQUESTED","marked_by":{"type":"USER","id":"\u003cstring>","name":"\u003cstring>"},"marked_at":"2023-11-07T05:31:56Z","note":"\u003cstring>","source_conversation_id":"\u003cstring>","block_id":"\u003cstring>","origin_contact_id":"\u003cstring>"},"whatsapp_user_id":"\u003cstring>","whatsapp_username":"\u003cstring>","whatsapp_parent_user_id":"\u003cstring>","createdAt":"\u003cunknown>","updatedAt":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"18d89682-346e-4120-994f-78fa5638dc07":{"description":"Contact created (`created: true`)","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Contact name","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"company":{"description":"Contact's company","isRequired":true,"uniqueKey":"company","typeLabel":"any"},"created":{"type":"boolean","description":"true when the contact was created (201); false when it was reused (200).","isRequired":true,"uniqueKey":"created","typeLabel":"boolean"},"matched_by":{"oneOf":[{"description":"Identifier that matched","type":"string","enum":["email","linkedin","phone"],"isRequired":true,"uniqueKey":"matched_by.oneOf.0","typeLabel":"enum\u003cstring>"},{"description":"Identifier that matched","type":"null","enum":["email","linkedin","phone"],"isRequired":true,"uniqueKey":"matched_by.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"matched_by","typeLabel":"enum\u003cstring> | null"},"matches_count":{"type":"number","description":"How many contacts in the company matched by the `matched_by` key (0 on creation). Above 1, the company has duplicate contacts and the oldest one was reused.","isRequired":true,"uniqueKey":"matches_count","typeLabel":"number"},"ignored_fields":{"type":"array","items":{"type":"string","uniqueKey":"ignored_fields.items.[INDEX]","typeLabel":"string"},"description":"Fields sent that were NOT saved because the existing contact already had another value (only when reused by email or LinkedIn). E.g. `email`, `phone_number`, `job_title`, `additional_attributes.\u003cslug>`. Empty on creation and when found by phone.","isRequired":true,"uniqueKey":"ignored_fields","typeLabel":"string[]"},"_id":{"description":"Contact ID","type":"string","uniqueKey":"_id","typeLabel":"string"},"id":{"description":"Contact ID (same value as `_id`)","type":"string","uniqueKey":"id","typeLabel":"string"},"country_code":{"description":"Country code of the number. Absent, along with the phone, when the contact only has a WhatsApp identifier.","type":"string","uniqueKey":"country_code","typeLabel":"string"},"email":{"description":"Contact's email","type":"string","uniqueKey":"email","typeLabel":"string"},"last_activity_at":{"description":"Date of the contact's last activity","uniqueKey":"last_activity_at","typeLabel":"any"},"phone_number":{"description":"The contact's phone number. Absent when the contact only has a WhatsApp identifier.","type":"string","uniqueKey":"phone_number","typeLabel":"string"},"linkedin_identifier":{"description":"LinkedIn profile identifier","type":"string","uniqueKey":"linkedin_identifier","typeLabel":"string"},"job_title":{"description":"Contact's job title","type":"string","uniqueKey":"job_title","typeLabel":"string"},"seniority":{"description":"Contact's seniority level","type":"string","uniqueKey":"seniority","typeLabel":"string"},"department":{"description":"Contact's department","type":"string","uniqueKey":"department","typeLabel":"string"},"country":{"description":"Contact's country","type":"string","uniqueKey":"country","typeLabel":"string"},"region":{"description":"Contact's state or region","type":"string","uniqueKey":"region","typeLabel":"string"},"city":{"description":"Contact's city","type":"string","uniqueKey":"city","typeLabel":"string"},"experience":{"description":"Contact's professional experience","type":"string","uniqueKey":"experience","typeLabel":"string"},"skills":{"description":"Contact's skills","type":"string","uniqueKey":"skills","typeLabel":"string"},"additional_attributes":{"description":"Values of the contact's custom fields, by slug. When saved via `additional_attributes`, the value comes in the envelope `{ id, value, type, updatedAt }`. When saved via `custom_fields` (PUT), it comes raw: the option_id (select), the list of option_id (multi_select) or the text (text).","type":"object","additionalProperties":{"oneOf":[{"type":"object","required":["id","value","type","updatedAt"],"properties":{"id":{"type":"string","description":"Custom field ID","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.id","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"Saved value","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Saved value","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.value.oneOf.1","typeLabel":"null"},{"type":"number","description":"Saved value","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.value.oneOf.2","typeLabel":"number"},{"type":"null","description":"Saved value","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.value.oneOf.3","typeLabel":"null"},{"type":"boolean","description":"Saved value","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.value.oneOf.4","typeLabel":"boolean"},{"type":"null","description":"Saved value","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.value.oneOf.5","typeLabel":"null"}],"isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.value","typeLabel":"string · null · number · null · boolean · null"},"type":{"type":"string","description":"Custom field type (e.g. text, number, date)","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.type","typeLabel":"string"},"updatedAt":{"description":"Date the value was last saved","isRequired":true,"uniqueKey":"additional_attributes.additionalProperties.oneOf.0.updatedAt","typeLabel":"any"}},"uniqueKey":"additional_attributes.additionalProperties.oneOf.0","typeLabel":"object"},{"type":"null","required":["id","value","type","updatedAt"],"properties":{"id":{"type":"string","description":"Custom field ID"},"value":{"oneOf":[{"type":"string","description":"Saved value"},{"type":"null","description":"Saved value"},{"type":"number","description":"Saved value"},{"type":"null","description":"Saved value"},{"type":"boolean","description":"Saved value"},{"type":"null","description":"Saved value"}]},"type":{"type":"string","description":"Custom field type (e.g. text, number, date)"},"updatedAt":{"description":"Date the value was last saved"}},"uniqueKey":"additional_attributes.additionalProperties.oneOf.1","typeLabel":"null"},{"type":"string","uniqueKey":"additional_attributes.additionalProperties.oneOf.2","typeLabel":"string"},{"type":"null","uniqueKey":"additional_attributes.additionalProperties.oneOf.3","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"additional_attributes.additionalProperties.oneOf.4.items.[INDEX]","typeLabel":"string"},"uniqueKey":"additional_attributes.additionalProperties.oneOf.4","typeLabel":"string[]"},{"type":"null","uniqueKey":"additional_attributes.additionalProperties.oneOf.5","typeLabel":"null"}],"uniqueKey":"additional_attributes.additionalProperties","typeLabel":"object · null · string · null · string[] · null"},"uniqueKey":"additional_attributes","typeLabel":"object"},"business":{"oneOf":[{"description":"ID of the Business the contact belongs to","type":"string","uniqueKey":"business.oneOf.0","typeLabel":"string"},{"description":"ID of the Business the contact belongs to","type":"null","uniqueKey":"business.oneOf.1","typeLabel":"null"}],"uniqueKey":"business","typeLabel":"string | null"},"notes":{"description":"Notes recorded on the contact","type":"array","items":{"type":"object","properties":{"_id":{"type":"string","description":"Note ID","isRequired":true,"uniqueKey":"notes.items.[INDEX]._id","typeLabel":"string"},"content":{"type":"string","description":"Note text","isRequired":true,"uniqueKey":"notes.items.[INDEX].content","typeLabel":"string"},"user":{"type":"string","description":"ID of the user who recorded the note","isRequired":true,"uniqueKey":"notes.items.[INDEX].user","typeLabel":"string"},"createdAt":{"description":"Date the note was created","uniqueKey":"notes.items.[INDEX].createdAt","typeLabel":"any"},"updatedAt":{"description":"Date the note was updated","uniqueKey":"notes.items.[INDEX].updatedAt","typeLabel":"any"}},"required":["_id","content","user"],"uniqueKey":"notes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"notes","typeLabel":"object[]"},"marketing_opt_out":{"description":"Marketing opt-out per communication channel (`whatsapp`, `email`, `linkedin`). Absent or empty when the contact hasn't opted out of any channel.","type":"object","additionalProperties":{"type":"object","properties":{"value":{"type":"boolean","description":"true when the contact opted out of marketing on this channel","isRequired":true,"uniqueKey":"marketing_opt_out.additionalProperties.value","typeLabel":"boolean"},"source":{"type":"string","description":"Source of the opt-out record","isRequired":true,"uniqueKey":"marketing_opt_out.additionalProperties.source","typeLabel":"string"},"at":{"description":"Date of the record","isRequired":true,"uniqueKey":"marketing_opt_out.additionalProperties.at","typeLabel":"any"}},"required":["value","source","at"],"uniqueKey":"marketing_opt_out.additionalProperties","typeLabel":"object"},"uniqueKey":"marketing_opt_out","typeLabel":"object"},"do_not_contact":{"oneOf":[{"description":"\"Do not contact\" state: an object while blocked, null after unblocking, absent for contacts never marked. Blocks every automated send, on all channels.","type":"object","properties":{"reason":{"type":"string","enum":["UNSUBSCRIBE_REQUESTED","ACTIVE_CUSTOMER","COMPETITOR","IN_NEGOTIATION","STRATEGIC_ACCOUNT","IMPROPER_CONTACT","OTHER"],"description":"Reason for the marking. Every reason blocks the same way.","isRequired":true,"uniqueKey":"do_not_contact.oneOf.0.reason","typeLabel":"enum\u003cstring>"},"marked_by":{"type":"object","properties":{"type":{"type":"string","enum":["USER","SYSTEM"],"description":"USER (SYSTEM is reserved for automatic capture)","isRequired":true,"uniqueKey":"do_not_contact.oneOf.0.marked_by.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"ID of who marked it","isRequired":true,"uniqueKey":"do_not_contact.oneOf.0.marked_by.id","typeLabel":"string"},"name":{"type":"string","description":"Name of who marked it","isRequired":true,"uniqueKey":"do_not_contact.oneOf.0.marked_by.name","typeLabel":"string"}},"required":["type","id","name"],"description":"Who marked it","isRequired":true,"uniqueKey":"do_not_contact.oneOf.0.marked_by","typeLabel":"object"},"marked_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","description":"When it was marked","isRequired":true,"uniqueKey":"do_not_contact.oneOf.0.marked_at","typeLabel":"string\u003cdate-time>"},"note":{"description":"Text of the OTHER reason","type":"string","uniqueKey":"do_not_contact.oneOf.0.note","typeLabel":"string"},"source_conversation_id":{"description":"Conversation where the marking was made","type":"string","uniqueKey":"do_not_contact.oneOf.0.source_conversation_id","typeLabel":"string"},"block_id":{"description":"Block shared by the records of the same person","type":"string","uniqueKey":"do_not_contact.oneOf.0.block_id","typeLabel":"string"},"origin_contact_id":{"description":"Record where the marking was made","type":"string","uniqueKey":"do_not_contact.oneOf.0.origin_contact_id","typeLabel":"string"}},"required":["reason","marked_by","marked_at"],"uniqueKey":"do_not_contact.oneOf.0","typeLabel":"object"},{"description":"\"Do not contact\" state: an object while blocked, null after unblocking, absent for contacts never marked. Blocks every automated send, on all channels.","type":"null","properties":{"reason":{"type":"string","enum":["UNSUBSCRIBE_REQUESTED","ACTIVE_CUSTOMER","COMPETITOR","IN_NEGOTIATION","STRATEGIC_ACCOUNT","IMPROPER_CONTACT","OTHER"],"description":"Reason for the marking. Every reason blocks the same way."},"note":{"description":"Text of the OTHER reason","type":"string"},"marked_by":{"type":"object","properties":{"type":{"type":"string","enum":["USER","SYSTEM"],"description":"USER (SYSTEM is reserved for automatic capture)"},"id":{"type":"string","description":"ID of who marked it"},"name":{"type":"string","description":"Name of who marked it"}},"required":["type","id","name"],"description":"Who marked it"},"marked_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","description":"When it was marked"},"source_conversation_id":{"description":"Conversation where the marking was made","type":"string"},"block_id":{"description":"Block shared by the records of the same person","type":"string"},"origin_contact_id":{"description":"Record where the marking was made","type":"string"}},"required":["reason","marked_by","marked_at"],"uniqueKey":"do_not_contact.oneOf.1","typeLabel":"null"}],"uniqueKey":"do_not_contact","typeLabel":"object | null"},"whatsapp_user_id":{"description":"The contact's WhatsApp identifier (BSUID), assigned by Meta. Opaque string.","type":"string","uniqueKey":"whatsapp_user_id","typeLabel":"string"},"whatsapp_username":{"description":"The contact's WhatsApp @username, as Meta sends it","type":"string","uniqueKey":"whatsapp_username","typeLabel":"string"},"whatsapp_parent_user_id":{"description":"The contact's WhatsApp parent_user_id, as Meta sends it","type":"string","uniqueKey":"whatsapp_parent_user_id","typeLabel":"string"},"createdAt":{"description":"Contact creation date","uniqueKey":"createdAt","typeLabel":"any"},"updatedAt":{"description":"Contact update date","uniqueKey":"updatedAt","typeLabel":"any"}},"required":["name","company","created","matched_by","matches_count","ignored_fields"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","company":"\u003cunknown>","created":true,"matched_by":"email","matches_count":123,"ignored_fields":["\u003cstring>"],"_id":"\u003cstring>","id":"\u003cstring>","country_code":"\u003cstring>","email":"\u003cstring>","last_activity_at":"\u003cunknown>","phone_number":"\u003cstring>","linkedin_identifier":"\u003cstring>","job_title":"\u003cstring>","seniority":"\u003cstring>","department":"\u003cstring>","country":"\u003cstring>","region":"\u003cstring>","city":"\u003cstring>","experience":"\u003cstring>","skills":"\u003cstring>","additional_attributes":{},"business":"\u003cstring>","notes":[{"_id":"\u003cstring>","content":"\u003cstring>","user":"\u003cstring>","createdAt":"\u003cunknown>","updatedAt":"\u003cunknown>"}],"marketing_opt_out":{},"do_not_contact":{"reason":"UNSUBSCRIBE_REQUESTED","marked_by":{"type":"USER","id":"\u003cstring>","name":"\u003cstring>"},"marked_at":"2023-11-07T05:31:56Z","note":"\u003cstring>","source_conversation_id":"\u003cstring>","block_id":"\u003cstring>","origin_contact_id":"\u003cstring>"},"whatsapp_user_id":"\u003cstring>","whatsapp_username":"\u003cstring>","whatsapp_parent_user_id":"\u003cstring>","createdAt":"\u003cunknown>","updatedAt":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"5ef2a89e-4554-4b09-8a81-b25179a4231b":{"description":"No identifier (`\"Informe pelo menos um identificador: telefone, e-mail ou LinkedIn.\"`), phone without `country_code`, or invalid phone","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"0f14cd26-f804-483e-b41f-b83ce468e5bf":{"description":"Invalid or expired token","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"c46eda72-00f3-46b3-8993-04956416e0de":{"description":"You do not have permission to access this resource","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"7688f54e-ff0d-47ee-9b8e-216f1df77921":{"description":"Conflict (`CONTACT_IDENTITY_CONFLICT`): the identifiers provided belong to different contacts. Nothing is saved.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"409","isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"code":{"type":"string","enum":["CONTACT_IDENTITY_CONFLICT","CONTACT_IDENTIFIER_TAKEN"],"description":"`CONTACT_IDENTITY_CONFLICT` on creation; `CONTACT_IDENTIFIER_TAKEN` on update.","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Message to display to the user","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"conflicts":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","enum":["email","linkedin","phone"],"description":"Identifier that matched","isRequired":true,"uniqueKey":"conflicts.items.[INDEX].field","typeLabel":"enum\u003cstring>"},"contact":{"type":"object","properties":{"_id":{"description":"Contact ID","type":"string","isRequired":true,"uniqueKey":"conflicts.items.[INDEX].contact._id","typeLabel":"string"},"name":{"type":"string","description":"Contact name","uniqueKey":"conflicts.items.[INDEX].contact.name","typeLabel":"string"},"email":{"description":"Contact's email","type":"string","uniqueKey":"conflicts.items.[INDEX].contact.email","typeLabel":"string"},"phone_number":{"description":"The contact's phone","type":"string","uniqueKey":"conflicts.items.[INDEX].contact.phone_number","typeLabel":"string"},"country_code":{"description":"Phone country calling code","type":"string","uniqueKey":"conflicts.items.[INDEX].contact.country_code","typeLabel":"string"},"linkedin_identifier":{"description":"The contact's LinkedIn identifier","type":"string","uniqueKey":"conflicts.items.[INDEX].contact.linkedin_identifier","typeLabel":"string"}},"required":["_id"],"isRequired":true,"uniqueKey":"conflicts.items.[INDEX].contact","typeLabel":"object"}},"required":["field","contact"],"uniqueKey":"conflicts.items.[INDEX]","typeLabel":"object"},"description":"Contact that already has each conflicting identifier","isRequired":true,"uniqueKey":"conflicts","typeLabel":"object[]"}},"required":["statusCode","code","message","conflicts"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"code":"CONTACT_IDENTITY_CONFLICT","message":"\u003cstring>","conflicts":[{"field":"email","contact":{"_id":"\u003cstring>","name":"\u003cstring>","email":"\u003cstring>","phone_number":"\u003cstring>","country_code":"\u003cstring>","linkedin_identifier":"\u003cstring>"}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"0d76b336-6ba1-4782-b988-36290d182ca3":{"JWT-auth":{"scheme":"bearer","bearerFormat":"JWT","type":"http","description":"JWT authentication token","scopes":[],"schemeName":"JWT-auth"}}},"servers":{"5417fa0c-5c49-4502-bdf5-34008cc47d58":{"url":"https://api.nuvia.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","bearerFormat":"JWT","type":"http","description":"JWT authentication token","scopes":[],"schemeName":"JWT-auth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"JWT authentication token","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"JWT-auth","name":"Authorization"}],"title":"JWT-auth"}]},"originalFileLocation":"en/openapi.json"},"subdomain":"nuvia-f82521d6","siteName":"Nuvia API","title":"Create contact (or reuse the existing one) - Nuvia API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"pt-BR":{"href":"/","matchLevel":4},"en":{"href":"/en/api-reference/contacts/create-contact-or-reuse-the-existing-one","matchLevel":0},"es":{"href":"/es","matchLevel":4}}},"lastModified":"2026-11-04T13:55:02.247Z","originalFileLocation":"en/api-reference/contacts/create-contact-or-reuse-the-existing-one.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates a contact or, if the company already has a contact with any of the identifiers sent, reuses that contact instead of creating another. - Identifiers: phone_number (with country_code), email and linkedin_identifier. Besides name, at least one of them is required; with none, 400 \u0026quot;Informe pelo menos um identificador: telefone, e-mail ou LinkedIn.\u0026quot;. The contact can be created without a phone. - Lookup order: email, LinkedIn and phone. Email only counts with @ and is recognized in its normalized form (no leading or trailing spaces, lowercase), which is how it\u0026#x27;s saved from now on; old emails saved with uppercase letters are only recognized with the same spelling, until the database is normalized. LinkedIn accepts the profile URL or just the name. Phone is normalized (area code, 9th digit). - 201: contact created. The body is the contact with created: true, matched_by: null, matches_count: 0 and ignored_fields: []. - 200: existing contact reused. The body is the contact with created: false, matched_by (email, linkedin or phone) and matches_count (how many contacts in the company matched by that key; above 1, there are duplicates and the oldest one was used). Found by phone, the fields sent are updated, as the POST always did; found by email or LinkedIn, only the fields that were empty are filled in, and ignored_fields lists the ones sent that weren\u0026#x27;t saved because the contact already had another value (e.g. email, phone_number, job_title, additional_attributes.). name and the owner never change. To change any field of an existing contact, use PUT /v1/contacts/{id}. - 409 CONTACT_IDENTITY_CONFLICT: the identifiers sent belong to different contacts (e.g. the phone belongs to one contact and the email to another). Nothing is saved; conflicts returns the contact for each identifier. - Profile fields: job_title, seniority, department, country, region, city and experience are saved on creation; on an existing contact, they follow the 200 rule (updated if found by phone, only filled in if empty when found by email or LinkedIn). - Phone: digits only, area code + number, without the country code (the country code goes in country_code, required together with the phone). An invalid phone returns 400. - additional_attributes: { \u0026quot;slug\u0026quot;: value }, with a primitive value (string, number, boolean or null). A slug that doesn\u0026#x27;t exist, or that belongs to a custom field whose context isn\u0026#x27;t CONTACT, is silently ignored. On an existing contact, merge by slug: found by phone, the slugs sent are updated; found by email or LinkedIn, only empty ones are filled in. - Check first: POST /v1/contacts/identity-check tells you what this route would do, without saving.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Nuvia API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nuvia-f82521d6/iNN4B_16K84FhP1C/_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/nuvia-f82521d6/iNN4B_16K84FhP1C/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nuvia-f82521d6/iNN4B_16K84FhP1C/_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/nuvia-f82521d6/iNN4B_16K84FhP1C/_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/nuvia-f82521d6/iNN4B_16K84FhP1C/_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/nuvia-f82521d6/iNN4B_16K84FhP1C/_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/nuvia-f82521d6/iNN4B_16K84FhP1C/_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/nuvia-f82521d6/iNN4B_16K84FhP1C/_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/nuvia-f82521d6/iNN4B_16K84FhP1C/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create contact (or reuse the existing one) - Nuvia API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a contact or, if the company already has a contact with any of the identifiers sent, reuses that contact instead of creating another. - Identifiers: phone_number (with country_code), email and linkedin_identifier. Besides name, at least one of them is required; with none, 400 \u0026quot;Informe pelo menos um identificador: telefone, e-mail ou LinkedIn.\u0026quot;. The contact can be created without a phone. - Lookup order: email, LinkedIn and phone. Email only counts with @ and is recognized in its normalized form (no leading or trailing spaces, lowercase), which is how it\u0026#x27;s saved from now on; old emails saved with uppercase letters are only recognized with the same spelling, until the database is normalized. LinkedIn accepts the profile URL or just the name. Phone is normalized (area code, 9th digit). - 201: contact created. The body is the contact with created: true, matched_by: null, matches_count: 0 and ignored_fields: []. - 200: existing contact reused. The body is the contact with created: false, matched_by (email, linkedin or phone) and matches_count (how many contacts in the company matched by that key; above 1, there are duplicates and the oldest one was used). Found by phone, the fields sent are updated, as the POST always did; found by email or LinkedIn, only the fields that were empty are filled in, and ignored_fields lists the ones sent that weren\u0026#x27;t saved because the contact already had another value (e.g. email, phone_number, job_title, additional_attributes.). name and the owner never change. To change any field of an existing contact, use PUT /v1/contacts/{id}. - 409 CONTACT_IDENTITY_CONFLICT: the identifiers sent belong to different contacts (e.g. the phone belongs to one contact and the email to another). Nothing is saved; conflicts returns the contact for each identifier. - Profile fields: job_title, seniority, department, country, region, city and experience are saved on creation; on an existing contact, they follow the 200 rule (updated if found by phone, only filled in if empty when found by email or LinkedIn). - Phone: digits only, area code + number, without the country code (the country code goes in country_code, required together with the phone). An invalid phone returns 400. - additional_attributes: { \u0026quot;slug\u0026quot;: value }, with a primitive value (string, number, boolean or null). A slug that doesn\u0026#x27;t exist, or that belongs to a custom field whose context isn\u0026#x27;t CONTACT, is silently ignored. On an existing contact, merge by slug: found by phone, the slugs sent are updated; found by email or LinkedIn, only empty ones are filled in. - Check first: POST /v1/contacts/identity-check tells you what this route would do, without saving.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Nuvia API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.nuvia.ai/en/api-reference/contacts/create-contact-or-reuse-the-existing-one\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nuvia-f82521d6.mintlify.site/_mintlify/api/og/v2?division=Contacts\u0026amp;title=Create+contact+%28or+reuse+the+existing+one%29\u0026amp;description=Creates+a+contact+or%2C+if+the+company+already+has+a+contact+with+any+of+the+identifiers+sent%2C+reuses+that+contact+instead+of+creating+another.%0A%0A-+**Identifiers%3A*\u0026amp;theme=e4efcdc51ccdb29d0fdb5e37\u0026amp;signature=061a566b62ddad91fbc1ee85c024e951cd29fb7ac8e530e21867f00ef5864a86\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create contact (or reuse the existing one) - Nuvia API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a contact or, if the company already has a contact with any of the identifiers sent, reuses that contact instead of creating another. - Identifiers: phone_number (with country_code), email and linkedin_identifier. Besides name, at least one of them is required; with none, 400 \u0026quot;Informe pelo menos um identificador: telefone, e-mail ou LinkedIn.\u0026quot;. The contact can be created without a phone. - Lookup order: email, LinkedIn and phone. Email only counts with @ and is recognized in its normalized form (no leading or trailing spaces, lowercase), which is how it\u0026#x27;s saved from now on; old emails saved with uppercase letters are only recognized with the same spelling, until the database is normalized. LinkedIn accepts the profile URL or just the name. Phone is normalized (area code, 9th digit). - 201: contact created. The body is the contact with created: true, matched_by: null, matches_count: 0 and ignored_fields: []. - 200: existing contact reused. The body is the contact with created: false, matched_by (email, linkedin or phone) and matches_count (how many contacts in the company matched by that key; above 1, there are duplicates and the oldest one was used). Found by phone, the fields sent are updated, as the POST always did; found by email or LinkedIn, only the fields that were empty are filled in, and ignored_fields lists the ones sent that weren\u0026#x27;t saved because the contact already had another value (e.g. email, phone_number, job_title, additional_attributes.). name and the owner never change. To change any field of an existing contact, use PUT /v1/contacts/{id}. - 409 CONTACT_IDENTITY_CONFLICT: the identifiers sent belong to different contacts (e.g. the phone belongs to one contact and the email to another). Nothing is saved; conflicts returns the contact for each identifier. - Profile fields: job_title, seniority, department, country, region, city and experience are saved on creation; on an existing contact, they follow the 200 rule (updated if found by phone, only filled in if empty when found by email or LinkedIn). - Phone: digits only, area code + number, without the country code (the country code goes in country_code, required together with the phone). An invalid phone returns 400. - additional_attributes: { \u0026quot;slug\u0026quot;: value }, with a primitive value (string, number, boolean or null). A slug that doesn\u0026#x27;t exist, or that belongs to a custom field whose context isn\u0026#x27;t CONTACT, is silently ignored. On an existing contact, merge by slug: found by phone, the slugs sent are updated; found by email or LinkedIn, only empty ones are filled in. - Check first: POST /v1/contacts/identity-check tells you what this route would do, without saving.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nuvia-f82521d6.mintlify.site/_mintlify/api/og/v2?division=Contacts\u0026amp;title=Create+contact+%28or+reuse+the+existing+one%29\u0026amp;description=Creates+a+contact+or%2C+if+the+company+already+has+a+contact+with+any+of+the+identifiers+sent%2C+reuses+that+contact+instead+of+creating+another.%0A%0A-+**Identifiers%3A*\u0026amp;theme=e4efcdc51ccdb29d0fdb5e37\u0026amp;signature=061a566b62ddad91fbc1ee85c024e951cd29fb7ac8e530e21867f00ef5864a86\">\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/nuvia-f82521d6/iNN4B_16K84FhP1C/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Nuvia API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#586DBF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.nuvia.ai/en/api-reference/contacts/create-contact-or-reuse-the-existing-one\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/contacts/create-contact-or-reuse-the-existing-one.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.nuvia.ai/#organization\",\"name\":\"Nuvia API\",\"url\":\"https://developers.nuvia.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nuvia-f82521d6/z6aKZLErJ5b0Dl9Q/logo/logo-preta.svg?fit=max\u0026auto=format\u0026n=z6aKZLErJ5b0Dl9Q\u0026q=85\u0026s=eefb6da6faca9e8bd666072f4ee5169f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.nuvia.ai#website\",\"name\":\"Nuvia API\",\"url\":\"https://developers.nuvia.ai\",\"publisher\":{\"@id\":\"https://developers.nuvia.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.nuvia.ai/en/api-reference/contacts/create-contact-or-reuse-the-existing-one#webpage\",\"url\":\"https://developers.nuvia.ai/en/api-reference/contacts/create-contact-or-reuse-the-existing-one\",\"name\":\"Create contact (or reuse the existing one)\",\"description\":\"Creates a contact or, if the company already has a contact with any of the identifiers sent, reuses that contact instead of creating another. - Identifiers: phone_number (with country_code), email and linkedin_identifier. Besides name, at least one of them is required; with none, 400 \\\"Informe pelo menos um identificador: telefone, e-mail ou LinkedIn.\\\". The contact can be created without a phone. - Lookup order: email, LinkedIn and phone. Email only counts with @ and is recognized in its normalized form (no leading or trailing spaces, lowercase), which is how it's saved from now on; old emails saved with uppercase letters are only recognized with the same spelling, until the database is normalized. LinkedIn accepts the profile URL or just the name. Phone is normalized (area code, 9th digit). - 201: contact created. The body is the contact with created: true, matched_by: null, matches_count: 0 and ignored_fields: []. - 200: existing contact reused. The body is the contact with created: false, matched_by (email, linkedin or phone) and matches_count (how many contacts in the company matched by that key; above 1, there are duplicates and the oldest one was used). Found by phone, the fields sent are updated, as the POST always did; found by email or LinkedIn, only the fields that were empty are filled in, and ignored_fields lists the ones sent that weren't saved because the contact already had another value (e.g. email, phone_number, job_title, additional_attributes.). name and the owner never change. To change any field of an existing contact, use PUT /v1/contacts/{id}. - 409 CONTACT_IDENTITY_CONFLICT: the identifiers sent belong to different contacts (e.g. the phone belongs to one contact and the email to another). Nothing is saved; conflicts returns the contact for each identifier. - Profile fields: job_title, seniority, department, country, region, city and experience are saved on creation; on an existing contact, they follow the 200 rule (updated if found by phone, only filled in if empty when found by email or LinkedIn). - Phone: digits only, area code + number, without the country code (the country code goes in country_code, required together with the phone). An invalid phone returns 400. - additional_attributes: { \\\"slug\\\": value }, with a primitive value (string, number, boolean or null). A slug that doesn't exist, or that belongs to a custom field whose context isn't CONTACT, is silently ignored. On an existing contact, merge by slug: found by phone, the slugs sent are updated; found by email or LinkedIn, only empty ones are filled in. - Check first: POST /v1/contacts/identity-check tells you what this route would do, without saving.\",\"dateModified\":\"2026-11-04T13:55:02.247Z\",\"isPartOf\":{\"@id\":\"https://developers.nuvia.ai#website\"},\"breadcrumb\":{\"@id\":\"https://developers.nuvia.ai/en/api-reference/contacts/create-contact-or-reuse-the-existing-one#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.nuvia.ai/en/api-reference/contacts/create-contact-or-reuse-the-existing-one#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Contacts\",\"item\":\"https://developers.nuvia.ai/en/api-reference/contacts/list-contacts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create contact (or reuse the existing one)\",\"item\":\"https://developers.nuvia.ai/en/api-reference/contacts/create-contact-or-reuse-the-existing-one\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.nuvia.ai/en/api-reference/contacts/create-contact-or-reuse-the-existing-one#apireference\",\"headline\":\"Create contact (or reuse the existing one)\",\"name\":\"Create contact (or reuse the existing one)\",\"description\":\"Creates a contact or, if the company already has a contact with any of the identifiers sent, reuses that contact instead of creating another. - Identifiers: phone_number (with country_code), email and linkedin_identifier. Besides name, at least one of them is required; with none, 400 \\\"Informe pelo menos um identificador: telefone, e-mail ou LinkedIn.\\\". The contact can be created without a phone. - Lookup order: email, LinkedIn and phone. Email only counts with @ and is recognized in its normalized form (no leading or trailing spaces, lowercase), which is how it's saved from now on; old emails saved with uppercase letters are only recognized with the same spelling, until the database is normalized. LinkedIn accepts the profile URL or just the name. Phone is normalized (area code, 9th digit). - 201: contact created. The body is the contact with created: true, matched_by: null, matches_count: 0 and ignored_fields: []. - 200: existing contact reused. The body is the contact with created: false, matched_by (email, linkedin or phone) and matches_count (how many contacts in the company matched by that key; above 1, there are duplicates and the oldest one was used). Found by phone, the fields sent are updated, as the POST always did; found by email or LinkedIn, only the fields that were empty are filled in, and ignored_fields lists the ones sent that weren't saved because the contact already had another value (e.g. email, phone_number, job_title, additional_attributes.). name and the owner never change. To change any field of an existing contact, use PUT /v1/contacts/{id}. - 409 CONTACT_IDENTITY_CONFLICT: the identifiers sent belong to different contacts (e.g. the phone belongs to one contact and the email to another). Nothing is saved; conflicts returns the contact for each identifier. - Profile fields: job_title, seniority, department, country, region, city and experience are saved on creation; on an existing contact, they follow the 200 rule (updated if found by phone, only filled in if empty when found by email or LinkedIn). - Phone: digits only, area code + number, without the country code (the country code goes in country_code, required together with the phone). An invalid phone returns 400. - additional_attributes: { \\\"slug\\\": value }, with a primitive value (string, number, boolean or null). A slug that doesn't exist, or that belongs to a custom field whose context isn't CONTACT, is silently ignored. On an existing contact, merge by slug: found by phone, the slugs sent are updated; found by email or LinkedIn, only empty ones are filled in. - Check first: POST /v1/contacts/identity-check tells you what this route would do, without saving.\",\"url\":\"https://developers.nuvia.ai/en/api-reference/contacts/create-contact-or-reuse-the-existing-one\",\"mainEntityOfPage\":{\"@id\":\"https://developers.nuvia.ai/en/api-reference/contacts/create-contact-or-reuse-the-existing-one#webpage\"},\"dateModified\":\"2026-11-04T13:55:02.247Z\",\"publisher\":{\"@id\":\"https://developers.nuvia.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.nuvia.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Nuvia API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Nuvia API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/api-reference/contacts/create-contact-or-reuse-the-existing-one.md","siteName":"Nuvia API","nav":{"global":null,"languages":[{"language":"pt-BR","default":true,"pages":[{"title":"pt-BR","href":"/"}]},{"language":"en","tabs":[{"tab":"Home","icon":"house","pages":[{"title":"Home","href":"/en"}]},{"tab":"API Reference","icon":"code","groups":[{"group":"Webhooks","pages":[{"title":"Get the company's webhook configuration","deprecated":null,"version":null,"sidebarTitle":"Get the companys webhook configuration","openapi":"/en/openapi.json get /v1/webhooks","href":"/en/api-reference/webhooks/get-the-companys-webhook-configuration"},{"title":"Create the webhook configuration","deprecated":null,"version":null,"sidebarTitle":"Create the webhook configuration","openapi":"/en/openapi.json post /v1/webhooks","href":"/en/api-reference/webhooks/create-the-webhook-configuration"},{"title":"Update the webhook configuration","deprecated":null,"version":null,"sidebarTitle":"Update the webhook configuration","openapi":"/en/openapi.json put /v1/webhooks/{id}","href":"/en/api-reference/webhooks/update-the-webhook-configuration"},{"title":"Remove the webhook configuration","deprecated":null,"version":null,"sidebarTitle":"Remove the webhook configuration","openapi":"/en/openapi.json delete /v1/webhooks/{id}","href":"/en/api-reference/webhooks/remove-the-webhook-configuration"}]},{"group":"Messages","pages":[{"title":"List messages of a conversation","deprecated":null,"version":null,"sidebarTitle":"List messages of a conversation","openapi":"/en/openapi.json get /v1/messages/conversation/{id}","href":"/en/api-reference/messages/list-messages-of-a-conversation"},{"title":"List attachments of a conversation","deprecated":null,"version":null,"sidebarTitle":"List attachments of a conversation","openapi":"/en/openapi.json get /v1/messages/conversation/{id}/attachments","href":"/en/api-reference/messages/list-attachments-of-a-conversation"},{"title":"Send text message","deprecated":null,"version":null,"sidebarTitle":"Send text message","openapi":"/en/openapi.json post /v1/messages/send","href":"/en/api-reference/messages/send-text-message"},{"title":"Send image","deprecated":null,"version":null,"sidebarTitle":"Send image","openapi":"/en/openapi.json post /v1/messages/send-image","href":"/en/api-reference/messages/send-image"},{"title":"Send audio","deprecated":null,"version":null,"sidebarTitle":"Send audio","openapi":"/en/openapi.json post /v1/messages/send-audio","href":"/en/api-reference/messages/send-audio"},{"title":"Send document","deprecated":null,"version":null,"sidebarTitle":"Send document","openapi":"/en/openapi.json post /v1/messages/send-document","href":"/en/api-reference/messages/send-document"},{"title":"Send video","deprecated":null,"version":null,"sidebarTitle":"Send video","openapi":"/en/openapi.json post /v1/messages/send-video","href":"/en/api-reference/messages/send-video"},{"title":"Send bulk template","deprecated":null,"version":null,"sidebarTitle":"Send bulk template","openapi":"/en/openapi.json post /v1/messages/send-bulk-template","href":"/en/api-reference/messages/send-bulk-template"}]},{"group":"Users","pages":[{"title":"List user directory","deprecated":null,"version":null,"sidebarTitle":"List user directory","openapi":"/en/openapi.json get /v1/user/directory","href":"/en/api-reference/users/list-user-directory"},{"title":"Get user from the directory","deprecated":null,"version":null,"sidebarTitle":"Get user from the directory","openapi":"/en/openapi.json get /v1/user/directory/{id}","href":"/en/api-reference/users/get-user-from-the-directory"}]},{"group":"Conversations","pages":[{"title":"List conversations","deprecated":null,"version":null,"sidebarTitle":"List conversations","openapi":"/en/openapi.json get /v1/conversations","href":"/en/api-reference/conversations/list-conversations"},{"title":"Create conversation","deprecated":null,"version":null,"sidebarTitle":"Create conversation","openapi":"/en/openapi.json post /v1/conversations","href":"/en/api-reference/conversations/create-conversation"},{"title":"Get conversation by ID","deprecated":null,"version":null,"sidebarTitle":"Get conversation by id","openapi":"/en/openapi.json get /v1/conversations/{id}","href":"/en/api-reference/conversations/get-conversation-by-id"},{"title":"Update conversation","deprecated":null,"version":null,"sidebarTitle":"Update conversation","openapi":"/en/openapi.json put /v1/conversations/{id}","href":"/en/api-reference/conversations/update-conversation"},{"title":"Assign user to conversation","deprecated":null,"version":null,"sidebarTitle":"Assign user to conversation","openapi":"/en/openapi.json put /v1/conversations/{id}/assign-user","href":"/en/api-reference/conversations/assign-user-to-conversation"},{"title":"Assign owner to conversation","deprecated":null,"version":null,"sidebarTitle":"Assign owner to conversation","openapi":"/en/openapi.json put /v1/conversations/{id}/assign-owner","href":"/en/api-reference/conversations/assign-owner-to-conversation"},{"title":"Resume AI control","deprecated":null,"version":null,"sidebarTitle":"Resume ai control","openapi":"/en/openapi.json put /v1/conversations/{id}/resume-ai","href":"/en/api-reference/conversations/resume-ai-control"},{"title":"Mark conversation as read","deprecated":null,"version":null,"sidebarTitle":"Mark conversation as read","openapi":"/en/openapi.json put /v1/conversations/{id}/mark-as-read","href":"/en/api-reference/conversations/mark-conversation-as-read"},{"title":"Assign agent to conversation","deprecated":null,"version":null,"sidebarTitle":"Assign agent to conversation","openapi":"/en/openapi.json put /v1/conversations/{id}/assign-agent","href":"/en/api-reference/conversations/assign-agent-to-conversation"},{"title":"Assign team to conversation","deprecated":null,"version":null,"sidebarTitle":"Assign team to conversation","openapi":"/en/openapi.json put /v1/conversations/{id}/assign-team","href":"/en/api-reference/conversations/assign-team-to-conversation"},{"title":"Assign priority to conversation","deprecated":null,"version":null,"sidebarTitle":"Assign priority to conversation","openapi":"/en/openapi.json put /v1/conversations/{id}/assign-priority","href":"/en/api-reference/conversations/assign-priority-to-conversation"},{"title":"Update conversation status","deprecated":null,"version":null,"sidebarTitle":"Update conversation status","openapi":"/en/openapi.json put /v1/conversations/{id}/status","href":"/en/api-reference/conversations/update-conversation-status"},{"title":"Update conversation step","deprecated":null,"version":null,"sidebarTitle":"Update conversation step","openapi":"/en/openapi.json put /v1/conversations/{id}/step","href":"/en/api-reference/conversations/update-conversation-step"}]},{"group":"Custom fields","pages":[{"title":"List custom fields","deprecated":null,"version":null,"sidebarTitle":"List custom fields","openapi":"/en/openapi.json get /v1/custom-fields","href":"/en/api-reference/custom-fields/list-custom-fields"},{"title":"Update the value of a custom field","deprecated":null,"version":null,"sidebarTitle":"Update the value of a custom field","openapi":"/en/openapi.json put /v1/custom-fields/{id}/value","href":"/en/api-reference/custom-fields/update-the-value-of-a-custom-field"},{"title":"List options of a select/multi_select field","deprecated":null,"version":null,"sidebarTitle":"List options of a selectmulti select field","openapi":"/en/openapi.json get /v1/custom-fields/{id}/options","href":"/en/api-reference/custom-fields/list-options-of-a-selectmulti_select-field"}]},{"group":"Contacts","pages":[{"title":"List contacts","description":"Returns a paginated list of contacts with optional filters (name, phone, email, text search)","deprecated":null,"version":null,"sidebarTitle":"List contacts","openapi":"/en/openapi.json get /v1/contacts","href":"/en/api-reference/contacts/list-contacts"},{"title":"Create contact (or reuse the existing one)","deprecated":null,"version":null,"sidebarTitle":"Create contact or reuse the existing one","openapi":"/en/openapi.json post /v1/contacts","href":"/en/api-reference/contacts/create-contact-or-reuse-the-existing-one"},{"title":"Check contact identifiers","description":"Read-only. Tells you what `POST /v1/contacts` would do with these identifiers, so the form can warn before saving.\n\n- **Lookup order:** email, LinkedIn and phone.\n- **`new`:** no contact in the company has the identifiers.\n- **`existing`:** the contact in `contact` would be reused; `matches_count` says how many contacts matched by the `matched_by` key.\n- **`conflict`:** different identifiers point to different contacts; `conflicts` returns each one.\n- **`exclude_contact_id`:** ignores this contact (the edit form sends the contact itself).","deprecated":null,"version":null,"sidebarTitle":"Check contact identifiers","openapi":"/en/openapi.json post /v1/contacts/identity-check","href":"/en/api-reference/contacts/check-contact-identifiers"},{"title":"List contacts for CRM","deprecated":null,"version":null,"sidebarTitle":"List contacts for crm","openapi":"/en/openapi.json get /v1/contacts/crm","href":"/en/api-reference/contacts/list-contacts-for-crm"},{"title":"Find contacts by phone numbers","deprecated":null,"version":null,"sidebarTitle":"Find contacts by phone numbers","openapi":"/en/openapi.json post /v1/contacts/find-by-phones","href":"/en/api-reference/contacts/find-contacts-by-phone-numbers"},{"title":"List a contact's conversations","deprecated":null,"version":null,"sidebarTitle":"List a contacts conversations","openapi":"/en/openapi.json get /v1/contacts/{contactId}/conversations","href":"/en/api-reference/contacts/list-a-contacts-conversations"},{"title":"List a contact's campaigns","deprecated":null,"version":null,"sidebarTitle":"List a contacts campaigns","openapi":"/en/openapi.json get /v1/contacts/{contactId}/campaigns","href":"/en/api-reference/contacts/list-a-contacts-campaigns"},{"title":"List a contact's lists","deprecated":null,"version":null,"sidebarTitle":"List a contacts lists","openapi":"/en/openapi.json get /v1/contacts/{contactId}/lists","href":"/en/api-reference/contacts/list-a-contacts-lists"},{"title":"List a contact's activity history","deprecated":null,"version":null,"sidebarTitle":"List a contacts activity history","openapi":"/en/openapi.json get /v1/contacts/{contactId}/activities","href":"/en/api-reference/contacts/list-a-contacts-activity-history"},{"title":"List a company's contacts","deprecated":null,"version":null,"sidebarTitle":"List a companys contacts","openapi":"/en/openapi.json get /v1/contacts/by-business/{businessId}","href":"/en/api-reference/contacts/list-a-companys-contacts"},{"title":"List contacts linked to the contact's company","deprecated":null,"version":null,"sidebarTitle":"List contacts linked to the contacts company","openapi":"/en/openapi.json get /v1/contacts/{contactId}/company-contacts","href":"/en/api-reference/contacts/list-contacts-linked-to-the-contacts-company"},{"title":"Get contact by ID","deprecated":null,"version":null,"sidebarTitle":"Get contact by id","openapi":"/en/openapi.json get /v1/contacts/{id}","href":"/en/api-reference/contacts/get-contact-by-id"},{"title":"Update contact","deprecated":null,"version":null,"sidebarTitle":"Update contact","openapi":"/en/openapi.json put /v1/contacts/{id}","href":"/en/api-reference/contacts/update-contact"},{"title":"Delete contact","deprecated":null,"version":null,"sidebarTitle":"Delete contact","openapi":"/en/openapi.json delete /v1/contacts/{id}","href":"/en/api-reference/contacts/delete-contact"},{"title":"Update contact name","deprecated":null,"version":null,"sidebarTitle":"Update contact name","openapi":"/en/openapi.json put /v1/contacts/{id}/name","href":"/en/api-reference/contacts/update-contact-name"},{"title":"Unlink contact from external CRM","deprecated":null,"version":null,"sidebarTitle":"Unlink contact from external crm","openapi":"/en/openapi.json delete /v1/contacts/{id}/crm-link","href":"/en/api-reference/contacts/unlink-contact-from-external-crm"},{"title":"Contact's \"Do not contact\" history","deprecated":null,"version":null,"sidebarTitle":"Contacts do not contact history","openapi":"/en/openapi.json get /v1/contacts/{contactId}/do-not-contact/history","href":"/en/api-reference/contacts/contacts-do-not-contact-history"}]},{"group":"Knowledge base","pages":[{"title":"List knowledge base items and media","deprecated":null,"version":null,"sidebarTitle":"List knowledge base items and media","openapi":"/en/openapi.json get /v1/knowledge","href":"/en/api-reference/knowledge/list-knowledge-base-items-and-media"},{"title":"Create knowledge item or media","deprecated":null,"version":null,"sidebarTitle":"Create knowledge item or media","openapi":"/en/openapi.json post /v1/knowledge","href":"/en/api-reference/knowledge/create-knowledge-item-or-media"},{"title":"Create knowledge item in markdown","deprecated":null,"version":null,"sidebarTitle":"Create knowledge item in markdown","openapi":"/en/openapi.json post /v1/knowledge/autcl","href":"/en/api-reference/knowledge/create-knowledge-item-in-markdown"},{"title":"Get knowledge item or media by ID","deprecated":null,"version":null,"sidebarTitle":"Get knowledge item or media by id","openapi":"/en/openapi.json get /v1/knowledge/{id}","href":"/en/api-reference/knowledge/get-knowledge-item-or-media-by-id"},{"title":"Update knowledge item or media","deprecated":null,"version":null,"sidebarTitle":"Update knowledge item or media","openapi":"/en/openapi.json patch /v1/knowledge/{id}","href":"/en/api-reference/knowledge/update-knowledge-item-or-media"}]},{"group":"Files and attachments","pages":[{"title":"Upload attachment","deprecated":null,"version":null,"sidebarTitle":"Upload attachment","openapi":"/en/openapi.json post /v1/resource/upload-attachment","href":"/en/api-reference/resources/upload-attachment"}]},{"group":"Inboxes","pages":[{"title":"List inboxes","deprecated":null,"version":null,"sidebarTitle":"List inboxes","openapi":"/en/openapi.json get /v1/inboxes","href":"/en/api-reference/inboxes/list-inboxes"},{"title":"Create inbox","deprecated":null,"version":null,"sidebarTitle":"Create inbox","openapi":"/en/openapi.json post /v1/inboxes","href":"/en/api-reference/inboxes/create-inbox"},{"title":"Get inbox by ID","deprecated":null,"version":null,"sidebarTitle":"Get inbox by id","openapi":"/en/openapi.json get /v1/inboxes/{id}","href":"/en/api-reference/inboxes/get-inbox-by-id"},{"title":"Update inbox","deprecated":null,"version":null,"sidebarTitle":"Update inbox","openapi":"/en/openapi.json put /v1/inboxes/{id}","href":"/en/api-reference/inboxes/update-inbox"},{"title":"Delete inbox","deprecated":null,"version":null,"sidebarTitle":"Delete inbox","openapi":"/en/openapi.json delete /v1/inboxes/{id}","href":"/en/api-reference/inboxes/delete-inbox"}]},{"group":"Tables and lists","pages":[{"title":"Create manual table","deprecated":null,"version":null,"sidebarTitle":"Create manual table","openapi":"/en/openapi.json post /v1/tables/manual","href":"/en/api-reference/tables/create-manual-table"},{"title":"List tables","deprecated":null,"version":null,"sidebarTitle":"List tables","openapi":"/en/openapi.json get /v1/tables","href":"/en/api-reference/tables/list-tables"},{"title":"Import table","deprecated":null,"version":null,"sidebarTitle":"Import table","openapi":"/en/openapi.json post /v1/tables","href":"/en/api-reference/tables/import-table"},{"title":"Get table by ID","deprecated":null,"version":null,"sidebarTitle":"Get table by id","openapi":"/en/openapi.json get /v1/tables/{id}","href":"/en/api-reference/tables/get-table-by-id"},{"title":"Remove table","deprecated":null,"version":null,"sidebarTitle":"Remove table","openapi":"/en/openapi.json delete /v1/tables/{id}","href":"/en/api-reference/tables/remove-table"},{"title":"Rename table or list","deprecated":null,"version":null,"sidebarTitle":"Rename table or list","openapi":"/en/openapi.json patch /v1/tables/{id}","href":"/en/api-reference/tables/rename-table-or-list"},{"title":"Update column labels","deprecated":null,"version":null,"sidebarTitle":"Update column labels","openapi":"/en/openapi.json patch /v1/tables/{id}/columns","href":"/en/api-reference/tables/update-column-labels"},{"title":"Export list as CSV","deprecated":null,"version":null,"sidebarTitle":"Export list as csv","openapi":"/en/openapi.json get /v1/tables/{id}/export-csv","href":"/en/api-reference/tables/export-list-as-csv"},{"title":"Export list as CSV (large selection)","deprecated":null,"version":null,"sidebarTitle":"Export list as csv large selection","openapi":"/en/openapi.json post /v1/tables/{id}/export-csv","href":"/en/api-reference/tables/export-list-as-csv-large-selection"},{"title":"List table rows with pagination","deprecated":null,"version":null,"sidebarTitle":"List table rows with pagination","openapi":"/en/openapi.json get /v1/tables/{id}/rows","href":"/en/api-reference/tables/list-table-rows-with-pagination"},{"title":"Add rows to the table","deprecated":null,"version":null,"sidebarTitle":"Add rows to the table","openapi":"/en/openapi.json post /v1/tables/{id}/rows","href":"/en/api-reference/tables/add-rows-to-the-table"},{"title":"Remove a row from the table","deprecated":null,"version":null,"sidebarTitle":"Remove a row from the table","openapi":"/en/openapi.json delete /v1/tables/{tableId}/rows/{rowId}","href":"/en/api-reference/tables/remove-a-row-from-the-table"},{"title":"Update a table row","deprecated":null,"version":null,"sidebarTitle":"Update a table row","openapi":"/en/openapi.json patch /v1/tables/{tableId}/rows/{rowId}","href":"/en/api-reference/tables/update-a-table-row"},{"title":"Remove multiple table rows in batch","deprecated":null,"version":null,"sidebarTitle":"Remove multiple table rows in batch","openapi":"/en/openapi.json delete /v1/tables/{tableId}/rows/batch","href":"/en/api-reference/tables/remove-multiple-table-rows-in-batch"},{"title":"Remove all rows from the list","deprecated":null,"version":null,"sidebarTitle":"Remove all rows from the list","openapi":"/en/openapi.json delete /v1/tables/{tableId}/rows/all","href":"/en/api-reference/tables/remove-all-rows-from-the-list"},{"title":"Create list","deprecated":null,"version":null,"sidebarTitle":"Create list","openapi":"/en/openapi.json post /v1/tables/list","href":"/en/api-reference/tables/create-list"},{"title":"Insert rows in bulk","deprecated":null,"version":null,"sidebarTitle":"Insert rows in bulk","openapi":"/en/openapi.json post /v1/tables/rows/batch","href":"/en/api-reference/tables/insert-rows-in-bulk"},{"title":"Update the data field of a row","deprecated":null,"version":null,"sidebarTitle":"Update the data field of a row","openapi":"/en/openapi.json patch /v1/tables/rows/{rowId}/data","href":"/en/api-reference/tables/update-the-data-field-of-a-row"},{"title":"Import CSV into an existing list","deprecated":null,"version":null,"sidebarTitle":"Import csv into an existing list","openapi":"/en/openapi.json post /v1/tables/{id}/import-csv","href":"/en/api-reference/tables/import-csv-into-an-existing-list"},{"title":"List views of a list","deprecated":null,"version":null,"sidebarTitle":"List views of a list","openapi":"/en/openapi.json get /v1/tables/{id}/views","href":"/en/api-reference/tables/list-views-of-a-list"},{"title":"Create new view for a list","deprecated":null,"version":null,"sidebarTitle":"Create new view for a list","openapi":"/en/openapi.json post /v1/tables/{id}/views","href":"/en/api-reference/tables/create-new-view-for-a-list"},{"title":"Delete a list's view","deprecated":null,"version":null,"sidebarTitle":"Delete a lists view","openapi":"/en/openapi.json delete /v1/tables/{id}/views/{viewId}","href":"/en/api-reference/tables/delete-a-lists-view"},{"title":"Update a list's view","deprecated":null,"version":null,"sidebarTitle":"Update a lists view","openapi":"/en/openapi.json patch /v1/tables/{id}/views/{viewId}","href":"/en/api-reference/tables/update-a-lists-view"},{"title":"Update a dataset via spreadsheet","deprecated":null,"version":null,"sidebarTitle":"Update a dataset via spreadsheet","openapi":"/en/openapi.json post /v1/tables/{id}/sync","href":"/en/api-reference/tables/update-a-dataset-via-spreadsheet"},{"title":"List table sync reports","deprecated":null,"version":null,"sidebarTitle":"List table sync reports","openapi":"/en/openapi.json get /v1/tables/{id}/sync-reports","href":"/en/api-reference/tables/list-table-sync-reports"},{"title":"Confirm a sync aborted due to mass deletion","deprecated":null,"version":null,"sidebarTitle":"Confirm a sync aborted due to mass deletion","openapi":"/en/openapi.json post /v1/tables/{id}/sync-reports/{reportId}/confirm","href":"/en/api-reference/tables/confirm-a-sync-aborted-due-to-mass-deletion"},{"title":"Discard a sync preview","deprecated":null,"version":null,"sidebarTitle":"Discard a sync preview","openapi":"/en/openapi.json post /v1/tables/{id}/sync-reports/{reportId}/discard","href":"/en/api-reference/tables/discard-a-sync-preview"},{"title":"Recalculate the _score column","deprecated":null,"version":null,"sidebarTitle":"Recalculate the score column","openapi":"/en/openapi.json post /v1/tables/{id}/recompute-score","href":"/en/api-reference/tables/recalculate-the-_score-column"},{"title":"Suggest the sync key column","deprecated":null,"version":null,"sidebarTitle":"Suggest the sync key column","openapi":"/en/openapi.json get /v1/tables/{id}/sync-config/suggestions","href":"/en/api-reference/tables/suggest-the-sync-key-column"},{"title":"Simulate the list ranking","deprecated":null,"version":null,"sidebarTitle":"Simulate the list ranking","openapi":"/en/openapi.json post /v1/tables/{id}/ranking-preview","href":"/en/api-reference/tables/simulate-the-list-ranking"},{"title":"Configure sync via upload","deprecated":null,"version":null,"sidebarTitle":"Configure sync via upload","openapi":"/en/openapi.json patch /v1/tables/{id}/sync-config","href":"/en/api-reference/tables/configure-sync-via-upload"}]},{"group":"Agents","pages":[{"title":"List AI agents","deprecated":null,"version":null,"sidebarTitle":"List ai agents","openapi":"/en/openapi.json get /v1/agents","href":"/en/api-reference/agents/list-ai-agents"},{"title":"Create agent","deprecated":null,"version":null,"sidebarTitle":"Create agent","openapi":"/en/openapi.json post /v1/agents","href":"/en/api-reference/agents/create-agent"},{"title":"Clone agent","deprecated":null,"version":null,"sidebarTitle":"Clone agent","openapi":"/en/openapi.json post /v1/agents/{id}/clone","href":"/en/api-reference/agents/clone-agent"},{"title":"List AI agents (lean payload)","deprecated":null,"version":null,"sidebarTitle":"List ai agents lean payload","openapi":"/en/openapi.json get /v1/agents/summary","href":"/en/api-reference/agents/list-ai-agents-lean-payload"},{"title":"Get agent","deprecated":null,"version":null,"sidebarTitle":"Get agent","openapi":"/en/openapi.json get /v1/agents/{id}","href":"/en/api-reference/agents/get-agent"},{"title":"Update agent","deprecated":null,"version":null,"sidebarTitle":"Update agent","openapi":"/en/openapi.json put /v1/agents/{id}","href":"/en/api-reference/agents/update-agent"},{"title":"Delete agent","deprecated":null,"version":null,"sidebarTitle":"Delete agent","openapi":"/en/openapi.json delete /v1/agents/{id}","href":"/en/api-reference/agents/delete-agent"},{"title":"Active campaigns using the agent","deprecated":null,"version":null,"sidebarTitle":"Active campaigns using the agent","openapi":"/en/openapi.json get /v1/agents/{id}/active-campaigns","href":"/en/api-reference/agents/active-campaigns-using-the-agent"},{"title":"What blocks archiving this funnel, and what needs to be migrated","deprecated":null,"version":null,"sidebarTitle":"What blocks archiving this funnel and what needs to be migrated","openapi":"/en/openapi.json get /v1/agents/{id}/archive-preflight","href":"/en/api-reference/agents/what-blocks-archiving-this-funnel-and-what-needs-to-be-migrated"},{"title":"Archive funnel, transferring the conversations","deprecated":null,"version":null,"sidebarTitle":"Archive funnel transferring the conversations","openapi":"/en/openapi.json post /v1/agents/{id}/archive","href":"/en/api-reference/agents/archive-funnel-transferring-the-conversations"}]},{"group":"HubSpot","pages":[{"title":"List HubSpot properties","deprecated":null,"version":null,"sidebarTitle":"List hubspot properties","openapi":"/en/openapi.json get /v1/hubspot/properties","href":"/en/api-reference/hubspot/list-hubspot-properties"},{"title":"Get field mappings","deprecated":null,"version":null,"sidebarTitle":"Get field mappings","openapi":"/en/openapi.json get /v1/hubspot/field-mappings","href":"/en/api-reference/hubspot/get-field-mappings"},{"title":"List HubSpot pipelines","deprecated":null,"version":null,"sidebarTitle":"List hubspot pipelines","openapi":"/en/openapi.json get /v1/hubspot/pipelines","href":"/en/api-reference/hubspot/list-hubspot-pipelines"},{"title":"Get deal stage mappings","deprecated":null,"version":null,"sidebarTitle":"Get deal stage mappings","openapi":"/en/openapi.json get /v1/hubspot/deal-stage-mappings","href":"/en/api-reference/hubspot/get-deal-stage-mappings"},{"title":"Get phone settings","deprecated":null,"version":null,"sidebarTitle":"Get phone settings","openapi":"/en/openapi.json get /v1/hubspot/phone-settings","href":"/en/api-reference/hubspot/get-phone-settings"},{"title":"List sync history","deprecated":null,"version":null,"sidebarTitle":"List sync history","openapi":"/en/openapi.json get /v1/hubspot/sync-logs","href":"/en/api-reference/hubspot/list-sync-history"},{"title":"Get sync event details","deprecated":null,"version":null,"sidebarTitle":"Get sync event details","openapi":"/en/openapi.json get /v1/hubspot/sync-logs/{id}","href":"/en/api-reference/hubspot/get-sync-event-details"},{"title":"Get sync settings","deprecated":null,"version":null,"sidebarTitle":"Get sync settings","openapi":"/en/openapi.json get /v1/hubspot/sync-settings","href":"/en/api-reference/hubspot/get-sync-settings"},{"title":"List HubSpot owners","deprecated":null,"version":null,"sidebarTitle":"List hubspot owners","openapi":"/en/openapi.json get /v1/hubspot/owners","href":"/en/api-reference/hubspot/list-hubspot-owners"},{"title":"Get owner mappings","deprecated":null,"version":null,"sidebarTitle":"Get owner mappings","openapi":"/en/openapi.json get /v1/hubspot/owner-mappings","href":"/en/api-reference/hubspot/get-owner-mappings"}]},{"group":"Campaigns","pages":[{"title":"List campaigns","deprecated":null,"version":null,"sidebarTitle":"List campaigns","openapi":"/en/openapi.json get /v1/campaigns","href":"/en/api-reference/campaigns/list-campaigns"},{"title":"Create new campaign","deprecated":null,"version":null,"sidebarTitle":"Create new campaign","openapi":"/en/openapi.json post /v1/campaigns","href":"/en/api-reference/campaigns/create-new-campaign"},{"title":"Simulate the campaign audience","deprecated":null,"version":null,"sidebarTitle":"Simulate the campaign audience","openapi":"/en/openapi.json post /v1/campaigns/audience-preview","href":"/en/api-reference/campaigns/simulate-the-campaign-audience"},{"title":"List who is left out of the campaign","deprecated":null,"version":null,"sidebarTitle":"List who is left out of the campaign","openapi":"/en/openapi.json post /v1/campaigns/audience-preview/excluded","href":"/en/api-reference/campaigns/list-who-is-left-out-of-the-campaign"},{"title":"Simulate the campaign message","deprecated":null,"version":null,"sidebarTitle":"Simulate the campaign message","openapi":"/en/openapi.json post /v1/campaigns/preview-message","href":"/en/api-reference/campaigns/simulate-the-campaign-message"},{"title":"Count campaigns by status","deprecated":null,"version":null,"sidebarTitle":"Count campaigns by status","openapi":"/en/openapi.json get /v1/campaigns/meta/count-by-status","href":"/en/api-reference/campaigns/count-campaigns-by-status"},{"title":"Export contacts from all campaigns as CSV","deprecated":null,"version":null,"sidebarTitle":"Export contacts from all campaigns as csv","openapi":"/en/openapi.json get /v1/campaigns/enrollments/export","href":"/en/api-reference/campaigns/export-contacts-from-all-campaigns-as-csv"},{"title":"Get campaign by ID","deprecated":null,"version":null,"sidebarTitle":"Get campaign by id","openapi":"/en/openapi.json get /v1/campaigns/{id}","href":"/en/api-reference/campaigns/get-campaign-by-id"},{"title":"Archive campaign","deprecated":null,"version":null,"sidebarTitle":"Archive campaign","openapi":"/en/openapi.json delete /v1/campaigns/{id}","href":"/en/api-reference/campaigns/archive-campaign"},{"title":"Update campaign","deprecated":null,"version":null,"sidebarTitle":"Update campaign","openapi":"/en/openapi.json patch /v1/campaigns/{id}","href":"/en/api-reference/campaigns/update-campaign"},{"title":"Activate campaign","deprecated":null,"version":null,"sidebarTitle":"Activate campaign","openapi":"/en/openapi.json post /v1/campaigns/{id}/activate","href":"/en/api-reference/campaigns/activate-campaign"},{"title":"Trigger step manually","deprecated":null,"version":null,"sidebarTitle":"Trigger step manually","openapi":"/en/openapi.json post /v1/campaigns/{id}/steps/{stepId}/execute","href":"/en/api-reference/campaigns/trigger-step-manually"},{"title":"Pause campaign","deprecated":null,"version":null,"sidebarTitle":"Pause campaign","openapi":"/en/openapi.json post /v1/campaigns/{id}/pause","href":"/en/api-reference/campaigns/pause-campaign"},{"title":"Campaign analytics","deprecated":null,"version":null,"sidebarTitle":"Campaign analytics","openapi":"/en/openapi.json get /v1/campaigns/{id}/analytics","href":"/en/api-reference/campaigns/campaign-analytics"},{"title":"Campaign analytics grouped by step","deprecated":null,"version":null,"sidebarTitle":"Campaign analytics grouped by step","openapi":"/en/openapi.json get /v1/campaigns/{id}/step-analytics","href":"/en/api-reference/campaigns/campaign-analytics-grouped-by-step"},{"title":"Export campaign contacts as CSV","deprecated":null,"version":null,"sidebarTitle":"Export campaign contacts as csv","openapi":"/en/openapi.json get /v1/campaigns/{id}/enrollments/export","href":"/en/api-reference/campaigns/export-campaign-contacts-as-csv"},{"title":"List campaign enrollments","deprecated":null,"version":null,"sidebarTitle":"List campaign enrollments","openapi":"/en/openapi.json get /v1/campaigns/{id}/enrollments","href":"/en/api-reference/campaigns/list-campaign-enrollments"},{"title":"List campaign executions","deprecated":null,"version":null,"sidebarTitle":"List campaign executions","openapi":"/en/openapi.json get /v1/campaigns/{id}/executions","href":"/en/api-reference/campaigns/list-campaign-executions"},{"title":"List executions of a specific enrollment","deprecated":null,"version":null,"sidebarTitle":"List executions of a specific enrollment","openapi":"/en/openapi.json get /v1/campaigns/{id}/enrollments/{enrollmentId}/executions","href":"/en/api-reference/campaigns/list-executions-of-a-specific-enrollment"}]},{"group":"Campaign enrollments","pages":[{"title":"Create bulk enrollments from contact_ids","deprecated":null,"version":null,"sidebarTitle":"Create bulk enrollments from contact ids","openapi":"/en/openapi.json post /v1/campaigns/{campaignId}/enrollments/bulk","href":"/en/api-reference/campaign-enrollments/create-bulk-enrollments-from-contact_ids"},{"title":"Create bulk enrollments from lists","deprecated":null,"version":null,"sidebarTitle":"Create bulk enrollments from lists","openapi":"/en/openapi.json post /v1/campaigns/{campaignId}/enrollments/bulk-from-lists","href":"/en/api-reference/campaign-enrollments/create-bulk-enrollments-from-lists"},{"title":"Create bulk enrollments from the funnel","deprecated":null,"version":null,"sidebarTitle":"Create bulk enrollments from the funnel","openapi":"/en/openapi.json post /v1/campaigns/{campaignId}/enrollments/bulk-from-funnel","href":"/en/api-reference/campaign-enrollments/create-bulk-enrollments-from-the-funnel"},{"title":"List campaign enrollments","deprecated":null,"version":null,"sidebarTitle":"List campaign enrollments","openapi":"/en/openapi.json get /v1/campaigns/{campaignId}/enrollments","href":"/en/api-reference/campaign-enrollments/list-campaign-enrollments"},{"title":"Enroll a contact in the campaign","deprecated":null,"version":null,"sidebarTitle":"Enroll a contact in the campaign","openapi":"/en/openapi.json post /v1/campaigns/{campaignId}/enrollments/from-contact","href":"/en/api-reference/campaign-enrollments/enroll-a-contact-in-the-campaign"}]}]},{"tab":"MCP","icon":"plug","pages":[{"title":"MCP","href":"/en/mcp-nuvia"}]}]},{"language":"es","pages":[{"title":"es","href":"/es"}]}]},"basePath":"","title":"Create contact (or reuse the existing one) - Nuvia API","deploymentId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","buildId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B6WFFOBL.js","utils-BN5um1KA.js","cloneDeep-C3md22mN.js","_Uint8Array-DLlL8L26.js","isObject-FP1Yky1u.js","utils-BSmbkXJR.js","addUniqueKeysToSchema-2tqcVnUE.js","snippetPresets-CtWfvr2J.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DkKHBy30.js","isEqual-O3q7y6pq.js","usePlaygroundInputsStore-Brc5H9UJ.js","shallow-C4L4xvbs.js","getApiPlaygroundDisplay-2bxyq_aI.js","CodeSnippet-BJu8ddd5.js","CodeSnippets-dazWmoqB.js","Page-CnLhKuUV.js","getPastedJson-Chy3Qa1S.js","icon-CyO7h3jh.js","MethodPill-Dle0_91v.js","DuplicateIcon-CVvWAf4a.js","createIcon-Di07A27B.js","DynamicMarkdown-C4w9kavL.js","SectionHeading-XiBebVYC.js","axios-vUo_bRtp.js","Markdown-DTeL0SpS.js","dist-OCScizqf.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-KcneGfMY.js"]}