# /v2/organizationalEntityShareStatistics stops working

Calls to /v2/organizationalEntityShareStatistics* on LinkedIn API stopped working on December 16, 2024.

On December 16, 2024, LinkedIn retired the unversioned endpoint /v2/organizationalEntityShareStatistics*. Requests made to this endpoint fail after that day. The change directly affects developers who have not yet moved their integration to the versioned APIs.

## What to use instead

Call the versioned API /rest/organizationalEntityShareStatistics instead, and provide a LinkedIn-Version header formatted as YYYYMM.

- API: LinkedIn API (api.linkedin.com)
- Kind: Version retirement
- Takes effect: December 16, 2024
- Calls after that day: fail
- Calls it hits: `/v2/organizationalEntityShareStatistics*`
- Source: [Announcement](https://learn.microsoft.com/en-us/linkedin/marketing/integrations/migrations)
- Verified: November 6, 2026, against LinkedIn API's own pages
- Page: https://www.okapi.bot/providers/linkedin-api/breaking-changes/v2-organizationalentitysharestatistics-stops-working/

## LinkedIn API's words

> Developers using LinkedIn Marketing APIs unversioned to migrate to the latest versions. | December 16, 2024 | Deprecated

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
