function MCAPI::apikeyAdd in Mailchimp 6
Same name and namespace in other branches
- 5.2 MCAPI.class.php \MCAPI::apikeyAdd()
- 5 MCAPI.class.php \MCAPI::apikeyAdd()
- 6.2 MCAPI.class.php \MCAPI::apikeyAdd()
- 7 MCAPI.class.php \MCAPI::apikeyAdd()
Add an API Key to your account. We will generate a new key for you and return it.
Related
@example xml-rpc_apikeyAdd.php
Parameters
string $username Your MailChimp user name:
string $password Your MailChimp password:
Return value
string a new API Key that can be immediately used.
File
- ./
MCAPI.class.php, line 970
Class
Code
function apikeyAdd($username, $password) {
$params = array();
$params["username"] = $username;
$params["password"] = $password;
return $this
->callServer("apikeyAdd", $params);
}