Create contact
suitedash_create_contactWRITE: create a CRM contact in SuiteDash. role and names are required; email is required except for a Lead. Optionally link the contact to a company by name (set create_company_if_not_exists to create it). If send_welcome_email is true SuiteDash EMAILS the contact a portal access invitation: leave it false unless the user asked for that. POST /contact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| tags | No | Tags (replaces the record's tag list). | |
| No | Primary email (required unless role is Lead). | ||
| phone | No | ||
| title | No | Job title. | |
| address | No | Postal address; only the parts you pass are sent. | |
| website | No | ||
| last_name | Yes | Last name. | |
| first_name | Yes | First name. | |
| name_prefix | No | ||
| company_name | No | Link the contact to the CRM company with this name. | |
| custom_fields | No | Custom field values keyed by the custom field UID (from the *_fields tool); text/date as a string, numbers as numbers, multi-select as an array. | |
| background_info | No | ||
| send_welcome_email | No | Send the portal access invitation email to the contact (default false). | |
| create_company_if_not_exists | No | With company_name: create the company when none matches (default false). |