Skip to main content
POST
Create LinkedIn comment

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

linkedin_account_sid
string
required

LinkedIn account sid (ln_ac_…), the authoring account. Identity-bound and non-creditable: REQUIRED, never a pool account.

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

urn:li:activity:, the post handle. The post does NOT need to be tracked or owned by us. Resolve a linkedin.com post URL first with get_activity_urn_by_url.

Required string length: 1 - 512
text
string
required

The comment body (caller-supplied, no templates or AI in-app).

Required string length: 1 - 1250
parent_comment_urn
string | null

Reply target: the comment URN to reply under. Omit or null for a top-level comment.

Maximum string length: 512
force_dedup
boolean | null

Accepted for contract compatibility and NOT enforced by this service today: per-post dedup left with the content trio (gs.service.signals). Passing it changes nothing.

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
any
required
result
object
required
meta
object
required
credits
object