import confirmed subscriber through api

João Reis

Member
how can I import a confirmed subscriber through api?
array(
'EMAIL' => 'xoxo@xoxo.com',
'FNAME' => 'John',
'LNAME' => 'Doe Updated Second time',
// 'STATUS' => 'confirmed' <=== somethiong like this
));




how can I create a single opt-in list through api?
'defaults' => array(
'from_name' => 'XOXO XOXO XOXOOX XOOX', // required
'from_email'=> 'xoxo@xoxo.com', // required
'reply_to' => 'xoxo@xoxo.com', // required
'opt_in' => 'single' <==== something like this
),

I want to migrate from another system, and don't what to make the user to receive any notification.
 

twisted1919

Administrator
Staff member
array(
'EMAIL' => 'xoxo@xoxo.com',
'FNAME' => 'John',
'LNAME' => 'Doe Updated Second time',
'details' => array('status' => 'confirmed'), // like this
));

how can I create a single opt-in list through api?
'defaults' => array(
'from_name' => 'XOXO XOXO XOXOOX XOOX', // required
'from_email'=> 'xoxo@xoxo.com', // required
'reply_to' => 'xoxo@xoxo.com', // required
'opt_in' => 'single'
),
The above should work, do you get any errors ?
 
Top