Create a mailing list
POST
https://api.tamio.com/v2/mailing-lists/create
Creates a new mailing list with the given label. The label must be unique within the account.
Body Parameters
label
string*
Name of the mailing list
Responses
200
Mailing list created successfully
Mailing list created successfully
status
integer
mailing_list
MailingList
400
Validation or business-logic error.
Validation or business-logic error.
| Code | Description |
|---|---|
10094 | Invalid or duplicate mailing list label |
10239 | Mailing lists limit reached for the current billing plan |
status
integer
error
string
Human-readable error message
error_code
integer
Machine-readable error code
401
Missing or invalid API key
Missing or invalid API key
status
integer
error
string