Create lead
mailbluster_create_leadWRITE: add a lead (contact) to the brand. subscribed defaults to FALSE: the lead is stored but is not subscribed to email. Only set subscribed=true when the person has given consent to receive email from this brand (the user is responsible for lawful consent); this server never subscribes anyone on its own. No email is sent by this tool (double opt-in is not offered). If the lead already exists the call fails unless overwrite_existing=true, which replaces the stored data (then subscribed must be given explicitly). POST /leads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tag names to attach (created if missing). | |
| Yes | Email address. | ||
| fields | No | Custom field values keyed by the field's MERGE TAG (see mailbluster_list_fields), e.g. {"company": "Pied Piper"}. | |
| timezone | No | IANA timezone, e.g. America/Los_Angeles. | |
| last_name | No | ||
| first_name | No | ||
| ip_address | No | Lead's IP address; MailBluster derives country/city/timezone from it. | |
| subscribed | No | Default false. true only with the lead's consent to receive email. | |
| overwrite_existing | No | Default false. true overwrites an existing lead with the same email. |