Skip to the content

API reference · Lead searches

Get a lead search

One lead search

GEThttps://api.signalvan.com/v1/searches/{search_id}
Step 7 of 9: Track progress
Needs leads:readUses no credits300 a minute

One lead search: its status (queued, running, done, error), the latest progress line, the counts once done and a link to open it in SignalVan. Poll it, or hold GET /searches/{search_id}/wait instead.

Credits: none.

Path

  • search_idstringrequired

    A lead search id (GET /searches) Example: 3f6d2a8e-9b1c-4e57-8a20-6c4b1d9e7f35

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_...

  • 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

Response · 200

application/json
  • 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

Responses

200The lead search
400invalidA field is not valid (the detail names it)
401unauthorizedNo API key, or the key is not valid
403scope_missingThe key lacks the permission (scope_missing)
404not_foundNot found, or not yours
429rate_limitedToo many requests: wait Retry-After seconds
503unavailableTemporarily unavailable: retry with backoff