pub struct NewsletterIntegrationGroupMappingCreate {
pub create_list_name: Option<Option<String>>,
pub existing_members_handling: Option<String>,
pub list_id: Option<Option<String>>,
pub opt_in_required: bool,
pub provider: String,
pub extra: Map<String, Value>,
}Expand description
Connects one existing or newly created external list to the path group and immediately synchronizes eligible existing members. Exactly one non-null listId/createListName is required.
Fields§
§create_list_name: Option<Option<String>>Create an external list with this name; only use if the provider advertises canCreateLists=true.
None leaves the field out, Some(None) sends null.
existing_members_handling: Option<String>Controls the initial synchronization only. ignore_opt_in subscribes eligible existing members without double opt-in even when optInRequired=true; the stored flag still governs later synchronization.
Allowed values: ignore_opt_in, require_opt_in.
list_id: Option<Option<String>>Existing provider list ID. The provider/list pair must not already be mapped to any group.
None leaves the field out, Some(None) sends null.
opt_in_required: boolRequire double opt-in for subscriptions. Providers with doesDoubleOptIn=true handle confirmation; otherwise ChurchTools sends confirmation emails.
provider: StringCanonical newsletter provider name. Availability depends on the installation configuration; discover active providers using GET /newsletter-integrations. The backend also accepts case variations but stores the supplied spelling.
Allowed values: CleverReach, MailChimp, Mailjet.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.