Leads
Get the status of the job.
Changed onThis endpoint is used to get the status of the job. Once the job is completed, the status will be "completed".
The status can be:
- pending
- processing
- step_linkedin
- step_import
- completed
- error
Once the job is completed, please use the getLeads endpoint to get all the leads that were upserted by this request.
get/api/external/v1/leads/get-status
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
Example response
{
"status": "pending",
"processed_rows": 10,
"total_rows": 100
}Changes
- breaking
added the new required
queryrequest parameterjob_id - breaking
removed the request body
- info
added the non-success response with the status
- breaking