Skip to the content

API reference · Lead searches

Start a lead search

Start a planned lead search (spends credits)

POSThttps://api.signalvan.com/v1/searches
Step 6 of 9: Start the lead search
Needs leads:writeUses credits after confirmIdempotency-Key60 a minute

Starts a planned lead search. confirm must be true, and only after the user saw the plan's credits and agreed.

  • 202 started: follow it with GET /searches/{search_id}/wait, then read GET /searches/{search_id}/leads. The Location header is the lead search.
  • 200 nothing new started: the same lead search ran in the last 7 days and is reused (send refresh: true to lead search again), or this plan already started its lead search.

A plan starts at most one lead search and expires after 15 minutes (409 plan_expired: plan again). At most 2 lead searches run at once per website (409 busy).

Credits: used as the lead search runs, up to the plan's max_credits (signals) or credit_limit (directory); the answer carries the live balance. Outreach continues in the SignalVan app through app_url. Send an Idempotency-Key to retry safely.

Query

  • website_idstring

    The website to act on (GET /websites). Left out: the key's default website, else its only one; a key that opens several websites and has no default must send it Example: 6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14

Headers

  • Authorizationstringrequired

    Bearer and your API key. Keys are made in SignalVan: Account, API keys. Example: Bearer sv_live_...

  • Content-Typestringrequired

    The body is JSON. Example: application/json

  • X-Website-Idstring

    The same as website_id, as a header (the query parameter wins when both are sent) Example: 6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer comes back (24 hours) Example: plan-2026-11-20-leeds-01

Body

application/json
  • plan_idstringrequired

    plan_id from POST /v1/searches/plan (15 minutes, this key and website only)

  • confirmbooleanrequired

    The JSON value true (not "true" or 1): the user saw the plan's credits and agreed

  • refreshboolean

    lead search again even if the same lead search ran in the last 7 days

Response · 200

application/json
  • searchSearchrequired

    The lead search: follow it with GET /searches/{search_id}/wait

    Show 11 fields
    • idstringrequired

      The lead search id

    • statusstringrequired

      Where the lead search is

      queuedrunningdoneerror
    • progressstring | null

      The latest progress line in plain words (null before it starts)

    • titlestring | null

      The list's name, in the words of the request (or the name the user gave it)

    • created_atstring | null

      When it was started

    • updated_atstring | null

      When it last changed

    • leads_totalinteger | null

      The likely customers it found (null until done). The leads list also holds partners and leads to check, so its total can be higher

    • countsobject | null

      Breakdowns when done (by_country, by_segment, kinds and more), null until then

    • outcomestring | null

      done or done_with_problems when the lead search is done, else null

    • errorstring | null

      Why it stopped, in plain words, when status is error

    • app_urlstringrequired

      Open the lead search in SignalVan

  • startedbooleanrequired

    true when a new lead search started now

  • reusedbooleanrequired

    true when nothing new started: the same lead search from the last 7 days, or the one this plan already started

  • creditsStartCreditsrequired

    The live balance

    Show 1 fields
    • balanceCreditsrequired

      The live balance

  • nextstringrequired

    What to do next, in plain words

Response · 202

application/json
  • searchSearchrequired

    The lead search: follow it with GET /searches/{search_id}/wait

    Show 11 fields
    • idstringrequired

      The lead search id

    • statusstringrequired

      Where the lead search is

      queuedrunningdoneerror
    • progressstring | null

      The latest progress line in plain words (null before it starts)

    • titlestring | null

      The list's name, in the words of the request (or the name the user gave it)

    • created_atstring | null

      When it was started

    • updated_atstring | null

      When it last changed

    • leads_totalinteger | null

      The likely customers it found (null until done). The leads list also holds partners and leads to check, so its total can be higher

    • countsobject | null

      Breakdowns when done (by_country, by_segment, kinds and more), null until then

    • outcomestring | null

      done or done_with_problems when the lead search is done, else null

    • errorstring | null

      Why it stopped, in plain words, when status is error

    • app_urlstringrequired

      Open the lead search in SignalVan

  • startedbooleanrequired

    true when a new lead search started now

  • reusedbooleanrequired

    true when nothing new started: the same lead search from the last 7 days, or the one this plan already started

  • creditsStartCreditsrequired

    The live balance

    Show 1 fields
    • balanceCreditsrequired

      The live balance

  • nextstringrequired

    What to do next, in plain words

Responses

200Nothing new started: the same lead search was reused
202Started: follow the lead search until it finishes
400invalidA field is not valid (the detail names it)
401unauthorizedNo API key, or the key is not valid
402not_entitledNot enough credits, or above the limit (spending routes)
403scope_missingThe key lacks the permission (scope_missing)
404not_foundNot found, or not yours
409plan_expiredplan_expired, busy or idempotency_conflict (spending routes)
422needs_inputneeds_input: the plan still needs settings (spending routes)
429rate_limitedToo many requests: wait Retry-After seconds
503unavailableTemporarily unavailable: retry with backoff