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

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

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

With 🤍 from Popl.

Last updated