Skip to the content

API reference · Leads

Wait for enrichment

Wait until a contact lookup finishes (up to 50 seconds)

GEThttps://api.signalvan.com/v1/enrichments/{enrichment_id}/wait
Needs leads:readUses no credits300 a minute

After step 8: follow a contact lookup.

Holds the request until the contact lookup is done or stopped with an error, or until seconds pass (1 to 50, default 30), then answers it with finished. While finished is false, call it again.

Credits: none.

Path

  • enrichment_idstringrequired

    An enrichment id (from POST /searches/{search_id}/enrich) Example: 5d2e8b41-7c3a-4f96-b1e0-2a9c6d4f7e83

Query

  • secondsinteger

    The most seconds to wait, 1 to 50 Example: 50

  • 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
  • enrichmentEnrichmentrequired

    The contact lookup

    Show 11 fields
    • idstringrequired

      The enrichment id

    • statusstringrequired

      Where it is

      queuedrunningdoneerror
    • search_idstring | nullrequired

      The lead search whose leads get the details

    • wantstring | nullrequired

      What is looked up

      emailphoneboth
    • peopleinteger | nullrequired

      People it looks up

    • progressEnrichmentProgress | nullrequired

      The progress (the final counts once done; null while queued)

    • resultEnrichmentResult | nullrequired

      Once done: what it found (null before)

    • errorstring | nullrequired

      Why it stopped, when status is error

    • created_atstring | nullrequired

      When it started

    • updated_atstring | nullrequired

      Its last change

    • app_urlstringrequired

      The lead search in SignalVan

  • nextstringrequired

    What to do next, in plain words

  • finishedbooleanrequired

    true when it is done or stopped with an error

Responses

200The contact lookup, and whether it finished
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