Add member
cyberimpact_add_memberWRITE: add a contact as a subscribed member WITHOUT a confirmation email (implied consent) and put it in the given groups; the contact can then be mailed. Only use it for people who really gave their consent (CASL); to ask the person to confirm first use cyberimpact_send_optin. A member that already exists is rejected by the API. Throttled by Cyberimpact; for many contacts use the app's import. POST /members.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Free-text note. | |
| Yes | The member's email address. | ||
| gender | No | m, f or o. | |
| company | No | Company. | |
| country | No | ISO 3166-1 alpha-2 country code, e.g. CA. | |
| language | No | en_ca or fr_ca. | |
| lastname | No | Last name. | |
| birthdate | No | Birth date, yyyy-mm-dd. | |
| firstname | No | First name. | |
| group_ids | Yes | Group ids to subscribe the member to (see cyberimpact_list_groups). | |
| postalCode | No | Postal code. | |
| customFields | No | Custom field values keyed by custom field id (see cyberimpact_list_custom_fields). |