Write

Set Enrollment Policy

Update the safeguards that decide which contacts are eligible to enter your outreach campaigns. Set account-wide defaults by omitting campaign_id, or apply a per-campaign override using a tristate of 'skip', 'allow', or null (inherit the default). Toggles cover pending invitations, unsubscribes, blocklist membership, recently messaged contacts, same-sender or cross-sender touches, other active acquisition campaigns, and already-connected profiles. Omit any field to leave it unchanged.

set_enrollment_policyPATCH/api/v1/enrollment-policy
crispy — bash

Example prompt: Set my default enrollment policy to skip anyone I've messaged in the last 30 days and skip unsubscribed contacts, then for the Q3 Founders campaign allow already-connected people.

{
  "level": "user",
  "updated": {
    "skip_if_messaged_within_n_days": true,
    "messaged_within_n_days": 30,
    "skip_if_unsubscribed": true
  }
}
Permission scope
core
Access
Write
Category
Campaigns

What you can build

Set safe account-wide defaults so no campaign ever messages someone you contacted in the last 30 days
Override a single campaign to allow already-connected contacts while keeping the global skip rule
Prevent two senders from both reaching the same prospect by enforcing same-sender and cross-sender skip rules
Keep unsubscribed and blocklisted contacts permanently out of every outreach sequence

Parameters

Inputs accepted by set_enrollment_policy.

NameTypeDescription
campaign_idstringOptional. When provided, updates campaign_enrollment_policy (tristate). Omit to update user_enrollment_policy (boolean defaults).
skip_if_pending_invitationboolean | string | nullUser level: boolean. Campaign level: 'skip', 'allow', or null (inherit).
skip_if_unsubscribedboolean | string | nullUser level: boolean. Campaign level: 'skip', 'allow', or null (inherit).
skip_if_on_blocklistboolean | string | nullUser level: boolean. Campaign level: 'skip', 'allow', or null (inherit).
skip_if_messaged_within_n_daysboolean | string | nullUser level: boolean. Campaign level: 'skip', 'allow', or null (inherit).
messaged_within_n_daysnumberThreshold in days for the messaged-within-N-days toggle. Applies to both levels.
skip_if_other_active_acquisitionboolean | string | nullUser level: boolean. Campaign level: 'skip', 'allow', or null (inherit).
skip_if_same_sender_touchedboolean | string | nullUser level: boolean. Campaign level: 'skip', 'allow', or null (inherit).
skip_if_other_sender_messagedboolean | string | nullUser level: boolean. Campaign level: 'skip', 'allow', or null (inherit).
skip_if_already_connectedboolean | string | nullUser level: boolean. Campaign level: 'skip', 'allow', or null (inherit).

The complete LinkedIn API. Ready when you are.

Connect your first LinkedIn profile in under 5 minutes. Every tool, every seat, no feature gates. Safe limits, warm-up, and full permission control built in.