pub struct NewsletterIntegrationOptions {
pub can_create_lists: bool,
pub does_double_opt_in: bool,
pub lists: Vec<NewsletterIntegrationListOption>,
pub provider: String,
pub extra: Map<String, Value>,
}Expand description
An active configured newsletter provider and the remote lists available for group mappings.
Fields§
§can_create_lists: boolWhether this provider implementation supports creating a remote list from the group-mapping API.
does_double_opt_in: boolWhether the provider integration itself uses double opt-in, distinct from the mapping’s ChurchTools optInRequired flag.
lists: Vec<NewsletterIntegrationListOption>Remote lists in provider-returned order. Empty can mean no lists or a caught provider error; assigned lists remain included.
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.