How to Get a LinkedIn API Key (2026 Update)

  • EnvoAPI team · Developer relations
  • Updated
  • 13 min read
LinkedIn API Key: Credentials, Tokens and Product Access

By the end of this guide, you’ll know where to find your LinkedIn API credentials, how to request access, and how to make your first request and read the response. We’ll also cover EnvoAPI as an alternative for public LinkedIn data when your official API access is still pending.

How to get a LinkedIn API key, step by step

01Open the LinkedIn Developer Portal

Sign in to your LinkedIn account and open My Apps. Click Create app. Have your app name, an appropriate LinkedIn Page, and a logo ready before filling in the form.

02Fill in the app registration form

Use details that describe the app you are actually building. Below is an example for a fictional CRM integration called Acme CRM Connector; replace the example domain and Page with your own.

Example app registration: Acme CRM Connector
FieldExample inputWhat to watch for
App nameAcme CRM ConnectorChoose a recognizable name that makes sense to someone authorizing the app.
LinkedIn PageYour organization’s Page, selected from the field’s suggestionsUse a company Page, rather than a personal profile. Follow the portal’s Page association and verification instructions.
Privacy policy URLhttps://example.com/privacyUse your own accessible policy URL. This screenshot does not mark the field as required; a product’s requirements may still call for it.
App logoYour app or company logoThe form recommends a square image and requires at least one dimension of 100 pixels.
Legal agreementRead the terms, then check the agreement box if you accept themComplete this before clicking Create app.
LinkedIn Create an app form showing App name, LinkedIn Page, Privacy policy URL, App logo, and legal agreement fields
Fill in the app details and select the appropriate LinkedIn Page before creating the app.

The Page field deserves a second look. The form warns that the association cannot be undone once saved. For individual developers, it also points to default Company Pages for certain API products. Follow those instructions if they apply to your product; creating a brand-new company Page is not always the necessary next step.

03Find your Client ID and Client Secret in Auth

Once the app is created, open Auth. Under Application credentials → Authentication keys, you will see your Client ID and masked Primary Client Secret.

LinkedIn Auth tab with blurred Client ID, masked Primary Client Secret, authorized redirect URLs, and an OAuth scopes section showing No permissions added
The app has credentials, but its OAuth scopes section still says “No permissions added.”

Copy the values into your server-side configuration. Keep the secret masked in any screenshots you share. If it is exposed, replace it and update your backend configuration.

Now scroll down to OAuth 2.0 scopes. In our screenshot, that section says “No permissions added”. You have created the app successfully, but there is another access step to finish.

Your new LinkedIn API key does not include data access by default

Open your app’s Products tab. Find the product for your use case, click Request access where available, and complete the requirements shown in the portal.

LinkedIn Products tab showing Request access buttons for Share on LinkedIn and Sign In with LinkedIn using OpenID Connect
Add the product your integration needs. Available products and review requirements depend on the app and use case.

LinkedIn lists OpenID Connect sign-in and Share on LinkedIn as self-service open permissions. Other programs require explicit approval or partner eligibility. A Request access button does not mean every product goes through the same review process.

Which LinkedIn access fits your feature
What you want to doAccess to investigate
Read the signed-in member’s basic profileSign In with LinkedIn using OpenID Connect, with openid profile. Request email only if your feature needs it.
Post for a signed-in memberShare on LinkedIn and w_member_social, with member authorization.
Look up other people or search profilesCheck whether a relevant LinkedIn program supports your use case. OpenID Connect sign-in does not provide arbitrary profile lookup or people search.
Work with company PagesCheck the specific organization’s API operation, product access, scopes, and role requirements. Linking a Page during app creation does not grant access to every company Page.

We recommend checking one required endpoint before building the rest of an integration. A working sign-in flow can prove that OAuth is configured correctly while leaving the data feature you care about unavailable.

Get an access token and make a test request

