Get Leads by Time Period
Use Popl APIs to get all leads that were collected by an individual or team within a certain time period.
Individuals
Get all leads within time range: Get all leads that were collected by an individual between a specific date range.
Query Parameters:
start: epoch (ms)
The starting date in epoch form for the date range. This parameter is required. This value should be a milliseconds epoch date such as:
1678237877897
end: epoch (ms) OPTIONAL
The ending date in epoch form for the date range. If no end parameter is passed in, the API will return all leads from the start parameter onward. This value should be a milliseconds epoch date such as:
1678237877897
Teams
Get all leads for an entire team, within a provided time range: Get all leads that were collected by any member on a Popl Teams team, between a specific date range.
Query Parameters:
start: epoch (ms)
The starting date in epoch form for the date range. This parameter is required. This value should be a milliseconds epoch date such as:
1678237877897
end: epoch (ms) OPTIONAL
The ending date in epoch form for the date range. If no end parameter is passed in, the API will return all leads from the start parameter onward. This value should be a milliseconds epoch date such as:
1678237877897
Understanding the Response
The response is returned as a JSON array of lead objects. Each 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.
Each lead also has an "epoch" value that signifies the time in milliseconds that the lead was collected. The response by default returns leads sorted by this "epoch" value.
Each 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.
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