This page provides you information about how to manage recipients (subscribe, unsubscribe, update personal data).
Things to know about recipients:
Subscription and Unsubscription
- subscription and unsubscription always refer to a specific MailUp list and to a specified MailUp channel (email, SMS, Fax)
- Subscription and unsubscription does not apply to groups: a recipient may belong to zero, one or more groups of a list
- For each MailUp channel, the recipient's statuses "subscribed", "unsubscribed" and "pending" (when Confirmed Opt-In, COI, applies) are mutually exclusive on a specified list
- Email address and mobile number are primary keys in MailUp: there cannot be two recipients with the same email address or with the same mobile phone number
Personal data fields
- Personal data fields are shared through all the channels of a console account
Automatic unsubscription
- Recipients can be automatically unsubscribed from the email channel of all lists of a console account in case of hard bounces
- Recipients are automatically unsubscribed from the email channel a specified lists of a console account in case of feedback loop (i.e. reported as spam)
Importing recipients into MailUp
...
On this page:
Table of Contents |
---|
You can subscribe a recipient to one or
On this page:
Table of Contents |
---|
Retrieve all subscribed/unsubscribed from a list
You can subscribe a recipient to one or more lists or groups and you can also set personal data fields of the recipient.
...
Subscribed
Description | Retreive subscribers of specified list | |||||
---|---|---|---|---|---|---|
HTTP Method | GET | |||||
URL | https://services.mailup.com/API/v1.1/Rest/ConsoleService.svc/Console/List/{ID_LIST}/Recipients/Subscribed | |||||
JSON request (example) | none | |||||
JSON response (example) |
| |||||
Paging and filtering (example) | 2 items per page, get first page (count starts from zero)
Retreive all the subscribers of a specified list whose Email contains 'example' filterby="Email.Contains('example')" and sort them by Email orderby="Email asc". Parameter names can be retreived from the response body. Please note that "Contains" is case sensitive.
|
Unsubscribed
As for "subscribed", but in this case the endpoint is /Console/List/{ID_LIST}/Recipients/Unsubscribed
Asynchronous import of recipients
Asynchronous import is required when you have more than 10 recipients to be imported. It is fast but not immediate, please check the import status in order to know when the import task is completed.
...
Description | Retrieve recipient dynamic field definitions. | |||||
---|---|---|---|---|---|---|
HTTP Method | GET | |||||
URL | https://services.mailup.com/API/v1.1/Rest/ConsoleService.svc/Console/Recipient/DynamicFields | |||||
JSON request (example) | none
| |||||
JSON response (example) |
| |||||
Paging and filtering (example) | Use endpoint /Console/Recipient/DynamicFields?&orderby="Id+asc" to get a list that is ordered by Id |
Check if a subscriber exists
With this method you can also retreive recipientID and personal data fields of specified subscriber
Description | Check subscriber and retreive data | |||||||
---|---|---|---|---|---|---|---|---|
HTTP Method | GET | |||||||
URL | https://services.mailup.com/API/v1.1/Rest/ConsoleService.svc/Console/List/3/Recipients/Subscribed?filterby="Email.Contains('{Email}')" see example in the "paging and filtering" row | |||||||
JSON request (example) | none
| |||||||
JSON response (example) | when the specified recipient belongs to list suscribers the response contains the personal data fields of the recipient
when the specified recipient does not belong to list subscribers (i.e. it may be not existing but also unsubscribed or subscribed only to other MailUp lists for that console account) an empty list is returned
| |||||||
Paging and filtering (example) | https://services.mailup.com/API/v1.1/Rest/ConsoleService.svc/Console/List/3/Recipients/Subscribed?filterby="Email.Contains(%27peter@example.com%27)" |
Change a personal data field of an existing subscriber
Description | Retrieve recipient dynamic field definitions. | ||
---|---|---|---|
HTTP Method | PUT | ||
URL | https://services.mailup.com/API/v1.1/Rest/ConsoleService.svc/Console/Recipient/DynamicFields | ||
JSON request (example) | Modifying the "Region" field
| ||
JSON response (example) |
| ||
Paging and filtering (example) | none |
...