The eBook "Email marketing for companies. What is the best way to start? The fundamental guidelines of an effective email strategy from Sendios”.
Download the checklist
composer require sendios/php-sdk
# PHP SDK
$clientId = 123;
$clientToken = 'a1s2d3f4g5h6j7k8l';
$sendios = new \Sendios\SendiosSdk($clientId, $clientToken);
# PHP cURL
$ch = curl_init();
curl_setopt($ch, CURLOPT_USERPWD, '123:' . sha1('a1s2d3f4g5h6j7k8l'));
# console cURL
curl -u 123:957081746b54977d51bef9fc74f4d4fd023bab13
# 957081746b54977d51bef9fc74f4d4fd023bab13 is sha1 of clientToken (a1s2d3f4g5h6j7k8l)