Add or update a subscriber
moosend_add_subscriberWRITE: add one subscriber to a mailing list. If the email already exists in the list, that subscriber is UPDATED instead (and custom fields you omit are cleared). A previously unsubscribed address is re-subscribed. Rate limit 10 calls / 10 s. Moosend: POST /subscribers/{MailingListID}/subscribe.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Subscriber name. | |
| tags | No | Subscriber tags. | |
| Yes | Subscriber email address. | ||
| preferences | No | Preference option values chosen by the subscriber (must match the list's preference options). | |
| custom_fields | No | Custom field values by field name, e.g. {"City":"Athens","Age":25}. Sent to Moosend as "Name=Value" pairs. WARNING: on an existing subscriber, any custom field NOT included is cleared — include every field you want to keep. | |
| mailing_list_id | Yes | Mailing list ID (a GUID, from moosend_list_mailing_lists). | |
| has_external_double_opt_in | No | True if the subscriber already gave consent by other means. |