Skip to main content
POST
Repost LinkedIn post

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

linkedin_account_sid
string
required

LinkedIn account sid (ln_ac_…), the authoring account. Identity-bound: REQUIRED, posts publish AS this account.

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

The post to repost: urn:li:activity:, urn:li:share: or urn:li:ugcPost:.

Pattern: ^urn:li:(activity|share|ugcPost):\d+$
text
string

Your own words above the reposted post. Omit (or blank) for a plain repost.

Maximum string length: 3000
visibility
enum<string>

With text only. ANYONE (the default) or CONNECTIONS_ONLY.

Available options:
ANYONE,
CONNECTIONS_ONLY
allowed_commenters_scope
enum<string>

With text only. ALL (the default), CONNECTIONS_ONLY, or NONE to disable comments.

Available options:
ALL,
CONNECTIONS_ONLY,
NONE
mentions
object[]

With text only: profile mentions as ready positions over text, as create_linkedin_post takes them.

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