Add a subscriber to a mailing list
POST
https://api.tamio.com/v2/mailing-lists/add-subscriber/{uuid}
Adds a subscriber to the specified mailing list. If the subscriber does not exist, a new subscriber and associated lead record are created. If the subscriber already exists, they are associated with the list without duplication.
Path Parameters
uuid
string*
UUID of the mailing list to add the subscriber to
Body Parameters
email
string*
Subscriber's email address
first_name
string*
Subscriber's first name
last_name
string*
Subscriber's last name
Responses
200
Subscriber added to mailing list successfully
Subscriber added to mailing list successfully
status
integer
mailing_list
MailingList
400
Bad request. Possible `error_code` values:
Bad request. Possible error_code values:
| Code | Description |
|---|---|
1002 | ResourceNotFound |
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