Create lead
teamgate_create_leadDestructive
WRITE: create a lead. Give a person's name, or a company_name for a company lead. Teamgate may start workflows or notifications for new leads. POST /leads.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Person's full name (required unless company_name is given). | |
| tags | No | Tags to set on the record. | |
| No | Email address. | ||
| phone | No | Phone number. | |
| source | No | Source name (created if it does not exist). | |
| status | No | Lead status name, e.g. 'New' (created if it does not exist). | |
| starred | No | Star the record. | |
| industry | No | Industry name (created if it does not exist). | |
| owner_id | No | Owner user id (see teamgate_list_users). | |
| job_title | No | Job title (used only together with company_name). | |
| company_name | No | Company name for a company lead (required unless name is given). |