Description
Adds a new mailing list.
Parameters
Name | Data Type | Required / Optional | Description |
---|---|---|---|
auth-userid | Integer | Required | Authentication Parameter |
api-key | String | Required | Authentication Parameter |
order-id | Integer | Required | Order ID of the Domain Registration Order |
list-address | String | Required | An email address representing mailing-list |
subscription-held | Boolean | Required | Values can be: true or false. |
who-can-post | String | Required | Values can be: anyone, only_members or only_moderators. |
send-messages-for-moderation | Boolean | Required | Values can be: true or false. |
reply-to | String | Required | Values can be: sender, entire_list or custom_address. |
moderators | String | Required | A CSV of email addresses |
custom-email | String | Optional | An email address, required in case reply_to=custom_address |
footer-text | String | Optional | Text value for the footer |
HTTP Method
POST
Example Test URL Request
https://test.httpapi.com/api/mail/mailinglist/add.json?auth-userid=0&api-key=key&order-id=0&[email protected]&subscription-held=false&who-can-post=only_members&send-messages-for-moderation=false&reply-to=sender&[email protected],[email protected]
Response
Returns "SUCCESS" as the status if a mailing list added successfully.