Sign in

Create UGC post

documented

Create a user-generated content post (UGC) on LinkedIn.

POST /v2/ugcPostsContentno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.linkedin.com/v2/ugcPosts" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-Restli-Protocol-Version: 2.0.0" \
  -d '{ "author": "urn:li:person:{{$author_id}}", "lifecycleState": "PUBLISHED", "specificContent": { "com.linkedin.ugc.ShareContent": { "shareCommentary": { "text": "{{$description}}" }, "shareMediaCategory": "NONE" } }, "visibility": { "com.linkedin.ugc.MemberNetworkVisibility": "PUBLIC" } }'
Create UGC post · LinkedIn · OpenIntegrations