fcrm create contact
fcrm_create_contactCreate a FluentCRM contact and optionally send a double opt-in email; set force update to modify an existing contact with the same email instead of returning an error.
Instructions
Create a new contact. If __force_update is set to yes, it will update an existing contact with the same email instead of returning an error. Optionally sends a double opt-in email.
Required capability: fcrm_read_contacts or fcrm_manage_contacts : which one applies depends on the action being performed.
Enforced by SubscriberPolicy::verifyRequest(), the policy default for this route group. Explicit local confirmation is required; hooks, announcements and automations may affect other people. No retries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City. | |
| tags | No | Tag IDs to assign. | |
| No | Contact email address. Must be unique unless `__force_update` is `yes`. | ||
| lists | No | List IDs to assign. | |
| phone | No | Phone number. | |
| state | No | State or province. | |
| prefix | No | Name prefix (e.g., Mr, Mrs, Ms). | |
| source | No | Contact source. | |
| status | No | Contact subscription status. | |
| account | No | Exact configured private account profile label; not a tenant or provider account ID. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| country | No | Two-letter country code. | |
| payload | No | Complete native JSON body; do not mix with body flags or payload_file. Arrays use repeated JSON object flags or a whole native array in a private file. | |
| timezone | No | Timezone identifier. | |
| last_name | No | Last name. | |
| first_name | No | First name. | |
| postal_code | No | Postal/zip code. | |
| contact_type | No | Contact type. | |
| double_optin | No | Send double opt-in confirmation email. | |
| payload_file | No | Absolute regular non-symlink JSON body file, at most 1 MiB. Cannot mix with payload/body flags. | |
| date_of_birth | No | Date of birth (YYYY-MM-DD). | |
| __force_update | No | If `yes`, updates existing contact with the same email instead of failing. | |
| address_line_1 | No | Address line 1. | |
| address_line_2 | No | Address line 2. |