Skip to main content
POST
Send a connection invitation

Authorizations

Authorization
string
header
required

Your API token (af_…) as the Basic-auth username, with an empty password.

Headers

X-Idempotency-Key
string

Makes a retry safe: the same request with the same key within 24 hours answers the first result and sends nothing. 8 to 200 characters; a blank header counts as none.

Required string length: 8 - 200

Body

application/json
accountId
string
required

The LinkedIn account (seat) to send from, by the id GET /business/accounts?channel=linkedin returns: your own seat, or one shared with you.

Required string length: 1 - 100
linkedinUrl
string
required

The LinkedIn profile URL of the person to invite, for example https://www.linkedin.com/in/jane-doe (max 500 characters).

Maximum string length: 500
note
string

The note sent with the invitation, up to 200 characters, the note a campaign's connection step allows. Omit it, or send an empty string, to invite without a note.

Maximum string length: 200

Response

Success

invitation
object
required