Open LinkedIn’s Developer Portal Token Generator, select your app, choose the member authorization flow with openid and profile scopes, then authorize access and copy the token. Include the email scope if you need email information. Save it as LINKEDIN_ACCESS_TOKEN in your local environment and run the request below to retrieve the signed-in member’s basic profile.

GETapi.linkedin.com/v2/userinfobash
curl --fail-with-body "https://api.linkedin.com/v2/userinfo" \  --header "Authorization: Bearer $LINKEDIN_ACCESS_TOKEN"
Response200with optional email fieldsjson
{  "sub": "example-member-4821",  "name": "Alex Morgan",  "given_name": "Alex",  "family_name": "Morgan",  "picture": "https://example.com/images/alex-morgan.jpg",  "locale": "en-US",  "email": "alex.morgan@example.com",  "email_verified": true}

This endpoint returns the signed-in member’s basic profile; it does not support looking up other people by LinkedIn URL.

How long does LinkedIn API approval take?

It depends on the product. Self-service access and restricted product reviews are different processes, so a single “LinkedIn approval time” would be misleading.

There are developers reporting long waits for restricted access. In an r/SaaS discussion about LinkedIn API approval, the author described waiting three weeks before shipping their integration. In the comments, u/zindalaash wrote:

“I have been struggling to get the API approved for LinkedIn Community Management. It’s been 3 months now. Any suggestions for it?”

u/zindalaashReddit

Asked whether any API access had been approved, the same commenter replied:

“Yes. I already have the posting API approved (for personal accounts). Working absolutely fine.”

u/zindalaashReddit

These are individual reports, not a published review SLA or an average wait time. They do show why we would not plan a company-Page feature around the assumption that personal-posting access covers it. Check the status of the specific product your feature needs before committing to a launch date.

Need public LinkedIn data? When EnvoAPI makes sense

EnvoAPI is an unofficial LinkedIn data API for public profile lookups, people search, and company data. Get an EnvoAPI key and start making requests without waiting for LinkedIn product approval.

Official LinkedIn API or EnvoAPI
What you needWhich API to use
Post automatically or manage a LinkedIn PageOfficial LinkedIn API — request the required permissions and wait for approval where needed.
Look up profiles, search people, or get company dataEnvoAPI’s unofficial LinkedIn API — create an API key and call the relevant endpoint.

How to get an unofficial LinkedIn API key with EnvoAPI

  1. Create an EnvoAPI account. Visit EnvoAPI and sign up. New accounts receive 100 free credits, so you can try profile lookups, people search, and company data requests before purchasing credits. Before scaling beyond the free allowance, review LinkedIn API costs and free access to choose a plan for your expected request volume.
  2. Create and name your API key. Once you’re signed in, open the API keys dashboard and create a new key. Give it any name you like, such as LinkedIn Test or CRM Integration. The name helps you identify the key later. Copy the generated key and save it somewhere safe; it is shown only once.
  3. Add the key to your request header. Include your key in the Authorization header, with Bearer followed by a space and your key:
Authorization headertext
Authorization: Bearer YOUR_ENVOAPI_KEY

Replace YOUR_ENVOAPI_KEY with the key you copied. For the examples below, save it in a server-side environment variable named ENVO_API_KEY; the request will read the key from that variable.

Make your first EnvoAPI request

Start with one profile lookup. The profile-by-username endpoint accepts a LinkedIn username; for https://www.linkedin.com/in/kentcdodds/, that input is kentcdodds.

With ENVO_API_KEY set in your terminal environment, run:

GET/v1/people/details/by-usernamebash
curl --fail-with-body --get \  "https://api.envoapi.com/v1/people/details/by-username" \  --data-urlencode "username=kentcdodds" \  --header "Authorization: Bearer $ENVO_API_KEY" \  --header "Accept: application/json"

The response includes more than a name and headline: work history, education, skills, certifications, images, and other profile details are grouped under data. Here is how you can use those fields:

