{
"status_code": 400,
"type": "invalid_request_error",
"code": "value_not_found",
"message": "No attribute was found for matching_attribute slug/ID \"my_attribute\"."
}
{
"status_code": 403,
"type": "auth_error",
"code": "unauthorized",
"message": "You do not have the necessary permissions to create or update records of this object."
}
{
"status_code": 404,
"type": "invalid_request_error",
"code": "not_found",
"message": "Object with slug/ID \"people\" not found."
}
{
"status_code": 409,
"type": "invalid_request_error",
"code": "concurrent_write_conflict",
"message": "The record was modified by another request while this write was being validated. Please try again."
}
Users
Upsert a user record
Use this endpoint to create or update user records, using a matching attribute to search for existing users (for example the primary_email_address attribute). If a user is found with the same value for the matching attribute, that user will be updated, otherwise a new user will be created instead. If the matching attribute is a multiselect attribute, new values will be added and existing values will not be deleted. For any other multiselect attribute, all values will be either created or deleted as necessary to match the list of supplied values.
{
"status_code": 400,
"type": "invalid_request_error",
"code": "value_not_found",
"message": "No attribute was found for matching_attribute slug/ID \"my_attribute\"."
}
{
"status_code": 403,
"type": "auth_error",
"code": "unauthorized",
"message": "You do not have the necessary permissions to create or update records of this object."
}
{
"status_code": 404,
"type": "invalid_request_error",
"code": "not_found",
"message": "Object with slug/ID \"people\" not found."
}
{
"status_code": 409,
"type": "invalid_request_error",
"code": "concurrent_write_conflict",
"message": "The record was modified by another request while this write was being validated. Please try again."
}
The ID or slug of the attribute to use to check if a user already exists. The attribute does not have to be unique, but a value that matches more than one record is rejected. For user records, you can use primary_email_address or user_id, or any other matchable attribute.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Attio Docs","colors":{"primary":"#3b6be8","light":"#f1f3f5"},"logo":{"light":"https://mintcdn.com/attio/uDPxmqB0ooRQJQ39/logo/light.svg?fit=max\u0026auto=format\u0026n=uDPxmqB0ooRQJQ39\u0026q=85\u0026s=9af1b9c979be94d84881d4779d7eb31f","dark":"https://mintcdn.com/attio/uDPxmqB0ooRQJQ39/logo/dark.svg?fit=max\u0026auto=format\u0026n=uDPxmqB0ooRQJQ39\u0026q=85\u0026s=52a2e543a1cd72afbc860cc48259bd57"},"favicon":"https://mintcdn.com/attio/DVPA9KuK1yKhf6bD/favicon.svg?fit=max\u0026auto=format\u0026n=DVPA9KuK1yKhf6bD\u0026q=85\u0026s=b9d65163aef9a3430f212095aff95ec4","background":{"color":{"light":"#fff","dark":"#191b1f"}},"footer":{"socials":{"x":"https://x.com/Attio","website":"https://attio.com"}},"seo":{"indexing":"navigable"},"fonts":{"heading":{"family":"Inter","weight":100},"body":{"family":"Inter"}},"styling":{"codeblocks":"system","latex":true},"integrations":{"ga4":{"measurementId":"G-PZRKGLEPJ3"},"intercom":{"appId":"cqp3eh0z"}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Developer console","icon":"terminal","href":"https://build.attio.com/"},{"anchor":"Support","icon":"headset","href":"https://attio.com/help"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"attio","hasAudioNarration":false,"actualSubdomain":"attio","customDomains":["docs.attio.com"],"gitSource":{"type":"github","owner":"attio","repo":"developer-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af223a84b1f000af98117a7","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"REST API","count":218},{"language":"default","tag":"Endpoint reference","count":157},{"language":"default","tag":"App SDK","count":148},{"language":"default","tag":"Core endpoints","count":99},{"language":"default","tag":"Components","count":62},{"language":"default","tag":"Standard objects","count":46},{"language":"default","tag":"Webhook reference","count":34},{"language":"default","tag":"Guides","count":21},{"language":"default","tag":"Attribute types","count":18},{"language":"default","tag":"Forms","count":18}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"*{--font-weight-headings-custom: 500}th{text-align:left}:not(pre)>code{padding:0.125rem}.mermaid-inline button{width:100%;display:flex;justify-content:center;align-items:center}.mermaid-inline button>a{width:100%}img[alt~=\"logo\"]{width:90px}.rounded-xl{border-radius:10px}.rounded-2xl{border-radius:10px}.rounded-\\[14px\\][data-component-part=\"code-block-root\"]{border-radius:8px}#navbar div>a[href=\"/sdk/guides/creating-an-app\"]{position:relative}#navbar div>a[href=\"/sdk/guides/creating-an-app\"]::after{content:\"Alpha\";display:inline-block;font-size:0.7rem;font-weight:600;color:#F97514;background-color:rgb(249, 117, 20, 0.1);padding:0.1rem 0.4rem;border-radius:4px;margin-left:0.5rem}#navigation-items>ul>li>a[href=\"/sdk/guides/creating-an-app\"]{position:relative}#navigation-items>ul>li>a[href=\"/sdk/guides/creating-an-app\"]::after{content:\"Alpha\";display:inline-block;font-size:0.7rem;font-weight:600;color:#0066ff;background-color:rgba(0, 102, 255, 0.1);padding:0.1rem 0.4rem;border-radius:4px;margin-left:0.5rem}"}],"page":{"pagePath":"rest-api/endpoint-reference/users/upsert-a-user-record","slug":"/rest-api/endpoint-reference/users/upsert-a-user-record","pageMetadata":{"title":"Upsert a user record","description":"Use this endpoint to create or update user records, using a matching attribute to search for existing users (for example the `primary_email_address` attribute). If a user is found with the same value for the matching attribute, that user will be updated, otherwise a new user will be created instead. If the matching attribute is a multiselect attribute, new values will be added and existing values will not be deleted. For any other multiselect attribute, all values will be either created or deleted as necessary to match the list of supplied values.\n\nRequired scopes: `record_permission:read-write`, `object_configuration:read`.\n\nSupported token levels: `workspace`, `user`.","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects put /v2/objects/users/records","href":"/rest-api/endpoint-reference/users/upsert-a-user-record","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 p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Use this endpoint to create or update user records, using a matching attribute to search for existing users (for example the \", _jsx(_components.code, {\n children: \"primary_email_address\"\n }), \" attribute). If a user is found with the same value for the matching attribute, that user will be updated, otherwise a new user will be created instead. If the matching attribute is a multiselect attribute, new values will be added and existing values will not be deleted. For any other multiselect attribute, all values will be either created or deleted as necessary to match the list of supplied values.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Required scopes: \", _jsx(_components.code, {\n children: \"record_permission:read-write\"\n }), \", \", _jsx(_components.code, {\n children: \"object_configuration:read\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Supported token levels: \", _jsx(_components.code, {\n children: \"workspace\"\n }), \", \", _jsx(_components.code, {\n children: \"user\"\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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Upsert a user record","description":"Use this endpoint to create or update user records, using a matching attribute to search for existing users (for example the `primary_email_address` attribute). If a user is found with the same value for the matching attribute, that user will be updated, otherwise a new user will be created instead. If the matching attribute is a multiselect attribute, new values will be added and existing values will not be deleted. For any other multiselect attribute, all values will be either created or deleted as necessary to match the list of supplied values.\n\nRequired scopes: `record_permission:read-write`, `object_configuration:read`.\n\nSupported token levels: `workspace`, `user`.","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects put /v2/objects/users/records","href":"/rest-api/endpoint-reference/users/upsert-a-user-record","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Upsert a user record","description":"Use this endpoint to create or update user records, using a matching attribute to search for existing users (for example the `primary_email_address` attribute). If a user is found with the same value for the matching attribute, that user will be updated, otherwise a new user will be created instead. If the matching attribute is a multiselect attribute, new values will be added and existing values will not be deleted. For any other multiselect attribute, all values will be either created or deleted as necessary to match the list of supplied values.\n\nRequired scopes: `record_permission:read-write`, `object_configuration:read`.\n\nSupported token levels: `workspace`, `user`.","tags":["Users"],"security":["bb89d9fa-9827-4e26-b41b-a5b1225ab092"],"parameters":["13983a9f-4c41-4f42-a211-0a19fc354a40"],"requestBody":"06b8de8f-52a8-45e9-a5f6-469c52ccedb1","responses":{"200":"eafa7d9f-6807-4bc9-9235-3a13b6bf00b0","400":"f89b9104-760c-4d1d-a813-0e217831a587","403":"9662e492-8c95-4f73-b134-a6540a467948","404":"9c8c85ca-a20a-4d2a-974d-db1491a3871e","409":"61418a51-757f-4fa9-9bd5-86876522b28a"},"method":"put","type":"path","servers":["c06aa604-5f8f-4c85-916b-bd6d15cd8223"],"path":"/v2/objects/users/records","baseUrlOptions":["https://api.attio.com"],"title":"Upsert a user record","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"13983a9f-4c41-4f42-a211-0a19fc354a40":{"schema":{"type":"string","description":"The ID or slug of the attribute to use to check if a user already exists. The attribute does not have to be unique, but a value that matches more than one record is rejected. For user records, you can use `primary_email_address` or `user_id`, or any other matchable attribute.","example":"primary_email_address","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"name":"matching_attribute","in":"query"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"values":{"type":"object","properties":{"person":{"type":"array","items":{"oneOf":[{"type":"object","required":["target_object","target_record_id"],"example":{"target_object":"people","target_record_id":"891dcbfc-9141-415d-9b2a-2238a6cc012d"},"properties":{"target_object":{"type":"string","description":"A UUID or slug to identify the object that the referenced record belongs to.","example":"people","isRequired":true,"uniqueKey":"data.values.person.items.[INDEX].oneOf.0.target_object","typeLabel":"string"},"target_record_id":{"type":"string","format":"uuid","description":"A UUID to identify the referenced record.","example":"891dcbfc-9141-415d-9b2a-2238a6cc012d","isRequired":true,"uniqueKey":"data.values.person.items.[INDEX].oneOf.0.target_record_id","typeLabel":"string\u003cuuid>"}},"additionalProperties":false,"uniqueKey":"data.values.person.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["target_object","[slug_or_id_of_matching_attribute]"],"example":{"target_object":"people"},"properties":{"target_object":{"type":"string","description":"A UUID or slug to identify the object that the referenced record belongs to.","example":"people","isRequired":true,"uniqueKey":"data.values.person.items.[INDEX].oneOf.1.target_object","typeLabel":"string"},"[slug_or_id_of_matching_attribute]":{"type":"array","description":"In addition to referencing records directly by record ID, you may also reference by a matching attribute of your choice. For example, if you want to add a reference to the person record with email \"alice@website.com\", you should pass a value with `target_object` set to `\"people\"` and `email_addresses` set to `[{email_address:\"alice@website.com\"}]`. The key should be the slug or ID of the matching attribute you would like to use and the value should be an array containing a single value of the appropriate attribute type (as specified below). Matching on multiple values is not currently supported. The matching attribute does not have to be unique, but a value that matches no record or more than one record is rejected. We recommend a unique attribute, such as a domain, an email address or an ID from your own system. This process is similar to how you use the `matching_attribute` query param in Attio's [assert endpoints](/rest-api/endpoint-reference/records/assert-a-record).","items":{"oneOf":[{"type":"object","properties":{"domain":{"type":"string","example":"app.attio.com","description":"The full domain of the website.","uniqueKey":"data.values.person.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.0.domain","typeLabel":"string"}},"uniqueKey":"data.values.person.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","properties":{"email_address":{"type":"string","description":"An email address string","example":"alice@app.attio.com","uniqueKey":"data.values.person.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.1.email_address","typeLabel":"string"}},"uniqueKey":"data.values.person.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","properties":{"value":{"type":"number","example":17224912,"description":"Numbers are persisted as 64 bit floats.","uniqueKey":"data.values.person.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.2.value","typeLabel":"number"}},"uniqueKey":"data.values.person.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","properties":{"original_phone_number":{"type":"string","example":"07234172834","description":"The raw, original phone number, as inputted.","uniqueKey":"data.values.person.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3.original_phone_number","typeLabel":"string"},"country_code":{"oneOf":[{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","AN","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","SS","RS","SC","SL","SG","SK","SI","SB","SO","ZA","GS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW","BQ","KP","SX","XK","AC"],"example":"GB","description":"The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.","uniqueKey":"data.values.person.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3.country_code.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","AN","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","SS","RS","SC","SL","SG","SK","SI","SB","SO","ZA","GS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW","BQ","KP","SX","XK","AC"],"example":"GB","description":"The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.","uniqueKey":"data.values.person.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3.country_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.values.person.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3.country_code","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.values.person.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","properties":{"value":{"type":"string","description":"A raw text field. Values are limited to 10MB.","uniqueKey":"data.values.person.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.4.value","typeLabel":"string"}},"uniqueKey":"data.values.person.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"data.values.person.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.values.person.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute]","typeLabel":"object[]"}},"uniqueKey":"data.values.person.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["target_object","target_record_reference"],"example":{"target_object":"people"},"properties":{"target_object":{"type":"string","description":"A UUID or slug to identify the object that the referenced record belongs to.","example":"people","isRequired":true,"uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_object","typeLabel":"string"},"target_record_reference":{"type":"object","description":"References a record by a matching attribute, and optionally creates that record when nothing matches. Use this instead of `target_record_id` when you only know an attribute value, such as an email address or a domain.","properties":{"match":{"type":"object","description":"Exactly one matching attribute, given as the slug or ID of the attribute and a single value of that attribute's type. The attribute does not have to be unique, but we recommend a unique attribute, such as a domain, an email address or an ID from your own system. Matching on more than one value is not supported.","properties":{"[slug_or_id_of_matching_attribute]":{"type":"array","description":"An array containing a single value of the matching attribute's type. A single value may also be passed directly, without the array.","items":{"oneOf":[{"type":"object","properties":{"domain":{"type":"string","example":"app.attio.com","description":"The full domain of the website.","uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.0.domain","typeLabel":"string"}},"uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","properties":{"email_address":{"type":"string","description":"An email address string","example":"alice@app.attio.com","uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.1.email_address","typeLabel":"string"}},"uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","properties":{"value":{"type":"number","example":17224912,"description":"Numbers are persisted as 64 bit floats.","uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.2.value","typeLabel":"number"}},"uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","properties":{"original_phone_number":{"type":"string","example":"07234172834","description":"The raw, original phone number, as inputted.","uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3.original_phone_number","typeLabel":"string"},"country_code":{"oneOf":[{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","AN","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","SS","RS","SC","SL","SG","SK","SI","SB","SO","ZA","GS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW","BQ","KP","SX","XK","AC"],"example":"GB","description":"The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.","uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3.country_code.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","AN","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","SS","RS","SC","SL","SG","SK","SI","SB","SO","ZA","GS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW","BQ","KP","SX","XK","AC"],"example":"GB","description":"The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.","uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3.country_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3.country_code","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","properties":{"value":{"type":"string","description":"A raw text field. Values are limited to 10MB.","uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.4.value","typeLabel":"string"}},"uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute]","typeLabel":"object[]"}},"required":["[slug_or_id_of_matching_attribute]"],"isRequired":true,"uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.match","typeLabel":"object"},"if_unmatched":{"type":"string","enum":["error","create","ignore"],"default":"error","description":"What to do when no record matches. `error` rejects the request, `ignore` drops the value, and `create` creates a new record from `match` and `create`. Creating a record needs the `record_permission:read-write` and `object_configuration:read` scopes, and each record created counts as one more write against the rate limit of the request. A request may create at most 10 referenced records.","uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.if_unmatched","typeLabel":"enum\u003cstring>"},"if_multiple_matches":{"type":"string","enum":["error","match_all"],"default":"error","description":"What to do when more than one record matches. `error` rejects the request and `match_all` references every record that matches, up to 50 records.","uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.if_multiple_matches","typeLabel":"enum\u003cstring>"},"create":{"type":"object","description":"The values of the record to create. Only considered for `if_unmatched: \"create\"`. The value from `match` is added automatically and must not be repeated here. These values may not contain another `target_record_reference`.","uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference.create","typeLabel":"object"}},"required":["match"],"isRequired":true,"uniqueKey":"data.values.person.items.[INDEX].oneOf.2.target_record_reference","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"data.values.person.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"data.values.person.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.values.person","typeLabel":"object[]"},"primary_email_address":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","description":"An email address string","example":"alice@app.attio.com","uniqueKey":"data.values.primary_email_address.items.[INDEX].email_address","typeLabel":"string"}},"uniqueKey":"data.values.primary_email_address.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.values.primary_email_address","typeLabel":"object[]"},"user_id":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","description":"A raw text field. Values are limited to 10MB.","example":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","isRequired":true,"uniqueKey":"data.values.user_id.items.[INDEX].value","typeLabel":"string"}},"required":["value"],"additionalProperties":false,"uniqueKey":"data.values.user_id.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.values.user_id","typeLabel":"object[]"},"workspace":{"type":"array","items":{"oneOf":[{"type":"object","required":["target_object","target_record_id"],"example":{"target_object":"people","target_record_id":"891dcbfc-9141-415d-9b2a-2238a6cc012d"},"properties":{"target_object":{"type":"string","description":"A UUID or slug to identify the object that the referenced record belongs to.","example":"people","isRequired":true,"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.0.target_object","typeLabel":"string"},"target_record_id":{"type":"string","format":"uuid","description":"A UUID to identify the referenced record.","example":"891dcbfc-9141-415d-9b2a-2238a6cc012d","isRequired":true,"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.0.target_record_id","typeLabel":"string\u003cuuid>"}},"additionalProperties":false,"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["target_object","[slug_or_id_of_matching_attribute]"],"example":{"target_object":"people"},"properties":{"target_object":{"type":"string","description":"A UUID or slug to identify the object that the referenced record belongs to.","example":"people","isRequired":true,"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.1.target_object","typeLabel":"string"},"[slug_or_id_of_matching_attribute]":{"type":"array","description":"In addition to referencing records directly by record ID, you may also reference by a matching attribute of your choice. For example, if you want to add a reference to the person record with email \"alice@website.com\", you should pass a value with `target_object` set to `\"people\"` and `email_addresses` set to `[{email_address:\"alice@website.com\"}]`. The key should be the slug or ID of the matching attribute you would like to use and the value should be an array containing a single value of the appropriate attribute type (as specified below). Matching on multiple values is not currently supported. The matching attribute does not have to be unique, but a value that matches no record or more than one record is rejected. We recommend a unique attribute, such as a domain, an email address or an ID from your own system. This process is similar to how you use the `matching_attribute` query param in Attio's [assert endpoints](/rest-api/endpoint-reference/records/assert-a-record).","items":{"oneOf":[{"type":"object","properties":{"domain":{"type":"string","example":"app.attio.com","description":"The full domain of the website.","uniqueKey":"data.values.workspace.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.0.domain","typeLabel":"string"}},"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","properties":{"email_address":{"type":"string","description":"An email address string","example":"alice@app.attio.com","uniqueKey":"data.values.workspace.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.1.email_address","typeLabel":"string"}},"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","properties":{"value":{"type":"number","example":17224912,"description":"Numbers are persisted as 64 bit floats.","uniqueKey":"data.values.workspace.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.2.value","typeLabel":"number"}},"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","properties":{"original_phone_number":{"type":"string","example":"07234172834","description":"The raw, original phone number, as inputted.","uniqueKey":"data.values.workspace.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3.original_phone_number","typeLabel":"string"},"country_code":{"oneOf":[{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","AN","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","SS","RS","SC","SL","SG","SK","SI","SB","SO","ZA","GS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW","BQ","KP","SX","XK","AC"],"example":"GB","description":"The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.","uniqueKey":"data.values.workspace.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3.country_code.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","AN","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","SS","RS","SC","SL","SG","SK","SI","SB","SO","ZA","GS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW","BQ","KP","SX","XK","AC"],"example":"GB","description":"The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.","uniqueKey":"data.values.workspace.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3.country_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3.country_code","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","properties":{"value":{"type":"string","description":"A raw text field. Values are limited to 10MB.","uniqueKey":"data.values.workspace.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.4.value","typeLabel":"string"}},"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute].items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.1.[slug_or_id_of_matching_attribute]","typeLabel":"object[]"}},"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["target_object","target_record_reference"],"example":{"target_object":"people"},"properties":{"target_object":{"type":"string","description":"A UUID or slug to identify the object that the referenced record belongs to.","example":"people","isRequired":true,"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_object","typeLabel":"string"},"target_record_reference":{"type":"object","description":"References a record by a matching attribute, and optionally creates that record when nothing matches. Use this instead of `target_record_id` when you only know an attribute value, such as an email address or a domain.","properties":{"match":{"type":"object","description":"Exactly one matching attribute, given as the slug or ID of the attribute and a single value of that attribute's type. The attribute does not have to be unique, but we recommend a unique attribute, such as a domain, an email address or an ID from your own system. Matching on more than one value is not supported.","properties":{"[slug_or_id_of_matching_attribute]":{"type":"array","description":"An array containing a single value of the matching attribute's type. A single value may also be passed directly, without the array.","items":{"oneOf":[{"type":"object","properties":{"domain":{"type":"string","example":"app.attio.com","description":"The full domain of the website.","uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.0.domain","typeLabel":"string"}},"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","properties":{"email_address":{"type":"string","description":"An email address string","example":"alice@app.attio.com","uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.1.email_address","typeLabel":"string"}},"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","properties":{"value":{"type":"number","example":17224912,"description":"Numbers are persisted as 64 bit floats.","uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.2.value","typeLabel":"number"}},"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","properties":{"original_phone_number":{"type":"string","example":"07234172834","description":"The raw, original phone number, as inputted.","uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3.original_phone_number","typeLabel":"string"},"country_code":{"oneOf":[{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","AN","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","SS","RS","SC","SL","SG","SK","SI","SB","SO","ZA","GS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW","BQ","KP","SX","XK","AC"],"example":"GB","description":"The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.","uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3.country_code.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","AN","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","SS","RS","SC","SL","SG","SK","SI","SB","SO","ZA","GS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW","BQ","KP","SX","XK","AC"],"example":"GB","description":"The ISO 3166-1 alpha-2 country code representing the country that this phone number belongs to.","uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3.country_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3.country_code","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","properties":{"value":{"type":"string","description":"A raw text field. Values are limited to 10MB.","uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.4.value","typeLabel":"string"}},"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute].items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.match.[slug_or_id_of_matching_attribute]","typeLabel":"object[]"}},"required":["[slug_or_id_of_matching_attribute]"],"isRequired":true,"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.match","typeLabel":"object"},"if_unmatched":{"type":"string","enum":["error","create","ignore"],"default":"error","description":"What to do when no record matches. `error` rejects the request, `ignore` drops the value, and `create` creates a new record from `match` and `create`. Creating a record needs the `record_permission:read-write` and `object_configuration:read` scopes, and each record created counts as one more write against the rate limit of the request. A request may create at most 10 referenced records.","uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.if_unmatched","typeLabel":"enum\u003cstring>"},"if_multiple_matches":{"type":"string","enum":["error","match_all"],"default":"error","description":"What to do when more than one record matches. `error` rejects the request and `match_all` references every record that matches, up to 50 records.","uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.if_multiple_matches","typeLabel":"enum\u003cstring>"},"create":{"type":"object","description":"The values of the record to create. Only considered for `if_unmatched: \"create\"`. The value from `match` is added automatically and must not be repeated here. These values may not contain another `target_record_reference`.","uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference.create","typeLabel":"object"}},"required":["match"],"isRequired":true,"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2.target_record_reference","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"data.values.workspace.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"data.values.workspace.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.values.workspace","typeLabel":"object[]"}},"description":"This object's keys should be the slugs or IDs of the attributes you wish to update. Below, you'll find documentation for the value types of each standard user attribute. For information on potential custom attributes, refer to our [attribute type docs](/docs/attribute-types).","example":{"user_id":"123","primary_email_address":"person@company.com","person":{"target_object":"people","target_record_id":"891dcbfc-9141-415d-9b2a-2238a6cc012d"},"workspace":[{"target_object":"workspaces","target_record_id":"72ef5feaf-4919-4208-b332-1339ab8ba040"}]},"isRequired":true,"uniqueKey":"data.values","typeLabel":"object"}},"required":["values"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"values":{"user_id":"123","primary_email_address":"person@company.com","person":{"target_object":"people","target_record_id":"891dcbfc-9141-415d-9b2a-2238a6cc012d"},"workspace":[{"target_object":"workspaces","target_record_id":"72ef5feaf-4919-4208-b332-1339ab8ba040"}]}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"eafa7d9f-6807-4bc9-9235-3a13b6bf00b0":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","description":"A UUID identifying the workspace this record belongs to.","example":"14beef7a-99f7-4534-a87e-70b564330a4c","isRequired":true,"uniqueKey":"data.id.workspace_id","typeLabel":"string\u003cuuid>"},"object_id":{"type":"string","format":"uuid","description":"A UUID identifying the object this record belongs to.","example":"97052eb9-e65e-443f-a297-f2d9a4a7f795","isRequired":true,"uniqueKey":"data.id.object_id","typeLabel":"string\u003cuuid>"},"record_id":{"type":"string","format":"uuid","description":"A UUID identifying this record.","example":"bf071e1f-6035-429d-b874-d83ea64ea13b","isRequired":true,"uniqueKey":"data.id.record_id","typeLabel":"string\u003cuuid>"}},"required":["workspace_id","object_id","record_id"],"isRequired":true,"uniqueKey":"data.id","typeLabel":"object"},"created_at":{"type":"string","description":"When this record was created.","example":"2022-11-21T13:22:49.061281000Z","isRequired":true,"uniqueKey":"data.created_at","typeLabel":"string"},"web_url":{"type":"string","format":"uri","description":"A URL that links directly to the record page in the Attio web application.","example":"https://app.attio.com/salarya/person/bf071e1f-6035-429d-b874-d83ea64ea13b","isRequired":true,"uniqueKey":"data.web_url","typeLabel":"string\u003curi>"},"values":{"type":"object","properties":{"person":{"type":"array","items":{"type":"object","properties":{"active_from":{"type":"string","format":"date-time","description":"The point in time at which this value was made \"active\". `active_from` can be considered roughly analogous to `created_at`.","example":"2023-01-01T15:00:00.000000000Z","isRequired":true,"uniqueKey":"data.values.person.items.[INDEX].active_from","typeLabel":"string\u003cdate-time>"},"active_until":{"oneOf":[{"type":"string","format":"date-time","description":"The point in time at which this value was deactivated. If `null`, the value is active.","example":"2023-01-01T15:00:00.000000000Z","isRequired":true,"uniqueKey":"data.values.person.items.[INDEX].active_until.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The point in time at which this value was deactivated. If `null`, the value is active.","example":"2023-01-01T15:00:00.000000000Z","isRequired":true,"uniqueKey":"data.values.person.items.[INDEX].active_until.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.values.person.items.[INDEX].active_until","typeLabel":"string\u003cdate-time> | null"},"created_by_actor":{"type":"object","description":"The actor that created this value.","properties":{"id":{"oneOf":[{"type":"string","description":"An ID to identify the actor.","uniqueKey":"data.values.person.items.[INDEX].created_by_actor.id.oneOf.0","typeLabel":"string"},{"type":"null","description":"An ID to identify the actor.","uniqueKey":"data.values.person.items.[INDEX].created_by_actor.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.values.person.items.[INDEX].created_by_actor.id","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","enum":["api-token","workspace-member","system","app"],"description":"The type of actor. [Read more information on actor types here](/docs/actors).","uniqueKey":"data.values.person.items.[INDEX].created_by_actor.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["api-token","workspace-member","system","app"],"description":"The type of actor. [Read more information on actor types here](/docs/actors).","uniqueKey":"data.values.person.items.[INDEX].created_by_actor.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.values.person.items.[INDEX].created_by_actor.type","typeLabel":"enum\u003cstring> | null"}},"example":{"type":"workspace-member","id":"50cf242c-7fa3-4cad-87d0-75b1af71c57b"},"isRequired":true,"uniqueKey":"data.values.person.items.[INDEX].created_by_actor","typeLabel":"object"},"target_object":{"type":"string","description":"A slug identifying the object that the referenced record belongs to.","example":"people","isRequired":true,"uniqueKey":"data.values.person.items.[INDEX].target_object","typeLabel":"string"},"target_record_id":{"type":"string","format":"uuid","description":"A UUID to identify the referenced record.","example":"891dcbfc-9141-415d-9b2a-2238a6cc012d","isRequired":true,"uniqueKey":"data.values.person.items.[INDEX].target_record_id","typeLabel":"string\u003cuuid>"},"attribute_type":{"type":"string","enum":["record-reference"],"description":"The attribute type of the value.","example":"record-reference","isRequired":true,"uniqueKey":"data.values.person.items.[INDEX].attribute_type","typeLabel":"enum\u003cstring>"}},"required":["active_from","active_until","created_by_actor","target_object","target_record_id","attribute_type"],"additionalProperties":false,"uniqueKey":"data.values.person.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.values.person","typeLabel":"object[]"},"primary_email_address":{"type":"array","items":{"type":"object","properties":{"active_from":{"type":"string","format":"date-time","description":"The point in time at which this value was made \"active\". `active_from` can be considered roughly analogous to `created_at`.","example":"2023-01-01T15:00:00.000000000Z","isRequired":true,"uniqueKey":"data.values.primary_email_address.items.[INDEX].active_from","typeLabel":"string\u003cdate-time>"},"active_until":{"oneOf":[{"type":"string","format":"date-time","description":"The point in time at which this value was deactivated. If `null`, the value is active.","example":"2023-01-01T15:00:00.000000000Z","isRequired":true,"uniqueKey":"data.values.primary_email_address.items.[INDEX].active_until.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The point in time at which this value was deactivated. If `null`, the value is active.","example":"2023-01-01T15:00:00.000000000Z","isRequired":true,"uniqueKey":"data.values.primary_email_address.items.[INDEX].active_until.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.values.primary_email_address.items.[INDEX].active_until","typeLabel":"string\u003cdate-time> | null"},"created_by_actor":{"type":"object","description":"The actor that created this value.","properties":{"id":{"oneOf":[{"type":"string","description":"An ID to identify the actor.","uniqueKey":"data.values.primary_email_address.items.[INDEX].created_by_actor.id.oneOf.0","typeLabel":"string"},{"type":"null","description":"An ID to identify the actor.","uniqueKey":"data.values.primary_email_address.items.[INDEX].created_by_actor.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.values.primary_email_address.items.[INDEX].created_by_actor.id","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","enum":["api-token","workspace-member","system","app"],"description":"The type of actor. [Read more information on actor types here](/docs/actors).","uniqueKey":"data.values.primary_email_address.items.[INDEX].created_by_actor.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["api-token","workspace-member","system","app"],"description":"The type of actor. [Read more information on actor types here](/docs/actors).","uniqueKey":"data.values.primary_email_address.items.[INDEX].created_by_actor.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.values.primary_email_address.items.[INDEX].created_by_actor.type","typeLabel":"enum\u003cstring> | null"}},"example":{"type":"workspace-member","id":"50cf242c-7fa3-4cad-87d0-75b1af71c57b"},"isRequired":true,"uniqueKey":"data.values.primary_email_address.items.[INDEX].created_by_actor","typeLabel":"object"},"original_email_address":{"type":"string","example":"alice@app.attio.com","isRequired":true,"uniqueKey":"data.values.primary_email_address.items.[INDEX].original_email_address","typeLabel":"string"},"email_address":{"type":"string","example":"alice@app.attio.com","isRequired":true,"uniqueKey":"data.values.primary_email_address.items.[INDEX].email_address","typeLabel":"string"},"email_domain":{"type":"string","example":"app.attio.com","isRequired":true,"uniqueKey":"data.values.primary_email_address.items.[INDEX].email_domain","typeLabel":"string"},"email_root_domain":{"type":"string","example":"attio.com","isRequired":true,"uniqueKey":"data.values.primary_email_address.items.[INDEX].email_root_domain","typeLabel":"string"},"email_local_specifier":{"type":"string","example":"alice","isRequired":true,"uniqueKey":"data.values.primary_email_address.items.[INDEX].email_local_specifier","typeLabel":"string"},"attribute_type":{"type":"string","enum":["email-address"],"description":"The attribute type of the value.","example":"email-address","isRequired":true,"uniqueKey":"data.values.primary_email_address.items.[INDEX].attribute_type","typeLabel":"enum\u003cstring>"}},"required":["active_from","active_until","created_by_actor","original_email_address","email_address","email_domain","email_root_domain","email_local_specifier","attribute_type"],"uniqueKey":"data.values.primary_email_address.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.values.primary_email_address","typeLabel":"object[]"},"user_id":{"type":"array","items":{"type":"object","properties":{"active_from":{"type":"string","format":"date-time","description":"The point in time at which this value was made \"active\". `active_from` can be considered roughly analogous to `created_at`.","example":"2023-01-01T15:00:00.000000000Z","isRequired":true,"uniqueKey":"data.values.user_id.items.[INDEX].active_from","typeLabel":"string\u003cdate-time>"},"active_until":{"oneOf":[{"type":"string","format":"date-time","description":"The point in time at which this value was deactivated. If `null`, the value is active.","example":"2023-01-01T15:00:00.000000000Z","isRequired":true,"uniqueKey":"data.values.user_id.items.[INDEX].active_until.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The point in time at which this value was deactivated. If `null`, the value is active.","example":"2023-01-01T15:00:00.000000000Z","isRequired":true,"uniqueKey":"data.values.user_id.items.[INDEX].active_until.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.values.user_id.items.[INDEX].active_until","typeLabel":"string\u003cdate-time> | null"},"created_by_actor":{"type":"object","description":"The actor that created this value.","properties":{"id":{"oneOf":[{"type":"string","description":"An ID to identify the actor.","uniqueKey":"data.values.user_id.items.[INDEX].created_by_actor.id.oneOf.0","typeLabel":"string"},{"type":"null","description":"An ID to identify the actor.","uniqueKey":"data.values.user_id.items.[INDEX].created_by_actor.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.values.user_id.items.[INDEX].created_by_actor.id","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","enum":["api-token","workspace-member","system","app"],"description":"The type of actor. [Read more information on actor types here](/docs/actors).","uniqueKey":"data.values.user_id.items.[INDEX].created_by_actor.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["api-token","workspace-member","system","app"],"description":"The type of actor. [Read more information on actor types here](/docs/actors).","uniqueKey":"data.values.user_id.items.[INDEX].created_by_actor.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.values.user_id.items.[INDEX].created_by_actor.type","typeLabel":"enum\u003cstring> | null"}},"example":{"type":"workspace-member","id":"50cf242c-7fa3-4cad-87d0-75b1af71c57b"},"isRequired":true,"uniqueKey":"data.values.user_id.items.[INDEX].created_by_actor","typeLabel":"object"},"value":{"type":"string","description":"A raw text field. Values are limited to 10MB.","example":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","isRequired":true,"uniqueKey":"data.values.user_id.items.[INDEX].value","typeLabel":"string"},"attribute_type":{"type":"string","enum":["text"],"description":"The attribute type of the value.","example":"text","isRequired":true,"uniqueKey":"data.values.user_id.items.[INDEX].attribute_type","typeLabel":"enum\u003cstring>"}},"required":["active_from","active_until","created_by_actor","value","attribute_type"],"additionalProperties":false,"uniqueKey":"data.values.user_id.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.values.user_id","typeLabel":"object[]"},"workspace":{"type":"array","items":{"type":"object","properties":{"active_from":{"type":"string","format":"date-time","description":"The point in time at which this value was made \"active\". `active_from` can be considered roughly analogous to `created_at`.","example":"2023-01-01T15:00:00.000000000Z","isRequired":true,"uniqueKey":"data.values.workspace.items.[INDEX].active_from","typeLabel":"string\u003cdate-time>"},"active_until":{"oneOf":[{"type":"string","format":"date-time","description":"The point in time at which this value was deactivated. If `null`, the value is active.","example":"2023-01-01T15:00:00.000000000Z","isRequired":true,"uniqueKey":"data.values.workspace.items.[INDEX].active_until.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The point in time at which this value was deactivated. If `null`, the value is active.","example":"2023-01-01T15:00:00.000000000Z","isRequired":true,"uniqueKey":"data.values.workspace.items.[INDEX].active_until.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.values.workspace.items.[INDEX].active_until","typeLabel":"string\u003cdate-time> | null"},"created_by_actor":{"type":"object","description":"The actor that created this value.","properties":{"id":{"oneOf":[{"type":"string","description":"An ID to identify the actor.","uniqueKey":"data.values.workspace.items.[INDEX].created_by_actor.id.oneOf.0","typeLabel":"string"},{"type":"null","description":"An ID to identify the actor.","uniqueKey":"data.values.workspace.items.[INDEX].created_by_actor.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.values.workspace.items.[INDEX].created_by_actor.id","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","enum":["api-token","workspace-member","system","app"],"description":"The type of actor. [Read more information on actor types here](/docs/actors).","uniqueKey":"data.values.workspace.items.[INDEX].created_by_actor.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["api-token","workspace-member","system","app"],"description":"The type of actor. [Read more information on actor types here](/docs/actors).","uniqueKey":"data.values.workspace.items.[INDEX].created_by_actor.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.values.workspace.items.[INDEX].created_by_actor.type","typeLabel":"enum\u003cstring> | null"}},"example":{"type":"workspace-member","id":"50cf242c-7fa3-4cad-87d0-75b1af71c57b"},"isRequired":true,"uniqueKey":"data.values.workspace.items.[INDEX].created_by_actor","typeLabel":"object"},"target_object":{"type":"string","description":"A slug identifying the object that the referenced record belongs to.","example":"people","isRequired":true,"uniqueKey":"data.values.workspace.items.[INDEX].target_object","typeLabel":"string"},"target_record_id":{"type":"string","format":"uuid","description":"A UUID to identify the referenced record.","example":"891dcbfc-9141-415d-9b2a-2238a6cc012d","isRequired":true,"uniqueKey":"data.values.workspace.items.[INDEX].target_record_id","typeLabel":"string\u003cuuid>"},"attribute_type":{"type":"string","enum":["record-reference"],"description":"The attribute type of the value.","example":"record-reference","isRequired":true,"uniqueKey":"data.values.workspace.items.[INDEX].attribute_type","typeLabel":"enum\u003cstring>"}},"required":["active_from","active_until","created_by_actor","target_object","target_record_id","attribute_type"],"additionalProperties":false,"uniqueKey":"data.values.workspace.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.values.workspace","typeLabel":"object[]"}},"description":"An object with `attribute_slug` keys, and an array of value objects as the values. Attributes slugs (for example `person` or `primary_email_address`) can be used, including custom attribute slugs.","example":{"person":[{"active_from":"2023-01-01T15:00:00.000000000Z","active_until":null,"created_by_actor":{"type":"system","id":null},"target_object":"people","target_record_id":"891dcbfc-9141-415d-9b2a-2238a6cc012d","attribute_type":"record-reference"}],"primary_email_address":[{"active_from":"2023-01-01T15:00:00.000000000Z","active_until":null,"created_by_actor":{"type":"system","id":null},"original_email_address":"person@company.com","email_address":"person@company.com","email_domain":"company.com","email_root_domain":"company.com","email_local_specifier":"person","attribute_type":"email-address"}],"user_id":[{"active_from":"2023-01-01T15:00:00.000000000Z","active_until":null,"created_by_actor":{"type":"system","id":null},"value":"123","attribute_type":"text"}],"workspace":[{"active_from":"2023-01-01T15:00:00.000000000Z","active_until":null,"created_by_actor":{"type":"system","id":null},"target_object":"workspaces","target_record_id":"72ef5feaf-4919-4208-b332-1339ab8ba040","attribute_type":"record-reference"}]},"isRequired":true,"uniqueKey":"data.values","typeLabel":"object"}},"required":["id","created_at","web_url","values"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["data"],"description":"Success","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":{"workspace_id":"14beef7a-99f7-4534-a87e-70b564330a4c","object_id":"97052eb9-e65e-443f-a297-f2d9a4a7f795","record_id":"bf071e1f-6035-429d-b874-d83ea64ea13b"},"created_at":"2022-11-21T13:22:49.061281000Z","web_url":"https://app.attio.com/salarya/person/bf071e1f-6035-429d-b874-d83ea64ea13b","values":{"person":[{"active_from":"2023-01-01T15:00:00.000000000Z","active_until":null,"created_by_actor":{"type":"system","id":null},"target_object":"people","target_record_id":"891dcbfc-9141-415d-9b2a-2238a6cc012d","attribute_type":"record-reference"}],"primary_email_address":[{"active_from":"2023-01-01T15:00:00.000000000Z","active_until":null,"created_by_actor":{"type":"system","id":null},"original_email_address":"person@company.com","email_address":"person@company.com","email_domain":"company.com","email_root_domain":"company.com","email_local_specifier":"person","attribute_type":"email-address"}],"user_id":[{"active_from":"2023-01-01T15:00:00.000000000Z","active_until":null,"created_by_actor":{"type":"system","id":null},"value":"123","attribute_type":"text"}],"workspace":[{"active_from":"2023-01-01T15:00:00.000000000Z","active_until":null,"created_by_actor":{"type":"system","id":null},"target_object":"workspaces","target_record_id":"72ef5feaf-4919-4208-b332-1339ab8ba040","attribute_type":"record-reference"}]}}}}},"exampleType":"generated"}},"exampleType":"generated"},"f89b9104-760c-4d1d-a813-0e217831a587":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"status_code":{"type":"number","enum":[400],"isRequired":true,"uniqueKey":"status_code","typeLabel":"enum\u003cnumber>"},"type":{"type":"string","enum":["invalid_request_error"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"code":{"oneOf":[{"type":"string","enum":["value_not_found"],"isRequired":true,"uniqueKey":"code.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","enum":["merge_in_progress"],"isRequired":true,"uniqueKey":"code.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"string","enum":["particle_gate_violation"],"isRequired":true,"uniqueKey":"code.oneOf.2","typeLabel":"enum\u003cstring>"},{"type":"string","enum":["validation_type"],"isRequired":true,"uniqueKey":"code.oneOf.3","typeLabel":"enum\u003cstring>"},{"type":"string","enum":["duplicate_values"],"isRequired":true,"uniqueKey":"code.oneOf.4","typeLabel":"enum\u003cstring>"},{"type":"string","enum":["limit_reached"],"isRequired":true,"uniqueKey":"code.oneOf.5","typeLabel":"enum\u003cstring>"},{"type":"string","enum":["multiple_match_results"],"isRequired":true,"uniqueKey":"code.oneOf.6","typeLabel":"enum\u003cstring>"}],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"No attribute was found for matching_attribute slug/ID \"my_attribute\".","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["status_code","type","code","message"],"description":"Bad Request","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status_code":400,"type":"invalid_request_error","code":"value_not_found","message":"No attribute was found for matching_attribute slug/ID \"my_attribute\"."}}},"exampleType":"generated"}},"exampleType":"generated"},"9662e492-8c95-4f73-b134-a6540a467948":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"status_code":{"type":"number","enum":[403],"isRequired":true,"uniqueKey":"status_code","typeLabel":"enum\u003cnumber>"},"type":{"type":"string","enum":["auth_error"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","enum":["unauthorized"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"You do not have the necessary permissions to create or update records of this object.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["status_code","type","code","message"],"description":"Forbidden","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status_code":403,"type":"auth_error","code":"unauthorized","message":"You do not have the necessary permissions to create or update records of this object."}}},"exampleType":"generated"}},"exampleType":"generated"},"9c8c85ca-a20a-4d2a-974d-db1491a3871e":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"status_code":{"type":"number","enum":[404],"isRequired":true,"uniqueKey":"status_code","typeLabel":"enum\u003cnumber>"},"type":{"type":"string","enum":["invalid_request_error"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","enum":["not_found"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"Object with slug/ID \"people\" not found.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["status_code","type","code","message"],"description":"Not Found","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status_code":404,"type":"invalid_request_error","code":"not_found","message":"Object with slug/ID \"people\" not found."}}},"exampleType":"generated"}},"exampleType":"generated"},"61418a51-757f-4fa9-9bd5-86876522b28a":{"description":"Conflict","content":{"application/json":{"schema":{"type":"object","properties":{"status_code":{"type":"number","enum":[409],"isRequired":true,"uniqueKey":"status_code","typeLabel":"enum\u003cnumber>"},"type":{"type":"string","enum":["invalid_request_error"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"code":{"oneOf":[{"type":"string","enum":["concurrent_write_conflict"],"isRequired":true,"uniqueKey":"code.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","enum":["multiple_match_results"],"isRequired":true,"uniqueKey":"code.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"string","enum":["uniqueness_conflict"],"isRequired":true,"uniqueKey":"code.oneOf.2","typeLabel":"enum\u003cstring>"}],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"The record was modified by another request while this write was being validated. Please try again.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["status_code","type","code","message"],"description":"Conflict","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status_code":409,"type":"invalid_request_error","code":"concurrent_write_conflict","message":"The record was modified by another request while this write was being validated. Please try again."}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"bb89d9fa-9827-4e26-b41b-a5b1225ab092":{"oauth2":{"type":"oauth2","description":"This API uses OAuth 2.0 with the authorization code grant flow.","flows":{"authorizationCode":{"authorizationUrl":"https://app.attio.com/authorize","tokenUrl":"https://app.attio.com/oauth/token","scopes":{"user_management:read":"View workspace members.","user_management:read-write":"View workspace members.","record_permission:read":"View, and optionally write, records.","record_permission:read-write":"View, and optionally write, records.","object_configuration:read":"View, and optionally write, the configuration and attributes of objects.","object_configuration:read-write":"View, and optionally write, the configuration and attributes of objects.","list_entry:read":"View, and optionally write, the entries in a list.","list_entry:read-write":"View, and optionally write, the entries in a list.","list_configuration:read":"View, and optionally write, the configuration and attributes of lists.","list_configuration:read-write":"View, and optionally write, the configuration and attributes of lists.","public_collection:read":"View, and optionally write, both the settings and information within public collections.","public_collection:read-write":"View, and optionally write, both the settings and information within public collections.","private_collection:read":"View, and optionally modify, both the settings and information of all collections within the workspace, regardless of their access settings.","private_collection:read-write":"View, and optionally modify, both the settings and information of all collections within the workspace, regardless of their access settings.","comment:read":"View comments (and threads), and optionally write comments.","comment:read-write":"View comments (and threads), and optionally write comments.","task:read":"View, and optionally write, tasks.","task:read-write":"View, and optionally write, tasks.","note:read":"View, and optionally write, notes.","note:read-write":"View, and optionally write, notes.","meeting:read":"View, and optionally write, meetings.","meeting:read-write":"View, and optionally write, meetings.","call_recording:read":"View, and optionally write, call recordings, transcripts and speakers for meetings.","call_recording:read-write":"View, and optionally write, call recordings, transcripts and speakers for meetings.","webhook:read":"View, and optionally manage, webhooks.","webhook:read-write":"View, and optionally manage, webhooks.","file:read":"View, and upload files.","file:read-write":"View, and upload files.","email:read":"View email metadata. Email content is never exposed.","email:read-write":"View email metadata. Email content is never exposed.","activity_configuration:read":"View, and optionally write, the configuration and attributes of activities.","activity_configuration:read-write":"View, and optionally write, the configuration and attributes of activities.","activity_record:read":"View, and optionally write, activity records.","activity_record:read-write":"View, and optionally write, activity records.","sequence_unsubscribe:read":"View, and optionally add to, the sequence unsubscribe list.","sequence_unsubscribe:read-write":"View, and optionally add to, the sequence unsubscribe list.","email_calendar_blocklist:read":"View, and optionally manage, the addresses (email addresses and domains) whose emails and calendar events are hidden in Attio.","email_calendar_blocklist:read-write":"View, and optionally manage, the addresses (email addresses and domains) whose emails and calendar events are hidden in Attio.","view:read":"View, and optionally manage, the saved views of objects and lists, with their filters, sorts and shown attributes.","view:read-write":"View, and optionally manage, the saved views of objects and lists, with their filters, sorts and shown attributes."}}},"scopes":["record_permission:read-write","object_configuration:read"],"schemeName":"oauth2"}}},"servers":{"c06aa604-5f8f-4c85-916b-bd6d15cd8223":{"url":"https://api.attio.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"oauth2","description":"This API uses OAuth 2.0 with the authorization code grant flow.","flows":{"authorizationCode":{"authorizationUrl":"https://app.attio.com/authorize","tokenUrl":"https://app.attio.com/oauth/token","scopes":{"user_management:read":"View workspace members.","user_management:read-write":"View workspace members.","record_permission:read":"View, and optionally write, records.","record_permission:read-write":"View, and optionally write, records.","object_configuration:read":"View, and optionally write, the configuration and attributes of objects.","object_configuration:read-write":"View, and optionally write, the configuration and attributes of objects.","list_entry:read":"View, and optionally write, the entries in a list.","list_entry:read-write":"View, and optionally write, the entries in a list.","list_configuration:read":"View, and optionally write, the configuration and attributes of lists.","list_configuration:read-write":"View, and optionally write, the configuration and attributes of lists.","public_collection:read":"View, and optionally write, both the settings and information within public collections.","public_collection:read-write":"View, and optionally write, both the settings and information within public collections.","private_collection:read":"View, and optionally modify, both the settings and information of all collections within the workspace, regardless of their access settings.","private_collection:read-write":"View, and optionally modify, both the settings and information of all collections within the workspace, regardless of their access settings.","comment:read":"View comments (and threads), and optionally write comments.","comment:read-write":"View comments (and threads), and optionally write comments.","task:read":"View, and optionally write, tasks.","task:read-write":"View, and optionally write, tasks.","note:read":"View, and optionally write, notes.","note:read-write":"View, and optionally write, notes.","meeting:read":"View, and optionally write, meetings.","meeting:read-write":"View, and optionally write, meetings.","call_recording:read":"View, and optionally write, call recordings, transcripts and speakers for meetings.","call_recording:read-write":"View, and optionally write, call recordings, transcripts and speakers for meetings.","webhook:read":"View, and optionally manage, webhooks.","webhook:read-write":"View, and optionally manage, webhooks.","file:read":"View, and upload files.","file:read-write":"View, and upload files.","email:read":"View email metadata. Email content is never exposed.","email:read-write":"View email metadata. Email content is never exposed.","activity_configuration:read":"View, and optionally write, the configuration and attributes of activities.","activity_configuration:read-write":"View, and optionally write, the configuration and attributes of activities.","activity_record:read":"View, and optionally write, activity records.","activity_record:read-write":"View, and optionally write, activity records.","sequence_unsubscribe:read":"View, and optionally add to, the sequence unsubscribe list.","sequence_unsubscribe:read-write":"View, and optionally add to, the sequence unsubscribe list.","email_calendar_blocklist:read":"View, and optionally manage, the addresses (email addresses and domains) whose emails and calendar events are hidden in Attio.","email_calendar_blocklist:read-write":"View, and optionally manage, the addresses (email addresses and domains) whose emails and calendar events are hidden in Attio.","view:read":"View, and optionally manage, the saved views of objects and lists, with their filters, sorts and shown attributes.","view:read-write":"View, and optionally manage, the saved views of objects and lists, with their filters, sorts and shown attributes."}}},"scopes":["record_permission:read-write","object_configuration:read"],"schemeName":"oauth2"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"This API uses OAuth 2.0 with the authorization code grant flow.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"oauth2","name":"Authorization"}],"title":"oauth2"}]},"originalFileLocation":"https://api.attio.com/openapi/standard-objects"},"subdomain":"attio","siteName":"Attio Docs","title":"Upsert a user record - Attio Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T12:57:59.828Z","originalFileLocation":"rest-api/endpoint-reference/users/upsert-a-user-record.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Use this endpoint to create or update user records, using a matching attribute to search for existing users (for example the primary_email_address attribute). If a user is found with the same value for the matching attribute, that user will be updated, otherwise a new user will be created instead. If the matching attribute is a multiselect attribute, new values will be added and existing values will not be deleted. For any other multiselect attribute, all values will be either created or deleted as necessary to match the list of supplied values. Required scopes: record_permission:read-write, object_configuration:read. Supported token levels: workspace, user.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Attio Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/attio/tuL1-j3wTEWKOtgw/_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/attio/tuL1-j3wTEWKOtgw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/attio/tuL1-j3wTEWKOtgw/_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/attio/tuL1-j3wTEWKOtgw/_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/attio/tuL1-j3wTEWKOtgw/_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/attio/tuL1-j3wTEWKOtgw/_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/attio/tuL1-j3wTEWKOtgw/_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/attio/tuL1-j3wTEWKOtgw/_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/attio/tuL1-j3wTEWKOtgw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Upsert a user record - Attio Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Use this endpoint to create or update user records, using a matching attribute to search for existing users (for example the primary_email_address attribute). If a user is found with the same value for the matching attribute, that user will be updated, otherwise a new user will be created instead. If the matching attribute is a multiselect attribute, new values will be added and existing values will not be deleted. For any other multiselect attribute, all values will be either created or deleted as necessary to match the list of supplied values. Required scopes: record_permission:read-write, object_configuration:read. Supported token levels: workspace, user.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Attio Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.attio.com/rest-api/endpoint-reference/users/upsert-a-user-record\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://attio.mintlify.site/_mintlify/api/og/v2?division=Users\u0026amp;title=Upsert+a+user+record\u0026amp;description=Use+this+endpoint+to+create+or+update+user+records%2C+using+a+matching+attribute+to+search+for+existing+users+%28for+example+the+%60primary_email_address%60+attribute%29.\u0026amp;theme=b65e792f04e0c661de294233\u0026amp;signature=71a96d1e1707bfc535340de18354b2f6bb5be7bc8f145a15a9d99a4f6922a630\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Upsert a user record - Attio Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Use this endpoint to create or update user records, using a matching attribute to search for existing users (for example the primary_email_address attribute). If a user is found with the same value for the matching attribute, that user will be updated, otherwise a new user will be created instead. If the matching attribute is a multiselect attribute, new values will be added and existing values will not be deleted. For any other multiselect attribute, all values will be either created or deleted as necessary to match the list of supplied values. Required scopes: record_permission:read-write, object_configuration:read. Supported token levels: workspace, user.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://attio.mintlify.site/_mintlify/api/og/v2?division=Users\u0026amp;title=Upsert+a+user+record\u0026amp;description=Use+this+endpoint+to+create+or+update+user+records%2C+using+a+matching+attribute+to+search+for+existing+users+%28for+example+the+%60primary_email_address%60+attribute%29.\u0026amp;theme=b65e792f04e0c661de294233\u0026amp;signature=71a96d1e1707bfc535340de18354b2f6bb5be7bc8f145a15a9d99a4f6922a630\">\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/attio/tuL1-j3wTEWKOtgw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Attio Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3b6be8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.attio.com/rest-api/endpoint-reference/users/upsert-a-user-record\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/rest-api/endpoint-reference/users/upsert-a-user-record.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.attio.com/#organization\",\"name\":\"Attio Docs\",\"url\":\"https://docs.attio.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/attio/uDPxmqB0ooRQJQ39/logo/light.svg?fit=max\u0026auto=format\u0026n=uDPxmqB0ooRQJQ39\u0026q=85\u0026s=9af1b9c979be94d84881d4779d7eb31f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.attio.com#website\",\"name\":\"Attio Docs\",\"url\":\"https://docs.attio.com\",\"publisher\":{\"@id\":\"https://docs.attio.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.attio.com/rest-api/endpoint-reference/users/upsert-a-user-record#webpage\",\"url\":\"https://docs.attio.com/rest-api/endpoint-reference/users/upsert-a-user-record\",\"name\":\"Upsert a user record\",\"description\":\"Use this endpoint to create or update user records, using a matching attribute to search for existing users (for example the primary_email_address attribute). If a user is found with the same value for the matching attribute, that user will be updated, otherwise a new user will be created instead. If the matching attribute is a multiselect attribute, new values will be added and existing values will not be deleted. For any other multiselect attribute, all values will be either created or deleted as necessary to match the list of supplied values. Required scopes: record_permission:read-write, object_configuration:read. Supported token levels: workspace, user.\",\"dateModified\":\"2026-11-06T12:57:59.828Z\",\"isPartOf\":{\"@id\":\"https://docs.attio.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.attio.com/rest-api/endpoint-reference/users/upsert-a-user-record#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.attio.com/rest-api/endpoint-reference/users/upsert-a-user-record#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoint reference\",\"item\":\"https://docs.attio.com/rest-api/endpoint-reference/openapi\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Standard objects\",\"item\":\"https://docs.attio.com/rest-api/endpoint-reference/people/list-person-records\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Users\",\"item\":\"https://docs.attio.com/rest-api/endpoint-reference/users/list-user-records\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Upsert a user record\",\"item\":\"https://docs.attio.com/rest-api/endpoint-reference/users/upsert-a-user-record\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.attio.com/rest-api/endpoint-reference/users/upsert-a-user-record#apireference\",\"headline\":\"Upsert a user record\",\"name\":\"Upsert a user record\",\"description\":\"Use this endpoint to create or update user records, using a matching attribute to search for existing users (for example the primary_email_address attribute). If a user is found with the same value for the matching attribute, that user will be updated, otherwise a new user will be created instead. If the matching attribute is a multiselect attribute, new values will be added and existing values will not be deleted. For any other multiselect attribute, all values will be either created or deleted as necessary to match the list of supplied values. Required scopes: record_permission:read-write, object_configuration:read. Supported token levels: workspace, user.\",\"url\":\"https://docs.attio.com/rest-api/endpoint-reference/users/upsert-a-user-record\",\"mainEntityOfPage\":{\"@id\":\"https://docs.attio.com/rest-api/endpoint-reference/users/upsert-a-user-record#webpage\"},\"dateModified\":\"2026-11-06T12:57:59.828Z\",\"publisher\":{\"@id\":\"https://docs.attio.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.attio.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Attio Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Attio Docs","nav":{"global":{"anchors":[{"anchor":"Developer console","icon":"terminal","href":"https://build.attio.com/"},{"anchor":"Support","icon":"headset","href":"https://attio.com/help"}]},"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/docs/overview"}]},{"tab":"App SDK","pages":[{"title":"App SDK","href":"/sdk/overview"}]},{"tab":"REST API","groups":[{"group":"Introduction","pages":[{"title":"Overview","href":"/rest-api/overview"}]},{"group":"Guides","pages":[{"title":"Authenticating requests","href":"/rest-api/guides/authentication"},{"title":"Handling rate limits","href":"/rest-api/guides/rate-limiting"},{"title":"Filtering and sorting","href":"/rest-api/guides/filtering-and-sorting"},{"title":"Linking referenced records","href":"/rest-api/guides/linking-referenced-records"},{"title":"Paginating API results","href":"/rest-api/guides/pagination"},{"title":"Configuring webhooks","href":"/rest-api/guides/webhooks"},{"title":"Working with activities","href":"/rest-api/guides/activities"}]},{"group":"Tutorials","pages":[{"title":"Connect an app to Attio through OAuth","href":"/rest-api/tutorials/connect-an-app-through-oauth"}]},{"group":"Attribute types","pages":[{"title":"Overview","href":"/rest-api/attribute-types/attribute-types"},{"title":"Actor reference","href":"/rest-api/attribute-types/attribute-types-actor-reference"},{"title":"Checkbox","href":"/rest-api/attribute-types/attribute-types-checkbox"},{"title":"Currency","href":"/rest-api/attribute-types/attribute-types-currency"},{"title":"Date","href":"/rest-api/attribute-types/attribute-types-date"},{"title":"Domain","href":"/rest-api/attribute-types/attribute-types-domain"},{"title":"Email address","href":"/rest-api/attribute-types/attribute-types-email-address"},{"title":"Interaction","href":"/rest-api/attribute-types/attribute-types-interaction"},{"title":"Location","href":"/rest-api/attribute-types/attribute-types-location"},{"title":"(Personal) name","href":"/rest-api/attribute-types/attribute-types-personal-name"},{"title":"Number","href":"/rest-api/attribute-types/attribute-types-number"},{"title":"Phone number","href":"/rest-api/attribute-types/attribute-types-phone-number"},{"title":"Rating","href":"/rest-api/attribute-types/attribute-types-rating"},{"title":"Record reference","href":"/rest-api/attribute-types/attribute-types-record-reference"},{"title":"Select","href":"/rest-api/attribute-types/attribute-types-select"},{"title":"Status","href":"/rest-api/attribute-types/attribute-types-status"},{"title":"Text","href":"/rest-api/attribute-types/attribute-types-text"},{"title":"Timestamp","href":"/rest-api/attribute-types/attribute-types-timestamp"}]},{"group":"Endpoint reference","pages":[{"title":"OpenAPI","href":"/rest-api/endpoint-reference/openapi"},{"group":"Core endpoints","pages":[{"group":"Objects","pages":[{"title":"List objects","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/objects","href":"/rest-api/endpoint-reference/objects/list-objects"},{"title":"Create an object","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api post /v2/objects","href":"/rest-api/endpoint-reference/objects/create-an-object"},{"title":"Get an object","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/objects/{object}","href":"/rest-api/endpoint-reference/objects/get-an-object"},{"title":"Delete an object","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api delete /v2/objects/{object}","href":"/rest-api/endpoint-reference/objects/delete-an-object"},{"title":"Update an object","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api patch /v2/objects/{object}","href":"/rest-api/endpoint-reference/objects/update-an-object"},{"title":"List views for object","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/objects/{object}/views","href":"/rest-api/endpoint-reference/objects/list-views-for-object"}]},{"group":"Activities","pages":[{"title":"List activities","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api get /v2/activities","href":"/rest-api/endpoint-reference/activities/list-activities"},{"title":"Create an activity","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api post /v2/activities","href":"/rest-api/endpoint-reference/activities/create-an-activity"},{"title":"Get an activity","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api get /v2/activities/{activity}","href":"/rest-api/endpoint-reference/activities/get-an-activity"},{"title":"Delete an activity","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api delete /v2/activities/{activity}","href":"/rest-api/endpoint-reference/activities/delete-an-activity"},{"title":"Update an activity","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api patch /v2/activities/{activity}","href":"/rest-api/endpoint-reference/activities/update-an-activity"}]},{"group":"Attributes","pages":[{"title":"List attributes","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/{target}/{identifier}/attributes","href":"/rest-api/endpoint-reference/attributes/list-attributes"},{"title":"Create an attribute","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api post /v2/{target}/{identifier}/attributes","href":"/rest-api/endpoint-reference/attributes/create-an-attribute"},{"title":"Get an attribute","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/{target}/{identifier}/attributes/{attribute}","href":"/rest-api/endpoint-reference/attributes/get-an-attribute"},{"title":"Update an attribute","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api patch /v2/{target}/{identifier}/attributes/{attribute}","href":"/rest-api/endpoint-reference/attributes/update-an-attribute"},{"title":"List select options","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/{target}/{identifier}/attributes/{attribute}/options","href":"/rest-api/endpoint-reference/attributes/list-select-options"},{"title":"Create a select option","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api post /v2/{target}/{identifier}/attributes/{attribute}/options","href":"/rest-api/endpoint-reference/attributes/create-a-select-option"},{"title":"Update a select option","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api patch /v2/{target}/{identifier}/attributes/{attribute}/options/{option}","href":"/rest-api/endpoint-reference/attributes/update-a-select-option"},{"title":"List statuses","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/{target}/{identifier}/attributes/{attribute}/statuses","href":"/rest-api/endpoint-reference/attributes/list-statuses"},{"title":"Create a status","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api post /v2/{target}/{identifier}/attributes/{attribute}/statuses","href":"/rest-api/endpoint-reference/attributes/create-a-status"},{"title":"Update a status","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api patch /v2/{target}/{identifier}/attributes/{attribute}/statuses/{status}","href":"/rest-api/endpoint-reference/attributes/update-a-status"}]},{"group":"Records","pages":[{"title":"List records","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api post /v2/objects/{object}/records/query","href":"/rest-api/endpoint-reference/records/list-records"},{"title":"Upsert a record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api put /v2/objects/{object}/records","href":"/rest-api/endpoint-reference/records/upsert-a-record"},{"title":"Create a record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api post /v2/objects/{object}/records","href":"/rest-api/endpoint-reference/records/create-a-record"},{"title":"Get a record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/objects/{object}/records/{record_id}","href":"/rest-api/endpoint-reference/records/get-a-record"},{"title":"Update a record (overwrite multiselect values)","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api put /v2/objects/{object}/records/{record_id}","href":"/rest-api/endpoint-reference/records/update-a-record-overwrite-multiselect-values"},{"title":"Delete a record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api delete /v2/objects/{object}/records/{record_id}","href":"/rest-api/endpoint-reference/records/delete-a-record"},{"title":"Update a record (append multiselect values)","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api patch /v2/objects/{object}/records/{record_id}","href":"/rest-api/endpoint-reference/records/update-a-record-append-multiselect-values"},{"title":"Merge two records","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api post /v2/objects/{object}/records/merge","href":"/rest-api/endpoint-reference/records/merge-two-records"},{"title":"List record attribute values","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/objects/{object}/records/{record_id}/attributes/{attribute}/values","href":"/rest-api/endpoint-reference/records/list-record-attribute-values"},{"title":"Write record attribute values","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api put /v2/objects/{object}/records/{record_id}/attributes/{attribute}/values","href":"/rest-api/endpoint-reference/records/write-record-attribute-values"},{"title":"List record entries","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/objects/{object}/records/{record_id}/entries","href":"/rest-api/endpoint-reference/records/list-record-entries"},{"title":"Search records","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api post /v2/objects/records/search","href":"/rest-api/endpoint-reference/records/search-records"}]},{"group":"Activity records","pages":[{"title":"List activity records","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api post /v2/activities/{activity}/records/query","href":"/rest-api/endpoint-reference/activity-records/list-activity-records"},{"title":"Upsert an activity record","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api put /v2/activities/{activity}/records","href":"/rest-api/endpoint-reference/activity-records/upsert-an-activity-record"},{"title":"Create an activity record","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api post /v2/activities/{activity}/records","href":"/rest-api/endpoint-reference/activity-records/create-an-activity-record"},{"title":"Get an activity record","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api get /v2/activities/{activity}/records/{record_id}","href":"/rest-api/endpoint-reference/activity-records/get-an-activity-record"},{"title":"Update an activity record (overwrite multiselect values)","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api put /v2/activities/{activity}/records/{record_id}","href":"/rest-api/endpoint-reference/activity-records/update-an-activity-record-overwrite-multiselect-values"},{"title":"Delete an activity record","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api delete /v2/activities/{activity}/records/{record_id}","href":"/rest-api/endpoint-reference/activity-records/delete-an-activity-record"},{"title":"Update an activity record (append multiselect values)","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api patch /v2/activities/{activity}/records/{record_id}","href":"/rest-api/endpoint-reference/activity-records/update-an-activity-record-append-multiselect-values"}]},{"group":"SQL","pages":[{"title":"Query SQL","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api post /v2/sql","href":"/rest-api/endpoint-reference/sql/query-sql"}]},{"group":"Lists","pages":[{"title":"List all lists","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/lists","href":"/rest-api/endpoint-reference/lists/list-all-lists"},{"title":"Create a list","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api post /v2/lists","href":"/rest-api/endpoint-reference/lists/create-a-list"},{"title":"Get a list","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/lists/{list}","href":"/rest-api/endpoint-reference/lists/get-a-list"},{"title":"Update a list","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api patch /v2/lists/{list}","href":"/rest-api/endpoint-reference/lists/update-a-list"},{"title":"List views for list","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/lists/{list}/views","href":"/rest-api/endpoint-reference/lists/list-views-for-list"}]},{"group":"Entries","pages":[{"title":"List entries","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api post /v2/lists/{list}/entries/query","href":"/rest-api/endpoint-reference/entries/list-entries"},{"title":"Upsert a list entry by parent","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api put /v2/lists/{list}/entries","href":"/rest-api/endpoint-reference/entries/upsert-a-list-entry-by-parent"},{"title":"Create an entry (add record to list)","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api post /v2/lists/{list}/entries","href":"/rest-api/endpoint-reference/entries/create-an-entry-add-record-to-list"},{"title":"Get a list entry","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/lists/{list}/entries/{entry_id}","href":"/rest-api/endpoint-reference/entries/get-a-list-entry"},{"title":"Update a list entry (overwrite multiselect values)","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api put /v2/lists/{list}/entries/{entry_id}","href":"/rest-api/endpoint-reference/entries/update-a-list-entry-overwrite-multiselect-values"},{"title":"Delete a list entry","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api delete /v2/lists/{list}/entries/{entry_id}","href":"/rest-api/endpoint-reference/entries/delete-a-list-entry"},{"title":"Update a list entry (append multiselect values)","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api patch /v2/lists/{list}/entries/{entry_id}","href":"/rest-api/endpoint-reference/entries/update-a-list-entry-append-multiselect-values"},{"title":"List attribute values for a list entry","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/lists/{list}/entries/{entry_id}/attributes/{attribute}/values","href":"/rest-api/endpoint-reference/entries/list-attribute-values-for-a-list-entry"},{"title":"Write list entry attribute values","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api put /v2/lists/{list}/entries/{entry_id}/attributes/{attribute}/values","href":"/rest-api/endpoint-reference/entries/write-list-entry-attribute-values"}]},{"group":"Workspace members","pages":[{"title":"List workspace members","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/workspace_members","href":"/rest-api/endpoint-reference/workspace-members/list-workspace-members"},{"title":"Get a workspace member","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/workspace_members/{workspace_member_id}","href":"/rest-api/endpoint-reference/workspace-members/get-a-workspace-member"}]},{"group":"Notes","pages":[{"title":"List notes","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/notes","href":"/rest-api/endpoint-reference/notes/list-notes"},{"title":"Create a note","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api post /v2/notes","href":"/rest-api/endpoint-reference/notes/create-a-note"},{"title":"Get a note","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/notes/{note_id}","href":"/rest-api/endpoint-reference/notes/get-a-note"},{"title":"Delete a note","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api delete /v2/notes/{note_id}","href":"/rest-api/endpoint-reference/notes/delete-a-note"},{"title":"Update a note","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api patch /v2/notes/{note_id}","href":"/rest-api/endpoint-reference/notes/update-a-note"}]},{"group":"Tasks","pages":[{"title":"List tasks","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/tasks","href":"/rest-api/endpoint-reference/tasks/list-tasks"},{"title":"Create a task","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api post /v2/tasks","href":"/rest-api/endpoint-reference/tasks/create-a-task"},{"title":"Get a task","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/tasks/{task_id}","href":"/rest-api/endpoint-reference/tasks/get-a-task"},{"title":"Delete a task","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api delete /v2/tasks/{task_id}","href":"/rest-api/endpoint-reference/tasks/delete-a-task"},{"title":"Update a task","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api patch /v2/tasks/{task_id}","href":"/rest-api/endpoint-reference/tasks/update-a-task"}]},{"group":"Threads","pages":[{"title":"List threads","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/threads","href":"/rest-api/endpoint-reference/threads/list-threads"},{"title":"Get a thread and its comments","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/threads/{thread_id}","href":"/rest-api/endpoint-reference/threads/get-a-thread-and-its-comments"}]},{"group":"Comments","pages":[{"title":"Create a comment","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api post /v2/comments","href":"/rest-api/endpoint-reference/comments/create-a-comment"},{"title":"Get a comment","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/comments/{comment_id}","href":"/rest-api/endpoint-reference/comments/get-a-comment"},{"title":"Delete a comment","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api delete /v2/comments/{comment_id}","href":"/rest-api/endpoint-reference/comments/delete-a-comment"}]},{"group":"Emails","pages":[{"title":"List emails","deprecated":null,"version":null,"tag":"ALPHA","openapi":"https://api.attio.com/openapi/api get /v2/emails","href":"/rest-api/endpoint-reference/emails/list-emails"}]},{"group":"Sequences","pages":[{"title":"Add emails to the unsubscribe list","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api post /v2/sequences/unsubscribed_emails","href":"/rest-api/endpoint-reference/sequences/add-emails-to-the-unsubscribe-list"}]},{"group":"Workspace blocklist","pages":[{"title":"List workspace blocklist addresses","deprecated":null,"version":null,"tag":"ALPHA","openapi":"https://api.attio.com/openapi/api get /v2/workspace_blocklist_addresses","href":"/rest-api/endpoint-reference/workspace-blocklist/list-workspace-blocklist-addresses"},{"title":"Add or update workspace blocklist addresses","deprecated":null,"version":null,"tag":"ALPHA","openapi":"https://api.attio.com/openapi/api put /v2/workspace_blocklist_addresses","href":"/rest-api/endpoint-reference/workspace-blocklist/add-or-update-workspace-blocklist-addresses"},{"title":"Delete a workspace blocklist address","deprecated":null,"version":null,"tag":"ALPHA","openapi":"https://api.attio.com/openapi/api delete /v2/workspace_blocklist_addresses/{address}","href":"/rest-api/endpoint-reference/workspace-blocklist/delete-a-workspace-blocklist-address"}]},{"group":"Meetings","pages":[{"title":"List meetings","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api get /v2/meetings","href":"/rest-api/endpoint-reference/meetings/list-meetings"},{"title":"Create a meeting","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api post /v2/meetings","href":"/rest-api/endpoint-reference/meetings/create-a-meeting"},{"title":"Get a meeting","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api get /v2/meetings/{meeting_id}","href":"/rest-api/endpoint-reference/meetings/get-a-meeting"},{"title":"Update a meeting (overwrite linked records)","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api put /v2/meetings/{meeting_id}","href":"/rest-api/endpoint-reference/meetings/update-a-meeting-overwrite-linked-records"},{"title":"Delete a meeting","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api delete /v2/meetings/{meeting_id}","href":"/rest-api/endpoint-reference/meetings/delete-a-meeting"},{"title":"Update a meeting (append linked records)","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api patch /v2/meetings/{meeting_id}","href":"/rest-api/endpoint-reference/meetings/update-a-meeting-append-linked-records"}]},{"group":"Call recordings","pages":[{"title":"List call recordings","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api get /v2/meetings/{meeting_id}/call_recordings","href":"/rest-api/endpoint-reference/call-recordings/list-call-recordings"},{"title":"Create call recording","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api post /v2/meetings/{meeting_id}/call_recordings","href":"/rest-api/endpoint-reference/call-recordings/create-call-recording"},{"title":"Get call recording","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api get /v2/meetings/{meeting_id}/call_recordings/{call_recording_id}","href":"/rest-api/endpoint-reference/call-recordings/get-call-recording"},{"title":"Delete call recording","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api delete /v2/meetings/{meeting_id}/call_recordings/{call_recording_id}","href":"/rest-api/endpoint-reference/call-recordings/delete-call-recording"}]},{"group":"Transcripts","pages":[]},{"group":"Files","pages":[{"title":"List files","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api get /v2/files","href":"/rest-api/endpoint-reference/files/list-files"},{"title":"Create a folder","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api post /v2/files","href":"/rest-api/endpoint-reference/files/create-a-folder"},{"title":"Upload a file","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api post /v2/files/upload","href":"/rest-api/endpoint-reference/files/upload-a-file"},{"title":"Get a file","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api get /v2/files/{file_id}","href":"/rest-api/endpoint-reference/files/get-a-file"},{"title":"Delete a file","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api delete /v2/files/{file_id}","href":"/rest-api/endpoint-reference/files/delete-a-file"},{"title":"Download a file","deprecated":null,"version":null,"tag":"BETA","openapi":"https://api.attio.com/openapi/api get /v2/files/{file_id}/download","href":"/rest-api/endpoint-reference/files/download-a-file"}]},{"group":"Webhooks","pages":[{"title":"List webhooks","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/webhooks","href":"/rest-api/endpoint-reference/webhooks/list-webhooks"},{"title":"Create a webhook","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api post /v2/webhooks","href":"/rest-api/endpoint-reference/webhooks/create-a-webhook"},{"title":"Get a webhook","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/webhooks/{webhook_id}","href":"/rest-api/endpoint-reference/webhooks/get-a-webhook"},{"title":"Delete a webhook","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api delete /v2/webhooks/{webhook_id}","href":"/rest-api/endpoint-reference/webhooks/delete-a-webhook"},{"title":"Update a webhook","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api patch /v2/webhooks/{webhook_id}","href":"/rest-api/endpoint-reference/webhooks/update-a-webhook"}]},{"group":"Meta","pages":[{"title":"Identify","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/api get /v2/self","href":"/rest-api/endpoint-reference/meta/identify"}]}]},{"group":"Standard objects","pages":[{"group":"People","pages":[{"title":"List person records ","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects post /v2/objects/people/records/query","href":"/rest-api/endpoint-reference/people/list-person-records"},{"title":"Upsert a person record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects put /v2/objects/people/records","href":"/rest-api/endpoint-reference/people/upsert-a-person-record"},{"title":"Create a person Record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects post /v2/objects/people/records","href":"/rest-api/endpoint-reference/people/create-a-person-record"},{"title":"Get a person Record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects get /v2/objects/people/records/{record_id}","href":"/rest-api/endpoint-reference/people/get-a-person-record"},{"title":"Delete a person Record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects delete /v2/objects/people/records/{record_id}","href":"/rest-api/endpoint-reference/people/delete-a-person-record"},{"title":"Update a person Record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects patch /v2/objects/people/records/{record_id}","href":"/rest-api/endpoint-reference/people/update-a-person-record"},{"title":"List person record attribute values","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects get /v2/objects/people/records/{record_id}/attributes/{attribute}/values","href":"/rest-api/endpoint-reference/people/list-person-record-attribute-values"},{"title":"List person record entries","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects get /v2/objects/people/records/{record_id}/entries","href":"/rest-api/endpoint-reference/people/list-person-record-entries"}]},{"group":"Companies","pages":[{"title":"List company records","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects post /v2/objects/companies/records/query","href":"/rest-api/endpoint-reference/companies/list-company-records"},{"title":"Upsert a company record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects put /v2/objects/companies/records","href":"/rest-api/endpoint-reference/companies/upsert-a-company-record"},{"title":"Create a company record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects post /v2/objects/companies/records","href":"/rest-api/endpoint-reference/companies/create-a-company-record"},{"title":"Get a company record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects get /v2/objects/companies/records/{record_id}","href":"/rest-api/endpoint-reference/companies/get-a-company-record"},{"title":"Delete a company record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects delete /v2/objects/companies/records/{record_id}","href":"/rest-api/endpoint-reference/companies/delete-a-company-record"},{"title":"Update a company record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects patch /v2/objects/companies/records/{record_id}","href":"/rest-api/endpoint-reference/companies/update-a-company-record"},{"title":"List company record attribute values","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects get /v2/objects/companies/records/{record_id}/attributes/{attribute}/values","href":"/rest-api/endpoint-reference/companies/list-company-record-attribute-values"},{"title":"List company record entries","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects get /v2/objects/companies/records/{record_id}/entries","href":"/rest-api/endpoint-reference/companies/list-company-record-entries"}]},{"group":"Users","pages":[{"title":"List user records","description":"Lists user records, with the option to filter and sort results.\n\nRequired scopes: `record_permission:read`, `object_configuration:read`.\n\nSupported token levels: `workspace`, `user`.","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects post /v2/objects/users/records/query","href":"/rest-api/endpoint-reference/users/list-user-records"},{"title":"Upsert a user record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects put /v2/objects/users/records","href":"/rest-api/endpoint-reference/users/upsert-a-user-record"},{"title":"Create a user record","description":"Creates a new user record. This endpoint will throw on conflicts of unique attributes, like `primary_email_address`. If you would prefer to update user records on conflicts, please use the Assert user record endpoint instead.\n\nRequired scopes: `record_permission:read-write`, `object_configuration:read`.\n\nSupported token levels: `workspace`, `user`.","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects post /v2/objects/users/records","href":"/rest-api/endpoint-reference/users/create-a-user-record"},{"title":"Get a user record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects get /v2/objects/users/records/{record_id}","href":"/rest-api/endpoint-reference/users/get-a-user-record"},{"title":"Delete a user record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects delete /v2/objects/users/records/{record_id}","href":"/rest-api/endpoint-reference/users/delete-a-user-record"},{"title":"Update a user Record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects patch /v2/objects/users/records/{record_id}","href":"/rest-api/endpoint-reference/users/update-a-user-record"},{"title":"List user record attribute values","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects get /v2/objects/users/records/{record_id}/attributes/{attribute}/values","href":"/rest-api/endpoint-reference/users/list-user-record-attribute-values"},{"title":"List user record entries","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects get /v2/objects/users/records/{record_id}/entries","href":"/rest-api/endpoint-reference/users/list-user-record-entries"}]},{"group":"Deals","pages":[{"title":"Upsert a deal record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects put /v2/objects/deals/records","href":"/rest-api/endpoint-reference/deals/upsert-a-deal-record"},{"title":"Create a deal record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects post /v2/objects/deals/records","href":"/rest-api/endpoint-reference/deals/create-a-deal-record"},{"title":"Get a deal record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects get /v2/objects/deals/records/{record_id}","href":"/rest-api/endpoint-reference/deals/get-a-deal-record"},{"title":"Delete a deal record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects delete /v2/objects/deals/records/{record_id}","href":"/rest-api/endpoint-reference/deals/delete-a-deal-record"},{"title":"Update a deal record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects patch /v2/objects/deals/records/{record_id}","href":"/rest-api/endpoint-reference/deals/update-a-deal-record"},{"title":"List deal record attribute values","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects get /v2/objects/deals/records/{record_id}/attributes/{attribute}/values","href":"/rest-api/endpoint-reference/deals/list-deal-record-attribute-values"},{"title":"List deal record entries","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects get /v2/objects/deals/records/{record_id}/entries","href":"/rest-api/endpoint-reference/deals/list-deal-record-entries"},{"title":"List deal records","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects post /v2/objects/deals/records/query","href":"/rest-api/endpoint-reference/deals/list-deal-records"}]},{"group":"Workspaces","pages":[{"title":"Upsert a workspace record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects put /v2/objects/workspaces/records","href":"/rest-api/endpoint-reference/workspaces/upsert-a-workspace-record"},{"title":"Create a workspace record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects post /v2/objects/workspaces/records","href":"/rest-api/endpoint-reference/workspaces/create-a-workspace-record"},{"title":"Get a workspace record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects get /v2/objects/workspaces/records/{record_id}","href":"/rest-api/endpoint-reference/workspaces/get-a-workspace-record"},{"title":"Delete a workspace record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects delete /v2/objects/workspaces/records/{record_id}","href":"/rest-api/endpoint-reference/workspaces/delete-a-workspace-record"},{"title":"Update a workspace Record","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects patch /v2/objects/workspaces/records/{record_id}","href":"/rest-api/endpoint-reference/workspaces/update-a-workspace-record"},{"title":"List workspace record attribute values","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects get /v2/objects/workspaces/records/{record_id}/attributes/{attribute}/values","href":"/rest-api/endpoint-reference/workspaces/list-workspace-record-attribute-values"},{"title":"List workspace record entries","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects get /v2/objects/workspaces/records/{record_id}/entries","href":"/rest-api/endpoint-reference/workspaces/list-workspace-record-entries"},{"title":"List workspace records","deprecated":null,"version":null,"openapi":"https://api.attio.com/openapi/standard-objects post /v2/objects/workspaces/records/query","href":"/rest-api/endpoint-reference/workspaces/list-workspace-records"}]}]},{"group":"SCIM 2.0","pages":[{"title":"List SCIM schemas","api":"GET https://api.attio.com/scim/v2/Schemas","href":"/rest-api/scim/list-schemas"},{"group":"Users","pages":[{"title":"Create a SCIM user","api":"POST https://api.attio.com/scim/v2/Users","href":"/rest-api/scim/create-user"},{"title":"Get a SCIM user","api":"GET https://api.attio.com/scim/v2/Users/{user_id}","href":"/rest-api/scim/get-user-by-id"},{"title":"List SCIM users","api":"GET https://api.attio.com/scim/v2/Users","href":"/rest-api/scim/list-users"},{"title":"Update a SCIM user","api":"PUT https://api.attio.com/scim/v2/Users/{user_id}","href":"/rest-api/scim/update-user"},{"title":"Patch a SCIM user","api":"PATCH https://api.attio.com/scim/v2/Users/{user_id}","href":"/rest-api/scim/patch-user"},{"title":"Delete a SCIM user","api":"DELETE https://api.attio.com/scim/v2/Users/{user_id}","href":"/rest-api/scim/delete-user"}]},{"group":"Groups","pages":[{"title":"Create a SCIM group","api":"POST https://api.attio.com/scim/v2/Groups","href":"/rest-api/scim/create-group"},{"title":"Get a SCIM group","api":"GET https://api.attio.com/scim/v2/Groups/{workspace_team_id}","href":"/rest-api/scim/get-group-by-id"},{"title":"List SCIM groups","api":"GET https://api.attio.com/scim/v2/Groups","href":"/rest-api/scim/list-groups"},{"title":"Update a SCIM group","api":"PUT https://api.attio.com/scim/v2/Groups/{workspace_team_id}","href":"/rest-api/scim/update-group"},{"title":"Patch a SCIM group","api":"PATCH https://api.attio.com/scim/v2/Groups/{workspace_team_id}","href":"/rest-api/scim/patch-group"},{"title":"Delete a SCIM group","api":"DELETE https://api.attio.com/scim/v2/Groups/{workspace_team_id}","href":"/rest-api/scim/delete-group"}]}]},{"group":"OAuth 2.0","pages":[{"title":"Authorize","api":"GET https://app.attio.com/authorize","href":"/docs/oauth/authorize"},{"title":"Token","api":"POST https://app.attio.com/oauth/token","href":"/docs/oauth/token"},{"title":"Introspect","api":"POST https://app.attio.com/oauth/introspect","href":"/docs/oauth/introspect"},{"title":"Revoke","api":"POST https://app.attio.com/oauth/revoke","href":"/docs/oauth/revoke"}]}]},{"group":"Webhook reference","pages":[{"group":"Activity events","pages":[{"title":"Activity created","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook activity.created","href":"/rest-api/webhook-reference/activity-events/activitycreated"},{"title":"Activity updated","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook activity.updated","href":"/rest-api/webhook-reference/activity-events/activityupdated"},{"title":"Activity deleted","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook activity.deleted","href":"/rest-api/webhook-reference/activity-events/activitydeleted"}]},{"group":"Activity attribute events","pages":[{"title":"Activity attribute created","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook activity-attribute.created","href":"/rest-api/webhook-reference/activity-attribute-events/activity-attributecreated"},{"title":"Activity attribute updated","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook activity-attribute.updated","href":"/rest-api/webhook-reference/activity-attribute-events/activity-attributeupdated"}]},{"group":"Activity record events","pages":[{"title":"Activity record created","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook activity-record.created","href":"/rest-api/webhook-reference/activity-record-events/activity-recordcreated"},{"title":"Activity record deleted","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook activity-record.deleted","href":"/rest-api/webhook-reference/activity-record-events/activity-recorddeleted"}]},{"group":"Call recording events","pages":[{"title":"Call recording created","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook call-recording.created","href":"/rest-api/webhook-reference/call-recording-events/call-recordingcreated"}]},{"group":"Comment events","pages":[{"title":"Comment created","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook comment.created","href":"/rest-api/webhook-reference/comment-events/commentcreated"},{"title":"Comment resolved","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook comment.resolved","href":"/rest-api/webhook-reference/comment-events/commentresolved"},{"title":"Comment unresolved","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook comment.unresolved","href":"/rest-api/webhook-reference/comment-events/commentunresolved"},{"title":"Comment deleted","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook comment.deleted","href":"/rest-api/webhook-reference/comment-events/commentdeleted"}]},{"group":"List events","pages":[{"title":"List created","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook list.created","href":"/rest-api/webhook-reference/list-events/listcreated"},{"title":"List updated","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook list.updated","href":"/rest-api/webhook-reference/list-events/listupdated"},{"title":"List deleted","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook list.deleted","href":"/rest-api/webhook-reference/list-events/listdeleted"}]},{"group":"List attribute events","pages":[{"title":"List attribute created","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook list-attribute.created","href":"/rest-api/webhook-reference/list-attribute-events/list-attributecreated"},{"title":"List attribute updated","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook list-attribute.updated","href":"/rest-api/webhook-reference/list-attribute-events/list-attributeupdated"}]},{"group":"List entry events","pages":[{"title":"List entry created","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook list-entry.created","href":"/rest-api/webhook-reference/list-entry-events/list-entrycreated"},{"title":"List entry updated","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook list-entry.updated","href":"/rest-api/webhook-reference/list-entry-events/list-entryupdated"},{"title":"List entry deleted","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook list-entry.deleted","href":"/rest-api/webhook-reference/list-entry-events/list-entrydeleted"}]},{"group":"Object attribute events","pages":[{"title":"Object attribute created","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook object-attribute.created","href":"/rest-api/webhook-reference/object-attribute-events/object-attributecreated"},{"title":"Object attribute updated","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook object-attribute.updated","href":"/rest-api/webhook-reference/object-attribute-events/object-attributeupdated"}]},{"group":"Note events","pages":[{"title":"Note created","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook note.created","href":"/rest-api/webhook-reference/note-events/notecreated"},{"title":"Note updated","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook note.updated","href":"/rest-api/webhook-reference/note-events/noteupdated"},{"title":"Note deleted","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook note.deleted","href":"/rest-api/webhook-reference/note-events/notedeleted"}]},{"group":"Note content events","pages":[{"title":"Note content updated","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook note-content.updated","href":"/rest-api/webhook-reference/note-content-events/note-contentupdated"}]},{"group":"Record events","pages":[{"title":"Record created","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook record.created","href":"/rest-api/webhook-reference/record-events/recordcreated"},{"title":"Record merged","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook record.merged","href":"/rest-api/webhook-reference/record-events/recordmerged"},{"title":"Record updated","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook record.updated","href":"/rest-api/webhook-reference/record-events/recordupdated"},{"title":"Record deleted","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook record.deleted","href":"/rest-api/webhook-reference/record-events/recorddeleted"}]},{"group":"Task events","pages":[{"title":"Task created","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook task.created","href":"/rest-api/webhook-reference/task-events/taskcreated"},{"title":"Task updated","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook task.updated","href":"/rest-api/webhook-reference/task-events/taskupdated"},{"title":"Task deleted","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook task.deleted","href":"/rest-api/webhook-reference/task-events/taskdeleted"}]},{"group":"Workspace member events","pages":[{"title":"Workspace member created","version":null,"deprecated":null,"openapi":"https://api.attio.com/openapi/webhooks webhook workspace-member.created","href":"/rest-api/webhook-reference/workspace-member-events/workspace-membercreated"}]}]}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"SQL","pages":[{"title":"SQL","href":"/sql/overview"}]},{"tab":"Share","pages":[{"title":"Share","href":"/share/the-publication-lifecycle"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/app-sdk"}]}]},"basePath":"","title":"Upsert a user record - Attio Docs","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}