Company Profiles

Learn how to fetch company profiles on LinkedIn using Unipile API.


List managed company pages

To find the LinkedIn company pages an authenticated user administers, call GET /v2/{account_id}/linkedin/company/pages. The response contains the company IDs that can be used to act on behalf of a page, for example when creating a post, commenting, or reacting.

const { data } = await linkedInApi.getManagedCompanyPages({
  path: {
    account_id: "acc_123456789",
  },
});
pages = linked_in_api.get_managed_company_pages("acc_123456789")
curl --request GET \
     --url https://api.unipile.com/v2/account_id/linkedin/company/pages \
     --header 'accept: application/json'

Get a company profile

To get the profile of a company, use the Get a Company Profile endpoint, specifying the ID of the company.

📘

About the company ID

The company ID can be either the system ID (numeric) or the public identifier (e.g. unipile in https://www.linkedin.com/company/unipile/).

const { data } = await linkedInApi.getClassicCompanyProfile({
  path: {
    account_id: "acc_123456789",
    company_id: "company_id",
  },
});
company = linked_in_api.get_classic_company_profile(
    "company_id",
    "acc_123456789",
)
curl --request GET \
     --url https://api.unipile.com/v2/account_id/linkedin/company/company_id \
     --header 'accept: application/json'

Did this page help you?