---
title: "LinkedIn API access token and refresh token lifetimes"
description: "LinkedIn tokens last 60 days; programmatic refresh tokens last a year for a limited set of partners, and refreshing never extends that year. What PubNio does."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# LinkedIn API access token and refresh token lifetimes

LinkedIn access tokens last 60 days. Programmatic refresh tokens last one year from the first authorization and are offered only to a limited set of partners; refreshing does not extend that year. Asking for a different scope set invalidates earlier tokens. (Checked 2026-12-05.)

## Facts

| Fact                                  | Official value                        | Source                                                                                                                        | Checked    |
| ------------------------------------- | ------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ---------- |
| Access token (days)                   | 60                                    | [LinkedIn 3-Legged OAuth Flow](https://learn.microsoft.com/en-us/linkedin/shared/authentication/authorization-code-flow)      | 2026-12-05 |
| Refresh token                         | One year                              | [Refresh Tokens with OAuth 2.0](https://learn.microsoft.com/en-us/linkedin/shared/authentication/programmatic-refresh-tokens) | 2026-12-05 |
| Refresh token lifetime when refreshed | Fixed from the first authorization    | [Refresh Tokens with OAuth 2.0](https://learn.microsoft.com/en-us/linkedin/shared/authentication/programmatic-refresh-tokens) | 2026-12-05 |
| Who gets refresh tokens               | A limited set of partners             | [LinkedIn 3-Legged OAuth Flow](https://learn.microsoft.com/en-us/linkedin/shared/authentication/authorization-code-flow)      | 2026-12-05 |
| Scope change                          | Earlier access tokens are invalidated | [LinkedIn 3-Legged OAuth Flow](https://learn.microsoft.com/en-us/linkedin/shared/authentication/authorization-code-flow)      | 2026-12-05 |

## Where official docs disagree

The official pages read for this page agree on every value above.

## What PubNio enforces

- PubNio stores a refresh token and its expiry when LinkedIn returns one, but the LinkedIn adapter does not refresh: after the access token expires, the account reconnects.

## Read the live value

- [`GET /api/v1/integrations/accounts/{accountId}`](https://pubnio.com/api/v1/docs#tag/integrations/GET/api/v1/integrations/accounts/{accountId}) reports `needs_reconnect` with reason
  `token_expired` when a LinkedIn token can no longer be used; [`POST /api/v1/integrations/accounts/{accountId}/reconnect`](https://pubnio.com/api/v1/docs#tag/integrations/POST/api/v1/integrations/accounts/{accountId}/reconnect) keeps the account ID.

## Related errors

- A provider 401 becomes an `auth` provider error and a 403 a `permission` error; neither is retried.
- [LinkedIn error codes](https://pubnio.com/docs/errors/linkedin/) lists the errors PubNio returns for LinkedIn and how to fix each.

## Limits

- A LinkedIn connection needs the member to sign in again about every 60 days.

## Sources

- [LinkedIn 3-Legged OAuth Flow](https://learn.microsoft.com/en-us/linkedin/shared/authentication/authorization-code-flow), checked 2026-12-05

  ```text
  all access tokens are issued with a 60-day lifespan.
  Programmatic refresh tokens are available for a limited set of partners.
  all the previous access tokens are invalidated
  ```

- [Refresh Tokens with OAuth 2.0](https://learn.microsoft.com/en-us/linkedin/shared/authentication/programmatic-refresh-tokens), checked 2026-12-05

  ```text
  programmatic refresh tokens are valid for a year
  remains the same as specified in the initial OAuth flow
  ```

## Related

- [Posting limits](https://pubnio.com/docs/providers/linkedin/limits/)
- [Rate limits and quota](https://pubnio.com/docs/providers/linkedin/quota/)
- [Scopes and permissions](https://pubnio.com/docs/providers/linkedin/scopes/)
- [App review and access](https://pubnio.com/docs/providers/linkedin/app-review/)
- [Media requirements](https://pubnio.com/docs/providers/linkedin/media/)
- [API versions](https://pubnio.com/docs/providers/linkedin/versioning/)
- [LinkedIn error codes](https://pubnio.com/docs/errors/linkedin/)
- [Publishing to LinkedIn](https://pubnio.com/docs/networks/linkedin/)
- [Provider API explainers](https://pubnio.com/docs/providers/)

Source: https://pubnio.com/docs/providers/linkedin/tokens/index.mdx
