Documentation Index
Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
OneCLI connects AI agents to LinkedIn through OAuth. Agents can read your profile, email, and create, modify, and delete posts, comments, and reactions. The gateway injects OAuth credentials into requests to the LinkedIn API automatically.Setup
Authorize
Click Connect LinkedIn. You’ll be redirected to LinkedIn to authorize OneCLI. Review the requested permissions and click Allow.
What agents can do
Profile (read) — View your name, photo, headline, and identity Email (read) — Access your primary email address Posts & Reactions (write) — Create, modify, and delete posts, comments, and reactions on your behalfUse cases
- Content agents that draft and publish LinkedIn posts
- Engagement agents that respond to comments
- Social media scheduling agents that post on a schedule
- Agents that cross-post content from other platforms to LinkedIn
Self-hosted setup
For self-hosted deployments, configure your own LinkedIn OAuth app:- Create an app in the LinkedIn Developer Portal
- Set the environment variables
LINKEDIN_CLIENT_IDandLINKEDIN_CLIENT_SECRET