0
我使用getreponse php客戶端(https://github.com/GetResponse/getresponse-api-php/blob/master/src/GetResponseAPI3.class.php)將聯繫人添加到列表中。Getresponse v3 api -add contact error
object(stdClass)#2 (7) { ["httpStatus"]=> int(403) ["code"]=> int(0) ["codeDescription"]=> string(38) "Internal error, please contact support" ["message"]=> string(58) "Access Forbidden! You have no access to campaign: 9999999" ["moreInfo"]=> string(46) "https://apidocs.getresponse.com/en/v3/errors/0" ["context"]=> array(0) { } ["uuid"]=> string(36) "503b85fb-799c-46ec-b297-" }
我有正確的API密鑰和競選ID:
$fname ="mike";
$lname = "";
$email = "[email protected]";
$getresponse = new GetResponse('xxxxxxxxxxxxxxxxxxx');
$response = $getresponse->addContact(array(
'name' => $fname . " " . $lname,
'email' => $email,
'dayOfCycle' => 0,
'campaign' => array('campaignId' => '999999999')
));
當我嘗試這個代碼,我得到這個錯誤。
對此有何幫助?
我試圖競選令牌。它現在不顯示錯誤。但該聯繫人未列在廣告系列中。任何想法? –
如果您想顯示訂閱者列表,那麼您需要使用此網址:https://apidocs.getresponse.com/zh-CN/v3/resources/contacts#contacts.get – user2302732