Add People To The Do-Not-Contact List
li_suppress_profilesAdd LinkedIn profiles to the do-not-contact list — people who asked not to be contacted, existing customers, competitors, anyone the team must never invite or message from here. The do-not-contact list is checked at IMPORT — a listed prospect is NOT imported and is reported by name in result.suppressed of li_ingest_prospects — and again at INVITE time, so a queued invite for someone added to the list after their import is retired with category suppressed instead of sent — and before every automated message step, and by the assistant send tools (li_send_reply, li_send_message, li_send_bulk_messages), which REFUSE a listed person. Only a message a person types themselves in LinkedIn or on the dashboard is not blocked. It is per TEAM: an entry made with a personal token applies to every LinkedIn account that team runs and to nobody else; entries on the INSTALL-WIDE list (made by the operator, i.e. the shared secret) apply to every team. Dry-run unless confirmSuppress=true: the preview returns exactly what the confirmed call WOULD add (wouldAdd), who is already on the list (alreadyListed) and what is not a profile URL at all (invalid), so the user can confirm the real change. The confirmed call returns the same three buckets as added / alreadyListed / invalid plus a one-line summary that names every count — relay it whole, including the invalid ones, or the user believes people are protected who are not. Adding someone does not withdraw an invite already sent or stop a sequence already running; use li_mark_stopped for a live sequence.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Which list to write to. "mine" = this team only. "install" = EVERY team on this install, including other customers. Only an operator may choose; a personal token always writes its own team's list and this is ignored. Defaults to "install" for an operator, which is the wider of the two — check the dry run. | |
| reason | No | Why, in a few words (max 300 chars) — shown beside every refusal this entry causes, so write it for the colleague who reads it later. | |
| profileUrls | Yes | LinkedIn profile URLs or bare /in/ slugs, max 500 per call. A longer list is REFUSED rather than trimmed — split it and call again. The same person in several spellings is one row. | |
| confirmSuppress | Yes | Must be true to write; false returns a dry-run preview of what would change |