Popl Documentation
  • Popl Documentation
  • Integrations
    • Syncing Members from Azure Active Directory (Entra ID)
      • Entra ID (Azure) - Auto Sync™
      • Entra ID (Azure) - Permissions
    • Syncing Members from Google Workspace
      • Google Workspace - Auto Sync™
      • Google Workspace - Permissions
    • Syncing Members from Workday
      • Workday - Auto Sync™
      • Workday - Permissions
    • Salesforce Integration
      • Salesforce - Lead/Contact Sync Logic
    • HubSpot Integration
      • How to Uninstall HubSpot
    • HubSpot Integration (Legacy)
      • HubSpot - Contact Sync Logic (Legacy)
    • Dynamics 365 Sales Integration
    • Outlook Contact Sync - Full Team Integration
    • Outlook Contact Sync - Individual Member Integration
    • Zoho Integration
    • Monday Integration
    • Pipedrive Integration
    • Pardot Integration
    • Chili Piper Integration
    • Zapier Integration
    • VinSolutions Integration
    • Marketo Integration
    • Badge Kit Integration
  • SSO (SAML 2.0)
    • Azure SAML
    • Okta SAML
    • SCIM Provisioning
  • Email Signatures
    • Microsoft Outlook Email Signature Add-In
  • Members
    • Create New Member
    • Update Member
    • Update Template Links
    • Get Members
    • Remove Member
  • Leads/Contacts
    • Get Last Lead
    • Get Leads by Time Period
    • Delete Lead
  • Analytics
    • Get Analytics
    • Get Views
Powered by GitBook
On this page
  • Individuals
  • Teams
  • Subteams
  • Understanding the Response
  • Popl Field Data Dictionary
  1. Leads/Contacts

Get Last Lead

Use Popl APIs to get the last lead that was collected for an individual, team, or subteam.

Individuals

  • Get Last Lead: Get the most recent lead that was collected via Popl

GET https://api.popl.co/api/pub/leads/getLastLead

Teams

  • Get Last Lead (Team): Get the most recent lead that anyone on your team collected via Popl

GET https://api.popl.co/api/pub/leads/getLastLeadTeam

Subteams

Query Parameters:

  • subTeamId

GET https://api.popl.co/api/pub/leads/getLastLeadSubTeam

Understanding the Response

[
    {
        "name": "Popl",
        "isLead": true,
        "url": "https://poplme.co/popl-retail",
        "time": "Thursday, 1/28 2021",
        "views": "259824",
        "apptoapp": true,
        "pro": "1",
        "mode": "1",
        "lat": "34.05",
        "long": "-118.243683",
        "isLoggedIn": "",
        "email": "support@popl.co",
        "image": "23845_85b68a175436e991d41af4167f1af457.jpg",
        "company": "Tap to connect with us",
        "hash": "C88f",
        "epoch": 1687457494613,
        "v": "1",
        "number": "15106501841",
        "pops": "250556",
        "location": "Los Angeles, CA",
        "bio": "Your Digital Business Card",
        "id": "80149"
    }
]

The response is returned as a JSON array of a single lead object. The lead object has a unique identified called "id", which can be a integer, email address or phone number, depending on the type of lead and how it was collected.

The lead object will also have an "epoch" value that signifies the time in milliseconds that the lead was collected.

The lead object also has multiple values that correspond to the Popl user that collected the lead:

  • userId: The unique id of the Popl user that collected the lead

  • userEmail: The unique email of the Popl user that collected the lead

  • userPid: The profile id that corresponds to the Popl user's profile ID that was shared with the lead.

Each lead may also contain latitude and longitude information which when plotted on a map shows the precise location of where the meeting occurred. This data must be approved by the lead at the time of collection, otherwise, it will not be added to the lead object.

Popl Field Data Dictionary

Field
Description

An array of files associated with the lead.

A boolean indicating whether the lead was manually entered (true) or automatically generated (false).

A timestamp representing the creation time of the lead in milliseconds since the Unix epoch.

The phone number associated with the lead.

The full name of the lead.

The company the lead is associated with.

The email address of the user who collected the lead.

An identifier for the card of the user who collected the lead.

A unique identifier for the lead.

The email address of the lead.

A CRM-related object, containing integration data.

A URL linking to the lead's image.

The website URL associated with the lead.

The physical address of the lead.

The LinkedIn profile URL of the lead.

The job title of the lead

With 🤍 from Popl.

PreviousRemove MemberNextGet Leads by Time Period

Last updated 7 months ago

Check out to instantly create high-converting digital business cards for your team.

If any issues or questions, please contact us at , we are available nearly 24/7 and will get back to you within 6-8 hours or less.

attachments
isManual
epoch
number
name
company
userEmail
userPid
id
email
crm
image
website
address
linkedIn
jobTitle
Popl Teams
teams@popl.co