Sendy Integration

This integration requires Sendy REST API Add-On installation on Sendy server.

More information can be found here: https://github.com/gellu/sendy-api

REST API Add-On Installation Instructions (Getting Your Sendy API URL)

  1. Create a new sub-domain for Sendy Add-On (for example: sendy-api.yourdomain.com).
  2. Download Sendy REST API Add-On:https://github.com/gellu/sendy-api/archive/master.zip
  3. Unzip archive. You will see “sendy-api-master” folder. Copy all files from folder to server via FTP (in sub-domain directory)
  4. Now you need to install Composer.
    • Composer Installation (https://getcomposer.org/download/ )
    • Login on server via ssh and run:

      php -r "readfile('https://getcomposer.org/installer');" > composer-setup.php
      php -r "if (hash('SHA384', file_get_contents('composer-setup.php')) === 'fd26ce67e3b237fffd5e5544b45b0d92c41a4afe3e3f778e942e43ce6be197b9cdc7c251dcde6e2a52297ea269370680') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); }"
      php composer-setup.php
      php -r "unlink('composer-setup.php');"

      Known error troubleshoot

      Some settings on your machine make Composer unable to work properly. Make sure that you fix the issues listed below and run this script again:

      The suhosin.executor.include.whitelist setting is incorrect. Add the following to the end of your `php.ini` or suhosin.ini

      (Example path [for Debian]: /etc/php5/cli/conf.d/suhosin.ini): suhosin.executor.include.whitelist = phar

      The php.ini used by your command-line PHP is: /usr/local/lib/php.ini

      If you cannot modify the ini file, you can also run `php -d option=value` to modify ini values on the fly.

      You can use -d multiple times.

      So, type command: “ nano /usr/local/lib/php.ini

      And added line: “ suhosin.executor.include.whitelist = phar

      Then installation should be fine.
  5. Then please type: “cd /path/to/your/sendy-api-script”. 
  6. After, please run command “php composer.phar install

    Then please run command: “ nano app/config-env-dist.php” and fill fields:

            'host'  => '',
            'port'  => '',
            'name'  => '',
            'user'  => '',
            'pass'=> ''
    with values which used for Sendy configuration.
    Please note, that default port is ' 3306' and host is 'localhost'

    'name' – database name
    'user' – database user
    'pass' – database password

    To save document in nano please type: «ctrl + o» then hit «Enter»
  7. Then rename file with command: «mv app/config-env-dist.php app/config-env.php»
  8. Please add this URL in LeadsTunnel (EX. your-subdomain.yourdomain.com/app) in LeadsTunnel's APP URL field.

Getting Sendy APP Key

  1. Please visit your Sendy account and click button that says "Brand" on the top-right corner of your admin area.
  2. Click on the "RSS Feed Button" located at the right-side of your screen under your top navigation bar.
  3. A pop-up window will show details like the following screenshot:

  4. The URL listed in the Campaigns RSS feed contains your APP Key details.
  5. Copy the APP key between the "a=" and "&i".
    • Here's an example from the screenshot above: e6VOrdgeGERTGEVDGQIowGO5WlYFr 
  6. Paste your APP Key into LeadsTunnel APP Key field.
  7. Specify a name for your CRM name field. This is for internal use only and a reminder to yourself on what setup this is.

Still need help? Contact Us Contact Us