What the profile response gives you
Profile dataWhat you can use it for
Name, headline, about, and imagesEnrich contact records and display a useful profile in your app.
Location and industryGroup contacts by region or business sector.
Experience and educationAdd job titles, companies, employment dates, schools, and degrees.
Skills, certifications, and languagesUnderstand a person’s professional background and qualifications.
Volunteer experience and honorsInclude activities and achievements alongside career details.
Counts and metadataRead follower and connection counts, credit cost, and section completeness.

The example below shows the full response structure, including nested objects, arrays, and metadata:

Response200application/jsonjson
{  "data": {    "publicId": "profile_306UPYDsPcmFVViQWoQPrxn3MsuDYyXxN6Yo5mI",    "username": "kentcdodds",    "linkedinUrl": "https://www.linkedin.com/in/kentcdodds/",    "fullName": "Kent C. Dodds",    "firstName": "Kent C.",    "lastName": "Dodds",    "headline": "Software Engineer and Educator",    "about": "My mission is to make the world a better place through quality software.I do that by helping developers build better software and better pro…",    "profileImages": [      {        "url": "https://image.envoapi.com/i/6HJB2tSxPm9zxDgENj7zT4oGtM-A5ZWixH7bmBuq1PG7aY_V7B1vnx8BtbdZYpiHoekcfq-d7fyYuCplwbtAUUrW6hBMTh41v3Z2oSq9f5pSTyPADu02dyrWliaTpbx2EndW1gwyBbk89ZHej12Bud6vFChlcKDHmgd8n9lzKcMSLQmFm8IGfCom15MRDdYbvuzRBHRGmAcORViZvfsAesj14ZSJJE6wCSS_a8mp-HrJLhS24Y1m1O1ADSOAhk4a1ekB7Kpy7EH5wfId0Ds1U9zSGC-Vh-Kjig",        "width": 400,        "height": 400      }    ],    "backgroundImages": [      {        "url": "https://image.envoapi.com/i/z6YHCKWeqZasRACsXsjM9HYP6R0c58UviwLjJOmuQ9oiTyB4Yw2uDDPCwwnxQvRO3n0-ihRyDyW3Rmn7PgYVHmJ6Kh9XjmDaZIWgOnRFWdYKffeEYO46hssycv2_m4Rat5t2A6fpIlFANbhBs9aDr6m5b5gTf4KdkIrJ4fe45eDHVIW6O2pvd5CQPqKweImfoUIu3CfSAbgcDd4bxv73_HxKqvu71TXV9ACkaz3aEqWloAJkEieQfLnh7LxfKbDjjducd63t3Zw3BunV5l6qXzIfAlgv6HpHdkySNg1dYaBQid0sfdOBWVMQ7_Uzt2Sfmj_r4T3s4Quq7jzJSqWvf6PQF6k",        "width": 1400,        "height": 350      }    ],    "location": {      "displayName": "American Fork, Utah, United States",      "locality": "American Fork, Utah",      "country": "United States",      "countryCode": "US"    },    "industry": {      "publicId": "industry_2hxvE1",      "name": "Information Technology & Services"    },    "primaryLocale": {      "language": "en",      "country": "US",      "script": null,      "variant": null    },    "supportedLocales": [      {        "language": "en",        "country": "US",        "script": null,        "variant": null      }    ],    "isPremium": false,    "isInfluencer": false,    "isCreator": false,    "isOpenToWork": false,    "isHiring": false,    "isMemorialized": false,    "counts": {      "followerCount": 13857,      "connectionCount": 1490    },    "experience": [      {        "title": "Software Engineer Educator",        "company": {          "publicId": "company_5bTwZz",          "name": "Kent C. Dodds Tech LLC"        },        "employmentType": null,        "location": "Utah, United States",        "description": null,        "dateRange": {          "start": {            "year": 2019,            "month": 2,            "day": null          },          "end": null,          "isCurrent": true        }      },      {        "title": "Google Developer Expert",        "company": {          "publicId": "company_2izhuB",          "name": "Google"        },        "employmentType": null,        "location": null,        "description": "Google Developers Experts (GDEs) are recognized for their exemplary work by Google and invited to be part of the growing GDE community. GDEs…",        "dateRange": {          "start": {            "year": 2016,            "month": 3,            "day": null          },          "end": {            "year": 2022,            "month": 12,            "day": null          },          "isCurrent": false        }      },      {        "title": "Co-Founder, Director of Developer Experience",        "company": {          "publicId": "company_1v0V5e",          "name": "Remix Software"        },        "employmentType": {          "code": "fullTime",          "name": "Full-time"        },        "location": "Utah, United States",        "description": "I'm in charge of what happens when someone decides they want to learn about Remix or an experienced user hits bumps in their Remix journey.",        "dateRange": {          "start": {            "year": 2021,            "month": 11,            "day": null          },          "end": {            "year": 2022,            "month": 8,            "day": null          },          "isCurrent": false        }      },      {        "title": "JavaScript Engineer",        "company": {          "publicId": "company_3y4BfL",          "name": "PayPal"        },        "employmentType": null,        "location": "Greater Salt Lake City Area",        "description": null,        "dateRange": {          "start": {            "year": 2015,            "month": 12,            "day": null          },          "end": {            "year": 2019,            "month": 1,            "day": null          },          "isCurrent": false        }      }    ],    "education": [      {        "school": {          "publicId": "school_QtmzI",          "name": null        },        "degree": "Master of Science Information Systems (MISM)",        "fieldOfStudy": "Web Development",        "grade": null,        "activities": null,        "description": null,        "dateRange": {          "start": {            "year": 2007,            "month": null,            "day": null          },          "end": {            "year": 2014,            "month": null,            "day": null          },          "isCurrent": false        }      },      {        "school": {          "publicId": "school_QtmzI",          "name": "Brigham Young University"        },        "degree": "Master of Information Systems Management",        "fieldOfStudy": "Information Systems",        "grade": null,        "activities": "Men's Chorus, Association of Information Systems (AIS)",        "description": "Men's Chorus: Vice President of Social and Digital Media Operations\nAssociation of Information Systems: Vice President of Knowledge Management",        "dateRange": {          "start": {            "year": 2007,            "month": null,            "day": null          },          "end": {            "year": 2014,            "month": null,            "day": null          },          "isCurrent": false        }      }    ],    "skills": [      "Web Applications",      "Web Development",      "JavaScript",      "Node.js",      "HTML",      "CSS",      "HTML 5",      "Programming",      "jQuery",      "OS X"    ],    "certifications": [      {        "name": "🚀 ⚛ EpicReact: React Fundamentals",        "issuerName": "Kent C. Dodds Tech LLC",        "issuedOn": {          "year": 2020,          "month": 9,          "day": null        }      },      {        "name": "Microsoft Most Valuable Professional (MVP)",        "issuerName": "Microsoft",        "issuedOn": {          "year": 2025,          "month": 2,          "day": null        },        "expiresOn": {          "year": 2026,          "month": 2,          "day": null        },        "doesNotExpire": false,        "credentialCode": "1a09186c-7139-4131-9522-f1b0fe94318f",        "credentialUrl": "https://mvp.microsoft.com/en-US/mvp/profile/1a09186c-7139-4131-9522-f1b0fe94318f"      }    ],    "languages": [      {        "name": "American Sign Language",        "proficiency": "elementary"      },      {        "name": "English",        "proficiency": "nativeOrBilingual"      }    ],    "courses": null,    "volunteerExperience": [      {        "role": "Co-President",        "organization": {          "publicId": null,          "name": "Association for Information Systems | BYU Chapter"        },        "dateRange": {          "start": {            "year": 2011,            "month": 12,            "day": null          },          "end": null,          "isCurrent": true        },        "description": "It is an amazing experience. I have the opportunity to serve my fellow students and help them find employers that they want to work for. It'…"      }    ],    "honors": [      {        "title": "BYU Academic Scholarship",        "issuerName": "Brigham Young University",        "issuedOn": {          "year": 2012,          "month": 8,          "day": null        },        "description": "Awarded scholarship for excellent academic performance."      },      {        "title": "Owen Cherrington Scholarship",        "issuerName": "Marriott School of Management, BYU",        "issuedOn": {          "year": 2012,          "month": 4,          "day": null        },        "description": "Students who receive this scholarship are those who exemplify the characteristics of Professor Cherrington in making the Information Systems…"      },      {        "title": "2nd Place, Information Systems Integrated Exercise 1 (INTEX 1)",        "issuerName": "Information Systems Department, BYU",        "issuedOn": {          "year": 2011,          "month": 12,          "day": null        },        "description": "As a group of four, we were given a week to respond to a fabricated request for proposal. We designed the system and implementation. I perso…"      },      {        "title": "Eagle Scout",        "issuerName": "Boy Scouts of America",        "issuedOn": {          "year": 2002,          "month": 11,          "day": null        },        "description": null      }    ]  },  "meta": {    "creditCost": 1,    "sections": {      "counts": "complete",      "experience": "complete",      "education": "complete",      "skills": "incomplete",      "certifications": "complete",      "organizations": "complete",      "languages": "complete",      "courses": "incomplete",      "volunteerExperience": "complete",      "honors": "complete"    },    "skills": {      "hasMore": true    }  }}
333 lines

