Skip to main content
Please find the list of acceptable values for the country field here<br/><br/>The Upsert API will adhere to the configuration defined under the “Allow Duplicate Contact” setting at the Account level. If the setting is configured to check both Email and Phone, the API will attempt to identify an existing contact based on the priority sequence specified in the setting, and will create or update the contact accordingly.<br/><br/>If two separate contacts already exist—one with the same email and another with the same phone—and an upsert request includes both the email and phone, the API will update the contact that matches the first field in the configured sequence, and ignore the second field to prevent duplication.

Autorización

string
required
Bearer token generado desde el portal Leadway. Ver Autenticación.
string
default:"2021-07-28"
required
Versión de la API.

Body

string
default:"Rosan"
string
default:"Deo"
string
default:"Rosan Deo"
string
default:"rosan@deos.com"
string
default:"ve9EPM428h8vShlRW1KT"
required
string
default:"male"
string
default:"+1 888-888-8888"
string
default:"3535 1st St N"
string
default:"Dolomite"
string
default:"AL"
string
default:"35061"
string
default:"https://www.tesla.com"
string
default:"America/Chihuahua"
boolean
default:"True"
object
object
string[]
This field will overwrite all current tags associated with the contact. To update a tags, it is recommended to use the Add Tag or Remove Tag API instead.
object[]
string
default:"public api"
object
default:"1990-09-25"
The birth date of the contact. Supported formats: YYYY/MM/DD, MM/DD/YYYY, YYYY-MM-DD, MM-DD-YYYY, YYYY.MM.DD, MM.DD.YYYY, YYYY_MM_DD, MM_DD_YYYY
string
default:"US"
string
default:"DGS VolMAX"
string
default:"y0BeYjuRIlDwsDcOHOJo"
User’s Id
boolean
default:"False"
Controls whether to create a new contact or update an existing duplicate. Scenario 1: If this value is true and the account allows duplicate contacts, a new contact will be created immediately without checking for duplicates. Scenario 2: If this value is true but the account does not allow duplicate contacts, this field is ignored and the normal upsert behavior applies: the API will search for an existing duplicate contact, update it if found, or create a new contact if not found. Scenario 3: If this value is false or not provided, the normal upsert behavior applies regardless of the account’s duplicate contact setting.

Respuestas

boolean
default:"True"
object
string

Ejemplo