Skip to main content
GET
List leads
This lists leads that came into your account. It’s a different operation from Submit a Lead, which shares the /v1/leads path. Submitting authenticates as a source, and listing authenticates with an API key that has the leads:read ability. Leads come back newest first, 50 at a time. Pass next_cursor back as cursor, along with the same filters, to get the next page. A cursor only marks a position in the list, so the filters you send decide what comes back. When next_cursor is null, you’ve reached the end. A malformed cursor returns 422 with validation_failed.

Filters

  • customer returns only the leads that customer bought, including ones they returned. Archived customers work too. An ID that isn’t one of your customers returns validation_failed on customer.
  • partner returns only the leads sold to that partner, including ones they returned. Archived partners work too. An ID that isn’t one of your partners returns validation_failed on partner.
  • status returns only leads with that status (see below).
  • created_after and created_before limit when the lead came in. Send them as ISO 8601 with any offset, like 2026-11-01T00:00:00Z or 2026-11-01T00:00:00-05:00, and they’re compared in UTC. created_after includes leads at that exact time, and created_before stops just before it.
  • include_test=true adds test leads, which are left out by default, just like the leads list in Juiced. Looking up a test lead by its ID always works.

Statuses

status uses the same values on the lead and in the filter. Most match the lead statuses you see in Juiced, with two renamed for the API. A lead sold more than once has a single status, so read assignments to see each sale. Every sale has an entry, to a customer or a partner, with exactly one of customer and partner set. Each entry has what that buyer paid, when it was assigned, and returned_at if they returned it. A partner send that’s still in progress isn’t listed until it’s delivered. The lead’s own price is what its first sale went for, whether to a customer or a partner.

What’s not included

Lead endpoints never return contact details or other submitted fields. To read those, use Get Lead Details, which needs its own lead_details:read ability.

Authorizations

Authorization
string
header
required

An API key from Configure → API Keys (it starts with jz_live_), sent as a bearer token. See API Keys.

Query Parameters

customer
string

Only leads this customer bought, including ones they returned. Archived customers work too.

Pattern: ^cus_[0-9a-z]{26}$
partner
string

Only leads sold to this partner, including ones they returned. Archived partners work too.

Pattern: ^prt_[0-9a-z]{26}$
status
enum<string>

Only leads with this status.

Available options:
pending,
processing,
assigned,
duplicate,
returned,
unassigned,
withheld,
marketplace,
club,
audit,
posted,
uncategorized,
distribution_error
created_after
string<date-time>

Only leads created at or after this time, as ISO 8601 with any offset, like 2026-11-01T00:00:00Z or 2026-11-01T00:00:00-05:00.

created_before
string<date-time>

Only leads created before this time, as ISO 8601 with any offset. It must be later than created_after.

include_test
boolean
default:false

Send true to include test leads.

cursor
string

The next_cursor from the previous page.

Response

A page of leads.

data
Lead · object[]
next_cursor
string | null

Pass as cursor to get the next page. null on the last page.

version
enum<string>
Available options:
v1