Check meta.sections for section completeness and meta.skills.hasMore for additional skills.

LinkedIn data endpoints for profiles, people, and companies

With your EnvoAPI key ready, you can look up a profile, find people by keyword, or get company details.

Profile API: get details from a LinkedIn URL or username

Have a LinkedIn profile URL or username? Use the LinkedIn Profile API to get details such as their name, headline, location, work experience, education, and skills.

For example, the username in linkedin.com/in/kentcdodds/ is kentcdodds. The request above shows how to use it.

People Search API: find people by keyword

Use the LinkedIn Search API to find people with keywords such as software engineer or product manager. Add supported filters to narrow the results and use pagination to see more matches.

Once you find someone, use the Profile API to get more details about their professional background.

Company API: get details about a company

Have a LinkedIn company Page URL or company slug? Use the LinkedIn Company API to get details such as the company’s industry, size, headquarters, and follower count.

For example, the slug in linkedin.com/company/microsoft/ is microsoft. Use it with the company-by-slug endpoint to retrieve the company’s details.

Frequently asked questions

Where do I find my LinkedIn API key?

Open your app in the Developer Portal, then go to Auth → Application credentials → Authentication keys. The Client ID is the identifier LinkedIn also refers to as an API key. The Client Secret is a separate, confidential credential.

