Skip to main content
POST
Start Chat
Creates a LinkedIn conversation with one or more members and sends the opening message in a single call. LinkedIn rule: the recipient must already be a 1st-degree connection — list your connections first with the Relations endpoint and use those provider ids. Messaging a non-connection returns 403 subscription_required on this endpoint (LinkedIn only allows new chats with relations, InMail aside), and the account’s own profile is not a valid recipient either. To reach someone who is not yet connected, use the Connection Request endpoint — it is not subject to this restriction; message them after the invitation is accepted. Write action: same daily messaging limits as Send Message. Pass each recipient’s provider id (ACoAA…), which you can resolve from a public identifier with the User Profile endpoint. If a call does time out, verify the actual outcome via List Chats and the sent-invitations list before retrying. 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/chats/send
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/unipile/linkedin/chats/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

account_id
string
required

An Unipile account id.

Minimum string length: 1
attendees_ids
string[]
required

One or more attendee provider ID. For instagram, please use the 'provider_messaging_id'. For LinkedIn users, use a provider_id starting with: ACo for classic, ACw for Sales Navigator, AE for Recruiter. For LinkedIn company messaging, please use the 'messaging_id'. For WhatsApp, please use '00000000@s.whatsapp.net'.

Minimum array length: 1
subject
string

An optional field to set the subject of the conversation.

text
string

The message that will start the new conversation. With LinkedIn recruiter, a range of HTML tags can be used directly in the body of the message to enhance the presentation. The supported tags are <strong> for bold text, <em> for italic text, <a href="www.my-link.com"> for external links, <ul> for unordered lists, <ol> for ordered lists and <li> for list items. Tags can be nested into each other if necessary.

Response

Created. New chat created and message sent successfully.

chat_id
required

The Unipile ID of the newly started chat.

message_id
required

The Unipile ID of the message the chat started with.

object
enum<string>
required
Available options:
ChatStarted