php - SendInBlue create contact error -
i'm working in local test sendinblue create contact.
swagger\client\configuration::getdefaultconfiguration()->setapikey('api-key', env('sendinblue_api_key')); $api_instance = new swagger\client\api\contactsapi(); $createcontact = new swagger\client\model\createcontact(); $createcontact['email'] = 'email@gmail.com'; $createcontact['listids'] = 2; $result = $api_instance->createcontact($createcontact); dd($result);
i have error...
[400] error connecting api (https://api.sendinblue.com/v3/contacts)
Comments
Post a Comment