Skip to main content
POST
Connection Request
Invites a LinkedIn member to connect — this is the endpoint for reaching people who are not yet connections, and it is not subject to the subscription restriction that Start Chat hits for non-connections. After the invitation is accepted the member appears in Relations and Start Chat works normally. Identify the recipient by their provider id (ACoAA…); resolve it from a public identifier such as satyanadella with the User Profile endpoint first. All parameters go in the JSON body (including account_id). The returned invitation_id can be canceled with Cancel Invitation. Write action: LinkedIn allows roughly 80-100 invitations per day depending on account age and activity, and accounts with little connection history may be blocked from sending them at all. See Pricing for current prices. Where supported, get a quote for your request.

Example

Path parameters and required query parameters are documented in the operation reference.

Request contract

  • Method and path: POST /apis/v1/unipile/linkedin/connection-requests/send
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/unipile/linkedin/connection-requests/send
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Published reference price: $0.02 USD per successful request. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
account_id
string
required

The id of the account where the user will be added.

provider_id
string
required

The id of the user to add. It has to be the provider’s id. LinkedIn Classic: inviting the connected account's own profile returns HTTP 422 (errors/cannot_invite_attendee).
Instagram: You can use the provider_id or the username of the user. The provider_messaging_id dont work on this route !

message
string

An optional message to go with the invitation (max 300 chars).

Maximum string length: 300
user_email
string<emailLike>

The email address of the user when it's required (Linkedin specific).

Response

OK. Request succeeded.

invitation_id
string
required
object
enum<string>
required
Available options:
UserInvitationSent
usage
number

A percentage of query usage based on the limit set by the provider. Triggers only on passing a new landing (50, 75, 90, 95).