Closed rocxteady closed 1 year ago
Hi @rocxteady
I tested with this code and it worked for me:
let defaultClient = SibApiV3Sdk.ApiClient.instance;
let apiKey = defaultClient.authentications['api-key'];
apiKey.apiKey = 'YOUR_API_KEY';
var apiInstance = new SibApiV3Sdk.SMSCampaignsApi();
var campaignId = 2716; // Number | id of the campaign
var opts = {
'recipientExport': new SibApiV3Sdk.RequestSmsRecipientExport() // RequestSmsRecipientExport | Values to send for a recipient export request
};
opts.recipientExport.recipientsType = 'delivered'
apiInstance.requestSmsRecipientExport(campaignId, opts).then(function(data) {
console.log('API called successfully. Returned data: ' + JSON.stringify(data));
}, function(error) {
console.error(error);
});```
Kindly test it again and let me know if the issue persists. Btw I tested on version 8.4.2, latest one.
Happy to help!
Shubham
Closing the issue since there is no activity for more than 11 days. Kindly open another issue if you face it again. Thanks!
I can't start my nodejs app with the error below. The version is 8.4.2. Can you help? :(