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
POST https://us-central1-poplco.cloudfunctions.net/getLastLead
{
"apikey": "{your_api_key}"
}
Make sure the call is a POST request and to replace the {your_api_key} with your actual api key provided to you via email from us.

Teams

  • Get Last Lead (Team): Get the most recent lead that anyone on your team collected via Popl
POST https://us-central1-poplco.cloudfunctions.net/getLastLeadTeam
{
"apikey": "{your_api_key}"
}
Make sure the call is a POST request and to replace the {your_api_key} with your actual api key provided to you via email from us.
Reminder: the api key must be requested by a Popl Teams admin in order for the lead data to be team wide.
  • Get Last Lead (Subteam): Get the most recent lead that anyone on a specific subteam collected via Popl
POST https://us-central1-poplco.cloudfunctions.net/getLastLeadSubTeam
{
"apikey": "{your_api_key}"
}
Make sure the call is a POST request and to replace the {your_api_key} with your actual api key provided to you via email from us.
Reminder: the api key must be requested by a Popl Teams admin in order for the lead data to be team wide.