Skip to main content
POST
Send LinkedIn InMail

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_inmail.

linkedin_account_sid
string
required

LinkedIn account sid (ln_ac_…).

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

REQUIRED InMail subject; 1..200 chars.

Required string length: 1 - 200
text
string
required

InMail body; 1..1900 chars.

Required string length: 1 - 1900
ln_id
string | null

Regular-profile URN (ACoAA…); one URN required.

Maximum string length: 128
sn_id
string | null

Sales Navigator URN; interchangeable with ln_id.

Maximum string length: 64
attachments
object[]

Each .path must be an https:// URL.

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
credits
object