Leads
Get the leads that were upserted by a job.
Changed onThis endpoint is used to get the leads that were upserted by a job.
get/api/external/v1/leads/get-leads
Request
- Base URLhttps://backend.genpage.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
job_idstring required
The job id returned by an upsert endpoint.
Example:9f1c8b2e-...
Response
object[] required
Example response
[
{
"lead_id": 56789,
"genpage_url": "https://myworkspace.genpa.ge/aws-john",
"name": "John Doe",
"email": "john@aws.com",
"company_name": "AWS"
}
]Changes
- breaking
added the new required
queryrequest parameterjob_id - breaking
removed the request body
- breaking
removed the media type
text/plainfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking