public interface MailgunMailingListApi extends MailgunApi
Mailgun Mailing Lists Api.
You can programmatically create mailing lists using Mailgun Mailing List API.
See
A mailing list is a group of members (recipients) which itself has an email address, like developers@mailgun.net.
This address becomes an ID for this mailing list.
When you send a message to developers@mailgun.net, all members of the list will receive a copy of it.
| Modifier and Type | Method and Description |
|---|---|
MailingListResponse |
addMembersToMailingList(String mailingListAddress,
AddMailingListMembersRequest request)
Adds multiple members, up to 1,000 per call, to a Mailing List.
|
feign.Response |
addMembersToMailingListFeignResponse(String mailingListAddress,
AddMailingListMembersRequest request)
Adds multiple members, up to 1,000 per call, to a Mailing List.
|
MailingListMemberResponse |
addMemberToMailingList(String mailingListAddress,
MailingListNewMemberRequest request)
Adds a member to the mailing list.
|
feign.Response |
addMemberToMailingListFeignResponse(String mailingListAddress,
MailingListNewMemberRequest request)
Adds a member to the mailing list.
|
String |
cancelActiveMailingListVerificationJob(String mailingListAddress)
Cancel an active mailing list verification job.
|
feign.Response |
cancelActiveMailingListVerificationJobFeignResponse(String mailingListAddress)
Cancel an active mailing list verification job.
|
MailingListResponse |
createMailingList(MailingListRequest request)
Creates a new mailing list.
|
feign.Response |
createMailingListFeignResponse(MailingListRequest request)
Creates a new mailing list.
|
DeleteMailingListResponse |
deleteMailingList(String mailingListAddress)
Deletes a mailing list.
|
feign.Response |
deleteMailingListFeignResponse(String mailingListAddress)
Deletes a mailing list.
|
MailingListMemberResponse |
deleteMemberFromMailingList(String mailingListAddress,
String memberAddress)
Delete a mailing list member.
|
feign.Response |
deleteMemberFromMailingListFeignResponse(String mailingListAddress,
String memberAddress)
Delete a mailing list member.
|
MailingListDataResponse |
getMailingList()
Returns mailing lists under your account (limit to 100 entries).
|
MailingListDataResponse |
getMailingList(Integer limit)
Returns mailing lists under your account.
|
SingleMailingListResponse |
getMailingListByAddress(String mailingListAddress)
Returns a single mailing list by a given address.
|
feign.Response |
getMailingListByAddressFeignResponse(String mailingListAddress)
Returns a single mailing list by a given address.
|
feign.Response |
getMailingListFeignResponse()
Returns mailing lists under your account (limit to 100 entries).
|
feign.Response |
getMailingListFeignResponse(Integer limit)
Returns mailing lists under your account.
|
MailingListMemberResponse |
getMailingListMember(String mailingListAddress,
String memberAddress)
Retrieves a mailing list member.
|
feign.Response |
getMailingListMemberFeignResponse(String mailingListAddress,
String memberAddress)
Retrieves a mailing list member.
|
MailingListMembersResponse |
getMailingListMembers(String mailingListAddress)
Returns the list of members in the given mailing list (limit to 100 entries).
|
MailingListMembersResponse |
getMailingListMembers(String mailingListAddress,
MailingListMembersRequest parameters)
Returns the list of members in the given mailing list.
|
feign.Response |
getMailingListMembersFeignResponse(String mailingListAddress)
Returns the list of members in the given mailing list (limit to 100 entries).
|
feign.Response |
getMailingListMembersFeignResponse(String mailingListAddress,
MailingListMembersRequest parameters)
Returns the list of members in the given mailing list.
|
MailingListVerificationStatusResponse |
getMailingListVerificationJobStatus(String mailingListAddress)
Retrieve current status of the mailing list verification job.
|
feign.Response |
getMailingListVerificationJobStatusFeignResponse(String mailingListAddress)
Retrieve current status of the mailing list verification job.
|
MailingListResponse |
updateMailingList(String mailingListAddress,
UpdateMailingListRequest request)
Update mailing list properties, such as
address, description or name. |
feign.Response |
updateMailingListFeignResponse(String mailingListAddress,
UpdateMailingListRequest request)
Update mailing list properties, such as
address, description or name. |
MailingListMemberResponse |
updateMailingListMember(String mailingListAddress,
String memberAddress,
MailingListMemberUpdateRequest request)
Updates a mailing list member with given properties.
|
feign.Response |
updateMailingListMemberFeignResponse(String mailingListAddress,
String memberAddress,
MailingListMemberUpdateRequest request)
Updates a mailing list member with given properties.
|
MailingListVerificationResponse |
verifyMailingListMembers(String mailingListAddress)
Verify all the members of the mailing list.
|
feign.Response |
verifyMailingListMembersFeignResponse(String mailingListAddress)
Verify all the members of the mailing list.
|
getApiVersionMailingListDataResponse getMailingList()
Returns mailing lists under your account (limit to 100 entries).
MailingListDataResponsefeign.Response getMailingListFeignResponse()
Returns mailing lists under your account (limit to 100 entries).
ResponseMailingListDataResponse getMailingList(Integer limit)
Returns mailing lists under your account.
limit - Maximum number of records to returnMailingListDataResponsefeign.Response getMailingListFeignResponse(Integer limit)
Returns mailing lists under your account.
limit - Maximum number of records to returnResponseSingleMailingListResponse getMailingListByAddress(String mailingListAddress)
Returns a single mailing list by a given address.
mailingListAddress - an email address, the ID for the mailing list.SingleMailingListResponsefeign.Response getMailingListByAddressFeignResponse(String mailingListAddress)
Returns a single mailing list by a given address.
mailingListAddress - an email address, the ID for the mailing list.ResponseMailingListResponse createMailingList(MailingListRequest request)
Creates a new mailing list.
request - MailingListRequestMailingListResponsefeign.Response createMailingListFeignResponse(MailingListRequest request)
Creates a new mailing list.
request - MailingListRequestResponseMailingListResponse updateMailingList(String mailingListAddress, UpdateMailingListRequest request)
Update mailing list properties, such as address, description or name.
mailingListAddress - an email address, the ID for the mailing list.request - MailingListRequestMailingListResponsefeign.Response updateMailingListFeignResponse(String mailingListAddress, UpdateMailingListRequest request)
Update mailing list properties, such as address, description or name.
mailingListAddress - an email address, the ID for the mailing list.request - MailingListRequestResponseDeleteMailingListResponse deleteMailingList(String mailingListAddress)
Deletes a mailing list.
mailingListAddress - an email address, the ID for the mailing list.DeleteMailingListResponsefeign.Response deleteMailingListFeignResponse(String mailingListAddress)
Deletes a mailing list.
mailingListAddress - an email address, the ID for the mailing list.ResponseMailingListVerificationResponse verifyMailingListMembers(String mailingListAddress)
mailingListAddress - an email address, the ID for the mailing list.MailingListVerificationResponsefeign.Response verifyMailingListMembersFeignResponse(String mailingListAddress)
mailingListAddress - an email address, the ID for the mailing list.ResponseMailingListVerificationStatusResponse getMailingListVerificationJobStatus(String mailingListAddress)
mailingListAddress - an email address, the ID for the mailing list.MailingListVerificationStatusResponsefeign.Response getMailingListVerificationJobStatusFeignResponse(String mailingListAddress)
mailingListAddress - an email address, the ID for the mailing list.ResponseString cancelActiveMailingListVerificationJob(String mailingListAddress)
mailingListAddress - an email address, the ID for the mailing list.feign.Response cancelActiveMailingListVerificationJobFeignResponse(String mailingListAddress)
mailingListAddress - an email address, the ID for the mailing list.ResponseMailingListMembersResponse getMailingListMembers(String mailingListAddress)
Returns the list of members in the given mailing list (limit to 100 entries).
mailingListAddress - an email address, the ID for the mailing list.MailingListMembersResponsefeign.Response getMailingListMembersFeignResponse(String mailingListAddress)
Returns the list of members in the given mailing list (limit to 100 entries).
mailingListAddress - an email address, the ID for the mailing list.ResponseMailingListMembersResponse getMailingListMembers(String mailingListAddress, MailingListMembersRequest parameters)
Returns the list of members in the given mailing list.
mailingListAddress - an email address, the ID for the mailing list.parameters - MailingListMembersRequestMailingListMembersResponsefeign.Response getMailingListMembersFeignResponse(String mailingListAddress, MailingListMembersRequest parameters)
Returns the list of members in the given mailing list.
mailingListAddress - an email address, the ID for the mailing list.parameters - MailingListMembersRequestResponseMailingListMemberResponse getMailingListMember(String mailingListAddress, String memberAddress)
Retrieves a mailing list member.
mailingListAddress - an email address, the ID for the mailing listmemberAddress - mailing list member email addressMailingListMemberResponsefeign.Response getMailingListMemberFeignResponse(String mailingListAddress, String memberAddress)
Retrieves a mailing list member.
mailingListAddress - an email address, the ID for the mailing listmemberAddress - mailing list member email addressResponseMailingListMemberResponse addMemberToMailingList(String mailingListAddress, MailingListNewMemberRequest request)
Adds a member to the mailing list.
mailingListAddress - an email address, the ID for the mailing list.request - MailingListNewMemberRequestMailingListMemberResponsefeign.Response addMemberToMailingListFeignResponse(String mailingListAddress, MailingListNewMemberRequest request)
Adds a member to the mailing list.
mailingListAddress - an email address, the ID for the mailing list.request - MailingListNewMemberRequestResponseMailingListMemberResponse updateMailingListMember(String mailingListAddress, String memberAddress, MailingListMemberUpdateRequest request)
Updates a mailing list member with given properties. Won’t touch the property if it’s not passed in.
mailingListAddress - an email address, the ID for the mailing list.memberAddress - mailing list member email addressrequest - MailingListMemberUpdateRequestMailingListMemberResponsefeign.Response updateMailingListMemberFeignResponse(String mailingListAddress, String memberAddress, MailingListMemberUpdateRequest request)
Updates a mailing list member with given properties. Won’t touch the property if it’s not passed in.
mailingListAddress - an email address, the ID for the mailing list.memberAddress - mailing list member email addressrequest - MailingListMemberUpdateRequestResponseMailingListResponse addMembersToMailingList(String mailingListAddress, AddMailingListMembersRequest request)
Adds multiple members, up to 1,000 per call, to a Mailing List.
mailingListAddress - an email address, the ID for the mailing list.request - AddMailingListMembersRequestMailingListResponsefeign.Response addMembersToMailingListFeignResponse(String mailingListAddress, AddMailingListMembersRequest request)
Adds multiple members, up to 1,000 per call, to a Mailing List.
mailingListAddress - an email address, the ID for the mailing list.request - AddMailingListMembersRequestResponseMailingListMemberResponse deleteMemberFromMailingList(String mailingListAddress, String memberAddress)
Delete a mailing list member.
mailingListAddress - an email address, the ID for the mailing list.memberAddress - mailing list member email addressMailingListMemberResponsefeign.Response deleteMemberFromMailingListFeignResponse(String mailingListAddress, String memberAddress)
Delete a mailing list member.
mailingListAddress - an email address, the ID for the mailing list.memberAddress - mailing list member email addressResponseCopyright © 2022. All rights reserved.