PostAutoBot

Connect your AI agent · Post via REST API
① LinkedIn App Credentials

Create a LinkedIn app at developers.linkedin.com. Enable Sign In with LinkedIn using OpenID Connect and Share on LinkedIn products. Set the redirect URL to http://localhost:3000/auth/callback.

② Authenticate with LinkedIn Not connected

Authorize this app to post on your behalf. You'll be redirected to LinkedIn.

Connect LinkedIn Account
③ Your API Key

Your AI agent uses this key in the x-api-key header to authenticate requests.

④ Agent API Reference
POST http://localhost:3000/api/post


"text" string // Required. The LinkedIn post body. "title" string // Optional. Article title (shown with link preview). "url" string // Optional. Link to the full blog post. "visibility" string // "PUBLIC" | "CONNECTIONS" (default: PUBLIC)

{ "success": true, "post_id": "urn:li:share:1234567890", "post_url": "https://www.linkedin.com/feed/update/..." }