---
title: "Get the leads that were upserted by a job."
method: GET
path: "/api/external/v1/leads/get-leads"
tags: ["Leads"]
---

# Get the leads that were upserted by a job.

`GET /api/external/v1/leads/get-leads`

This endpoint is used to get the leads that were upserted by a job.

## Query parameters

- `job_id` string, required — The job id returned by an upsert endpoint.

## Response `200`

- object[]

## Other responses

- `401`
- `404`
- `503`

## Changes

- **2026-08-17** `dd3f47f72f7a` — 3 breaking, 3 info
  - added the new required `query` request parameter `job_id`
  - removed the request body
  - removed the media type `text/plain` for the response with the status `200`
  - added the media type `application/json` for the response with the status `200`
  - …2 more

[Change history](https://skmtc.dev/genpage/apis/genpage-external-api-documentation/changes/api/external/v1/leads/get-leads/get.md)

---

[API](https://skmtc.dev/genpage/apis/genpage-external-api-documentation.md) · [All operations](https://skmtc.dev/genpage/apis/genpage-external-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/genpage/genpage-external-api-documentation/revisions/29a37db12acb/schema)
