Skip to content


example php code on how to move subscribers to another list please #10

surfdemon opened this Issue · 1 comment

2 participants


Please can you provide examples of how to move subscribers from one list to another there appears to be the option with a move method but no examples on how to use this method.



To move subscribers via the API:
1. call the 'move' operation on the subscriber
2. pass in an instance of an AWeber list

here is an example of moving all subscribers :

X, Y, Z are the appropriate ID's of the account and lists you're using.


$subscribers = $account->loadFromUrl('/accounts/X/lists/Y/subscribers');
$new_list = $account->loadFromUrl('/accounts/X/lists/Z');

foreach($subscribers as $subscriber) {
if($subscriber->status == 'subscribed') {

Let us know if you need further assistance.

@aweber aweber closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.