Connect
Send or manage connection invitations. Connection requests may take 10-30 seconds to appear in the recipient's received list (LinkedIn propagation delay).
Usage
curviate core connect [id] [flags]Examples
curviate core connect janesmith
curviate core connect https://www.linkedin.com/in/janesmith --note "Enjoyed your talk on agents, would love to connect."Arguments
| Argument | Required | Description |
|---|---|---|
id | no | Recipient's LinkedIn URL, public slug, or provider_id (ACoAAA... from curviate core profile). LinkedIn URN (urn:li:member:N) also accepted but the numeric member ID is not exposed by this API. |
Flags
| Flag | Type | Required | Description |
|---|---|---|---|
--note | string | no | Note shown with the invitation. Up to 300 characters on LinkedIn Premium; LinkedIn allows 200 on a free account and a note on about 5 invitations a month (budget row connection_requests_with_note, see curviate account get). Omit it to send the invitation without a note. |
Also accepts these global flags: --api-key, --profile, --account, --base-url, --timeout, --json, --preview, --verbose, --beta.
Before you start: an API key and a connected LinkedIn account, see the Quickstart.
Commands
| Command | Description |
|---|---|
curviate core connect sent | Returns pending sent invitations only. Accepted and declined invitations are not returned (LinkedIn API limitation). Use id with curviate core connect cancel; use user.id (native member URN; the sent-variant carries no public slug) to identify the recipient. created_at is the platform's own ISO-8601 timestamp (not an approximation). No total count is available; use curviate core connect sent --all and count client-side. A very recently sent invitation may take a few minutes to appear here (LinkedIn-side indexing). |
curviate core connect received | Returns pending received invitations only. Already-handled invitations are not returned. The user.* fields (public_identifier, display_name, first_name, last_name) identify who sent the request. Use the id field with curviate core connect accept or curviate core connect decline. A very recently received invitation may take a few minutes to appear here (LinkedIn-side indexing). |
curviate core connect accept | Accept a received invitation. |
curviate core connect decline | Decline a received invitation. |
curviate core connect cancel | Cancel a sent invitation. |
Exit codes: the exit code table.