View as Markdown

Add People to List

POST/v2/people/lists/add

Adds people the workspace has already saved to one people list. Never saves, reveals or charges: a person the workspace has not saved comes back not_saved (save them with POST /v2/people/save). Safe to repeat: a person already in the list comes back already_in_list and nothing changes. Every requested id comes back once in items, in request order. Free: costs no credits.

Body parameters

  • list_idstringrequired

    The people list: an id from GET /v2/lists?type=people.

  • idsstring[]required

    Person ids (24 hex characters, as POST /v2/people/search answers them), 1-500.

Responses

  • 200 What happened to each id.
  • 400 Invalid body (VALIDATION_ERROR with payload.code), or list_id is not a live people list of this workspace (invalid_value).
  • 401 Missing, unknown or inactive credentials (UNAUTHORIZED).
  • 429 Too many requests (RATE_LIMIT). Not sent today: this operation is not rate limited.
  • 500 Unexpected server error.

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