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

This documentation grants your developers access to Sendios API endpoints:

API info and PHP SDK
Start
You can install PHP SDK

composer require sendios/php-sdk
Or make HTTP requests via cURL/any
Signing of requests via auth

# 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)
How can I add a new contact to the database?
Use this method to transfer new email addresses to the database:
https://github.com/sendios/php-sdk#sending-email-via-php-sdk

After sending the first email, you will transfer the necessary information to us:
  • User details (email address, name, country, etc.)
  • Email variables (purchase links, etc.)
This API endpoint is intended for emails that come from your side. For instance, confirmations of registration or payment.
How can I add additional parameters?
If you need any additional parameters (e.g. segments), use this endpoint to create new data fields:
https://github.com/sendios/php-sdk#create-and-update-user-data

Can I verify an email address?
Before sending an email, you can check or validate an email address via this endpoint:
https://github.com/sendios/php-sdk#check-email
If users enter an incorrect email on a landing page, they will receive an error code.
Is it possible to update the user status?
You can update the user’s online status via this endpoint:
https://github.com/sendios/php-sdk#online
How can I transfer information about previous purchases?
You will also need to transfer the information about previous purchases and payments, so use this method:
https://github.com/sendios/php-sdk#payments
The fact of payment can be transferred in an easier way. When sending an email, you can just change the VIP value to “1”. BUT with this method, we will not know if the user bought the product because of the upsell funnel or not. We will only know that the purchase was completed.
What DNS settings should I enter?
To let us send out email campaigns on your behalf, you should use such DNS settings for the domain:
https://github.com/sendios/docs/wiki/Sender-Domain-settings
Will users be able to unsubscribe and subscribe back?
You can enable this feature by using this endpoint:
https://github.com/sendios/php-sdk#unsubscribe
Will it be possible to unsubscribe partially from some email?
If you use this method, your users will be able to unsubscribe partially from some emails:
https://github.com/sendios/php-sdk#unsubscribe-from-types
How will I receive email analytics?
It is also possible to receive analytics about events in email via webhooks:
https://github.com/sendios/docs/wiki/Webhooks