View as Markdown

Save People

POST/v2/people/save

Saves up to 500 people into 1-20 of your v2 lists, by GetProspect id or by LinkedIn profile URL (at most 50 URL items). Credits: 1 email credit per person whose stored valid email your workspace does not own yet; people are saved in request order until one needs a credit your balance does not have: the save stops there, and that person and everyone after them (people without an email included) come back in failed with reason: "needs_credits" - save them again after a top-up. A person already paid for is free to save again. Uses 1 unit of the enrich rate limit per linkedin_url item (none for one your workspace already owns); id items use none. Every item comes back in one of saved, not_matched, invalid or failed, echoing its identifier. Stale people: in a request of at most 50 people, while your workspace has at least one email credit left, a person whose data is older than 90 days and whose email your workspace does not own yet is refreshed before any charge. Their email comes back as { status: "searching", address: null, revealed: false, retry_after: 60 } and nothing is charged for it. The address is charged (1 email credit) only if the search finds one and your balance allows it. To get it, call Get a Person (GET /v2/people/{id}) after retry_after seconds: it costs no credits and serves the address once your workspace owns it. A signed-in session also receives the person.email_search.finished event when the search ends (signed-in sessions only; with an API key, read again after retry_after). If no email is found, nothing is charged. With no email credit left, the person comes back in failed as needs_credits, as above. Requests of more than 50 people and People Save Search never refresh: they hand over the stored email as before.

Body parameters

  • dataone of[]required

    People to save (1-500): person id strings or items with exactly one of id / linkedin_url (at most 50 linkedin_url items).

  • list_idsstring[]required

    v2 list ids to attach every saved person to (1-20).

    Example
    {
      "list_ids": [
        "64f1a2b3c4d5e6f7a8b9c0f1"
      ]
    }

Responses

  • 200 Every item in one of the four buckets; metadata.credits is the balance after the save.
  • 400 Invalid request (VALIDATION_ERROR; payload.code says which kind of mistake), or list_ids naming a list that is not a v2 list of your workspace.
  • 401 Missing, unknown or inactive credentials (UNAUTHORIZED).
  • 402 Your email credit balance is zero (PAYMENT_REQUIRED).
  • 429 Over the enrich rate limit (RATE_LIMIT); wait Retry-After seconds. Also sent once a Free workspace has used its enrichments for the billing period, and on any enrich unit of a Limited workspace (payload.code monthly_limit_reached, with plan, limit, reset_at and upgrade_url); Retry-After then counts down to reset_at.
  • 500 Unexpected server error.

For error handling see Errors. Response objects are described in Person object and Company object.