Skip to the content

API reference · Leads

Preview enrichment

Preview finding work emails or mobiles for leads (spends nothing)

POSThttps://api.signalvan.com/v1/searches/{search_id}/enrich/preview
Needs leads:writeUses no creditsIdempotency-Key60 a minute

After step 8: preview a contact lookup.

Works out a contact lookup for leads of a finished lead search exactly as the SignalVan app's lookup sheet does: who it runs for (best lead score first, at most 1,000), who is skipped and why, what each person needs, and the credits as a range with the live balance. ready is false with a problem when nothing can be looked up or the credits are short (then covers says how many of the best people the credits cover).

Name the leads with lead_keys, or group (one group of the app's lead board: ready, needs_email, partner, look, aside, companies), or neither for every lead. want is email, phone or both. For companies (the companies with nobody named yet) the decision makers are found first, then their work emails.

Show the user credits.sentence and who is skipped; when they agree, start it with POST /searches/{search_id}/enrich and the same body plus confirm: true.

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

  • 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
  • lead_keysstring[] | null

    These leads (lead_key from the leads list), up to 1,000

  • groupstring | null

    Or one group of the app's lead board: ready (good fit with a verified email), needs_email (good fit, email not found yet), partner, look (people to check), aside (set aside), companies (companies with nobody named yet: their decision makers are found first)

    readyneeds_emailpartnerlookasidecompanies
  • wantstring

    Work emails, mobiles or both

    emailphoneboth
  • limitinteger | null

    Keep only the best N people (by lead score)

  • max_creditsinteger | null

    The most credits the lookup may use

Response · 200

application/json
  • search_idstringrequired

    The lead search

  • wantstringrequired

    What is looked up: work emails, mobiles or both

    emailphoneboth
  • modestringrequired

    contacts: emails and mobiles of the people; decision_makers: the companies group, whose decision makers are found first

    contactsdecision_makers
  • peopleintegerrequired

    People in the selection (best lead score first, at most 1,000)

  • matchedintegerrequired

    People the selection matched before the 1,000 cap and limit

  • qualifiesintegerrequired

    People something can be looked up for now

  • to_look_upintegerrequired

    The same as qualifies

  • itemsEnrichmentItemsrequired

    What the people need, per kind of detail

    Show 4 fields
    • profileobject

      Contact lookups: full profiles: need (none yet), done (already have one), tried (none was found last time)

    • emailobject

      Contact lookups: work emails: need (no email yet), now (can be looked up now), after_profile (once a profile brings the company website), cannot (nothing to look them up with)

    • phoneobject

      Contact lookups: mobiles: need (no mobile yet)

    • peopleobject

      Finding decision makers (the companies group): site (a confirmed website, the person next), site_first (the website found first), cannot, has_person

  • skippedSkippedReason[]required

    Everyone skipped, by reason

    Show 2 fields
    • reasonstringrequired

      Why nothing can be looked up for them yet

    • countintegerrequired

      How many people

  • skipped_peopleSkipped[]required

    The people skipped, with why (up to 50)

    Show 3 fields
    • lead_keystringrequired

      The lead's lead_key

    • namestringrequired

      The person or business

    • whystringrequired

      Why nothing can be looked up for them yet

  • skipped_totalintegerrequired

    How many people are skipped in all

  • creditsEnrichmentCreditsrequired

    The credits, before anything is used

    Show 7 fields
    • rangeCreditRangerequired

      The credits as a range, with one plain sentence

    • likelyinteger | nullrequired

      What it usually uses

    • at_mostinteger | nullrequired

      The most it may use

    • keep_at_leastinteger | nullrequired

      The credits the account needs available to start it

    • sentencestringrequired

      The estimate in one plain sentence: show it to the user

    • miss_freebooleanrequired

      true when a lookup that finds nothing uses no credits

    • balanceCreditsrequired

      The live balance

  • coversinteger | nullrequired

    When the credits are short: how many of the best people they cover (send limit with this number to look up those)

  • readybooleanrequired

    true when it can start: someone to look up and enough credits

  • problemstring | nullrequired

    Why it cannot start yet, in plain words (null when ready)

  • nextstringrequired

    What to do next, in plain words

  • app_urlstringrequired

    The lead search in SignalVan

Responses

200Who would be looked up, who is skipped and the credits
400invalidA field is not valid (the detail names it)
401unauthorizedNo API key, or the key is not valid
402Not enough credits, or above the limit (spending routes)
403scope_missingThe key lacks the permission (scope_missing)
404not_foundNot found, or not yours
409not_finishedplan_expired, busy or idempotency_conflict (spending routes)
422needs_input: the plan still needs settings (spending routes)
429rate_limitedToo many requests: wait Retry-After seconds
503unavailableTemporarily unavailable: retry with backoff