Skip to main content
POST
Send LinkedIn message

Authorizations

Authorization
string
header
required

Access token issued by gtm.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.

Team-SID
string
header
required

Team scope for tokens that do not carry one. Ignored when the token already names a team.

Body

application/json

Request body of send_linkedin_message.

linkedin_account_sid
string
required

LinkedIn account sid (ln_ac_…).

Required string length: 18
Pattern: ^ln_ac_
text
string
required

Message body; 1..8000 chars.

Required string length: 1 - 8000
linkedin_conversation_sid
string | null

Existing basic-messenger thread; provide this OR a profile URN. Our sid only: a raw LinkedIn 2-…== thread id is NOT accepted here, resolve it first with search_linkedin_conversations filter.conversation_hash.eq.

Required string length: 18
Pattern: ^ln_cv_
ln_id
string | null

Regular-profile URN (ACoAA…) for a new thread.

Maximum string length: 128
sn_id
string | null

Sales Navigator URN (ACwAA…); interchangeable with ln_id.

Maximum string length: 64
attachments
object[]

Exactly one of file_base64 / file_url per item; 35 MB decoded total per send. An item whose file_type is video/* is delivered as a playable video in the thread; any other type arrives as a generic file attachment.

client_reference
string | null

Your own key for this send (a task id, an idempotency token; max 255), stored as given on the row and searchable, so you can ask whether the send landed before repeating it.

Maximum string length: 255

Response

action success envelope.

success
enum<boolean>
required
Available options:
true
operation
enum<string>
required
Available options:
action
action
string
required

kebab-case verb; matches the route segment.

item
object | null
required
result
object
required
meta
object
required