Skip to main content
POST
Create 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 create_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_
text
string
required

Post body, always present. Empty is legal ONLY alongside an image. 3000 is LinkedIn's own cap, refused here rather than burning a posting slot.

Maximum string length: 3000
images
object[]

At most one image. The wire refuses a second, so a longer array is a 422 here instead of a spent browser dispatch.

Maximum array length: 1
visibility
enum<string>

ANYONE (the node default) or CONNECTIONS_ONLY. Omit to let the node apply its own default.

Available options:
ANYONE,
CONNECTIONS_ONLY
allowed_commenters_scope
enum<string>

Who may comment: ALL (the node default), CONNECTIONS_ONLY, or NONE to disable comments.

Available options:
ALL,
CONNECTIONS_ONLY,
NONE

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