Create a contact or company
lacrm_create_contactCreate a new contact (person) or company record. For a person, company_name links them to that company (creating it if needed). Company names must be unique. If assigned_to is omitted, the record is assigned to the API key's own user (one extra GetUser call). Returns { ContactId }. LACRM: CreateContact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Full name of the person, or the company's name. | |
| No | Email address(es). | ||
| phone | No | Phone number(s). | |
| address | No | Address(es). | |
| website | No | Website URL(s). | |
| birthday | No | Birthday, yyyy-mm-dd (or 0000-M-D for no year). | |
| job_title | No | Job title (people only). | |
| is_company | No | true to create a COMPANY record. Default false (a person). | |
| assigned_to | No | UserId to assign the record to. Default: the API key's user. | |
| company_name | No | For a PERSON: the company they work at (created if it does not exist). Not used for company records. | |
| custom_fields | No | Extra fields keyed by the account's field names exactly as LACRM shows them (e.g. {"Lead Source": "Referral"}). Use lacrm_list_custom_fields to find them. Merged verbatim into Parameters. | |
| background_info | No | The Background Info text. |