Linkedin

Learn how to use Linkedin with Composio

Overview

SLUG

LINKEDIN

Description

LinkedIn is a professional networking platform enabling job seekers, companies, and thought leaders to connect, share content, and discover business opportunities

Authentication Details

client_id
stringRequired
client_secret
stringRequired
oauth_redirect_uri
stringDefaults to https://backend.composio.dev/api/v1/auth-apps/add
scopes
stringDefaults to openid,profile,w_member_social,email
bearer_token
string

Tools

SLUG: LINKEDIN_CREATE_LINKED_IN_POST

Creates a new post on linkedin for the authenticated user or an organization they manage; ensure the user has necessary permissions if posting for an organization.

Action Parameters

author
stringRequired
commentary
stringRequired
distribution
object
isReshareDisabledByAuthor
boolean
lifecycleState
stringDefaults to PUBLISHED
visibility
stringDefaults to PUBLIC

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: LINKEDIN_DELETE_LINKED_IN_POST

Deletes a specific linkedin post (share) by its unique `share id`, which must correspond to an existing share.

Action Parameters

share_id
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: LINKEDIN_GET_COMPANY_INFO

Retrieves organizations where the authenticated user has specific roles (acls), to determine their management or content posting capabilities for linkedin company pages.

Action Parameters

count
integerDefaults to 10
role
stringDefaults to ADMINISTRATOR
start
integer
state
stringDefaults to APPROVED

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: LINKEDIN_GET_MY_INFO

Fetches the authenticated linkedin user's profile, notably including the 'author id' required for attributing content such as posts or articles.

Action Parameters

Action Response

data
objectRequired
error
string
successful
booleanRequired