Method : set_liste

This method serves to create a list according to your parameters.

Field Type Description
name string name of your list
Required parameter
email_exp string Email address of the sender
Required parameter
nom_exp string Name of the sender
Required parameter
email_rep string Email address of reception of your list
signature string Signature of your list
optin integer Optin of your list
1 : Simple
2 : Double
language string Language of your list
'french', 'english', 'spanishl', 'portuguese', 'german', 'russian', 'esperanto', 'neerlandais'
parent integer List parent of your list
insc_subject string Subject of registration of your list
insc_link integer Redirection link of your list
                                        
                                           
 // Ajout d'une liste.
    $sgApi
        ->set('nom',        "Liste Test API")
        ->set('email_exp',  "John.Doe@mail.ext")
        ->set('nom_exp',    "John Doe")

        ->set('optin',      1)
        ->set('langue',     "francais");

    $call = $sgApi->call('set_list');

Warning: Undefined array key "admin" in /home/omaileo/public_html/doc/view/api/index.php on line 44