linkedin-api: LinkedIn API access with managed OAuth via the maton CLI
This skill lets an agent call the LinkedIn API through Maton's managed OAuth. It covers sharing posts, reading and managing profile and organization information, uploading media, and the Ad Library. Maton handles the OAuth login, so the developer does not have to build the authorization flow.
What problem this skill solves
Calling the LinkedIn API directly means registering an app, running the OAuth flow, storing tokens, and renewing them. Each request also needs the right scopes and the right API version header.
With this skill, the user signs in to Maton once and approves a LinkedIn connection. Requests go through the `maton` CLI or raw HTTP with a Maton API key. Maton attaches the connection's credentials, and LinkedIn enforces what that connection is allowed to do.
Good for
- Sharing posts or other content to LinkedIn
- Reading profile or organization information
- Uploading media for a LinkedIn post
- Running a scheduled read of LinkedIn data through a hosted function that the user approved
Not for
- Other third-party apps; use the api-gateway skill instead
- Advertising campaign or ad account work when the required OAuth scopes are not confirmed
Trend
Growth slowing- Daily downloads, last 30 days
- 11
- Daily downloads, last 30 days vs the 30 days before
- -38.9%
How this skill works
- 1Sign in once with `maton login`, then confirm the session with `maton whoami --json`.
- 2After the user approves, create a LinkedIn connection with `maton connection create linkedin` and open the returned URL to authorize it, choosing only the scopes the task needs.
- 3Make LinkedIn calls with `maton api`, for example `maton api '/linkedin/rest/me' -H 'LinkedIn-Version: 202606'`. Read and list calls are the default; writes need the user's confirmation.
- 4If the user asks for unattended checks, write a hosted function that calls LinkedIn through the Maton SDK. Deploy it with `--network-policy DENY_ALL` after the user approves the code, the connections it can reach, and the network policy.
- 5Optionally, create a `time` trigger that calls that function on a cron schedule. Delete the connection, function, or trigger when the task is finished, after the user confirms which one.
Are you the author of this skill? Add its rank to your GitHub repo
The badge updates every day and links back to this page.
[](https://linkly.ai/skills/s/clawhub/linkedin-api)