slowprog / unisender
UniSender API wrapper
Installs: 106
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
pkg:composer/slowprog/unisender
Requires
- php: >=5.4.0
This package is auto-updated.
Last update: 2025-10-05 20:50:56 UTC
README
See the documentation available method.
Usage
$unisender = new \SlowProg\UniSender\Api('api_key');
// Get a list of subscription sheets
$lists = $unisender->getLists();
// Get email_status of email
$emailStatus = $unisender->exportContacts([
'email' => $data['email'],
'field_names' => ['email_status'],
]);
// Add email@domain.com
$response = $this->unisender->importContacts([
'field_names' => ['email', 'some_addition_field'],
'data' => [
['email@domain.com', 'some_value']
],
'force_import' => 1
]);