- LoneScale only reads the keys your mapping references. A key you send that no mapped field and no unicity criterion points at is ignored.
- A record whose keys match none of them is failed rather than silently written as a no-op, and the error lists the keys that mapping expects.
GET /crm/mapping to see exactly which of the fields below your own mapping uses, before pushing anything.
The prefix is optional. Every key below can be sent without its
lonescale_ or main_ prefix: first_name, job_title, company_domain, email, phone. Both forms work, and the bare one never overrides a prefixed key you sent explicitly.People
Contact details
Company
Company keys can be embedded on a contact record (to create or update the associated account at the same time) or sent on their own in thecompanies array.
CRM ids
Accepted aliases
Field keys are resolved before the mapping runs, so several spellings of the same field work. Without the prefix. Droplonescale_ or main_ from any key in the tables above and it still resolves: first_name, full_name, job_title, linkedin_url, department, city, country_code, company_name, company_domain, company_staff_count, email, email_status, phone, phone_region. Person and company keys stay distinct: city is the contact’s, company_city is the account’s.
From an enrich payload. You can also send our enrich output verbatim.
An alias never overwrites a key you sent explicitly.
Salesforce: Contacts or Leads
For Salesforce, the mapping also decides which object is written, exactly like in a workflow. No parameter on the request controls it:- Map the Contact section and the sync writes Contacts.
- Map only the Lead section, leaving the Contact one empty, and the sync searches your Lead unicity criteria, then updates the match or creates a Lead.
GET /crm/mapping reports this as object: "contact" or object: "lead", and returns the resolved lead mapping alongside it.
Salesforce requires
Company on Lead creation, so map it from lonescale_company_name and send that key on every record that may create a Lead.Example
lonescale_first_name, main_email and so on is equivalent.