Can I read my own LinkedIn profile with a new app?

First add Sign In with LinkedIn using OpenID Connect and complete member authorization with the relevant scopes. The userinfo endpoint returns the signed-in member’s basic profile. Creating an app alone does not complete those steps.

Can I use that key to read someone else’s profile or a company Page?

A Client ID alone does not grant that access. Check the relevant official product and operation requirements. For public-data lookup through EnvoAPI, use the appropriate profile or company endpoint with an EnvoAPI key.

Does a LinkedIn API key expire?

Distinguish the app credentials from the access token. Access tokens have an expiry; check the generated token’s details or OAuth response. Do not assume that finding your Client ID means you have a usable, permanent access token.

Does EnvoAPI require LinkedIn product approval?

Calls to EnvoAPI use an EnvoAPI key and do not require adding a product to your LinkedIn developer app. They remain subject to EnvoAPI account access, credits, and limits. The key does not authorize calls to LinkedIn’s official API.

Topics

EnvoAPI team

Developer relations

Written and reviewed by the engineers and developer-relations staff who build and operate the EnvoAPI data enrichment platform.

From the blog

All articles

Skip the scraper, call the API

Live profile, company and job data from one REST API, with no proxies, sessions or parsers to maintain.

  • 100 free credits
  • No credit card required