Add recipients to a mailing list
Put a few addresses on one mailing list of a web hosting package - the others stay.
manitu_webhosting_mail_mailinglist_recipient_add on https://mcp.manitu.de/mcpAnnotations as tools/list sends them
Description for the model
Adds recipients to a mailing list of a web hosting package of the manitu customer account this connection works in, by site_id and mail_address from manitu_webhosting_mail_mailinglist_list. The recipients there stay; an address already on it is answered as unchanged. At most 1000 recipients per list (else a conflict, limit_reached). Refused per address that is none (mail_address_invalid) or the list itself (target_is_address_itself). The people added get every mail sent to the list - only with their consent: name every address to the customer and ask for an explicit yes first.
Arguments
site_idinteger | stringrequiredThe site_id from manitu_webhosting_list - never guess one.
mail_addressstringrequiredThe address of the mailing list from manitu_webhosting_mail_mailinglist_list, e.g. club@example.de. Never guess one.
recipient_listarray of stringrequiredThe addresses to put on the list.
Result structuredContent, checked against the schema
mail_addressstringrequiredThe list.
recipient_countintegerrequiredHow many recipients it has now.
changed_listarray of stringrequiredThe addresses put on the list.
unchanged_listarray of stringrequiredThe addresses given that were so already - nothing to do for them.
Authentication
One of X-API-Key, Authorization: Bearer … - never more than one in a request. More
Request body JSON; unknown fields are refused
site_idinteger | stringrequiredThe site_id from manitu_webhosting_list - never guess one.
mail_addressstringrequiredThe address of the mailing list from manitu_webhosting_mail_mailinglist_list, e.g. club@example.de. Never guess one.
recipient_listarray of stringrequiredThe addresses to put on the list.
Response in data; the rest of the body as on every call
mail_addressstringrequiredThe list.
recipient_countintegerrequiredHow many recipients it has now.
changed_listarray of stringrequiredThe addresses put on the list.
unchanged_listarray of stringrequiredThe addresses given that were so already - nothing to do for them.
Statuses
200Success.400The request does not match the declared input schema.401No credential was presented, or it was not recognised.403The credential is not permitted to use this operation.500The server failed. Nothing about the request was wrong. Whether a change took effect is not known - check before trying it again.503The channel this operation forwards through is unavailable.