Skip to content

incluirtecnologia/leadlovers-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tests:

In order to run tests, it's necessary to have an access token (can be obtained from the dashboard), a machine, an email sequence, a lead and a tag registered (can be done via dashboard). After that, add the following environment variables to the file tests/settings.local.php.

putenv('TOKEN=your_access_token');
putenv('MACHINE_CODE=your_machine_code');
putenv('SEQUENCE_CODE=your_sequence_code');
putenv('LEAD_EMAIL=your_lead_email');
putenv('LEAD_CODE=your_lead_code');
putenv('TAG_ID=your_tag_id');

Endpoints:

Email

  1. EmailSequences - Retrieve email sequence collection - http://apill.azurewebsites.net/#operation/EmailSequences_Get
  2. Levels - Retrieve levels from email sequence - http://apill.azurewebsites.net/webapi/Levels

Lead

  1. Lead - Remove lead from sequence/funnel - http://apill.azurewebsites.net/webapi/Lead/Funnel
  2. Lead - Retrieve a lead by email - http://apill.azurewebsites.net/webapi/Lead
  3. Lead - Update and if needed insert lead data
  4. Lead - Insert a new lead - http://apill.azurewebsites.net/webapi/Lead
  5. Lead - Remove lead from machine - http://apill.azurewebsites.net/webapi/Lead
  6. Lead - Update lead data
  7. LeadLocation - Retrieve lead location - http://apill.azurewebsites.net/webapi/LeadLocation
  8. LeadLocation - Move lead location - http://apill.azurewebsites.net/webapi/LeadLocation
  9. Score - Add score to lead - http://apill.azurewebsites.net/webapi/Score

Machine

  1. Forms - Retrieve machine forms collection - http://apill.azurewebsites.net/webapi/Forms
  2. Machines - Retrieve machines from account - http://apill.azurewebsites.net/webapi/Machines
  3. Machines - Retrieve machine info by id - http://apill.azurewebsites.net/webapi/Machines
  4. Pages - Retrieve machine pages collection - http://apill.azurewebsites.net/webapi/Pages
  5. Pages - Update page data

Tag

  1. Tag - Retrieve list of lead tags - http://apill.azurewebsites.net/webapi/Tag/Lead
  2. Tag - Add tag to a lead by phone
  3. Tag - Add tag to a lead - http://apill.azurewebsites.net/webapi/Tag
  4. Tag - Delete tag from a lead - http://apill.azurewebsites.net/webapi/Tag
  5. TagChecker - Check if tag is from user - http://apill.azurewebsites.net/webapi/TagChecker
  6. Tags - Get a tag collection from user - http://apill.azurewebsites.net/webapi/Tags
  7. Tags - Update user tag
  8. Tags - Create user tag
  9. Tags - Delete user tag

User

  1. User - Retrieve user account data - http://apill.azurewebsites.net/webapi/ListDataAccount
  2. User - Get user code - http://apill.azurewebsites.net/webapi/UserCode
  3. User - Get user information - http://apill.azurewebsites.net/webapi/User

API matched names on Dashboard

API Dashboard
EmailSequence Funnel

About

Unofficial leadlovers api in php

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages