Vira LinkedIn Auth
OAuth2 Token Management and Posting API
GET
/api/linkedin/callback
OAuth2 redirect handler. Receives authorization code and exchanges for tokens.
GET
/api/linkedin/status
Check if valid LinkedIn tokens are stored.
POST
/api/linkedin/post
Publish a post to LinkedIn. Requires X-API-Key header. Supports optional image_url or image_base64 fields for image posts.
POST
/api/linkedin/comment
Comment on a LinkedIn post. Requires X-API-Key header.
POST
/api/linkedin/refresh
Refresh the access token using stored refresh token. Requires X-API-Key header.
Checking authorization status...