# X-GitHub-Api-Version 2022-11-28 stops working

Calls to header x-github-api-version: 2022-11-28 on GitHub REST API stop working on March 10, 2028.

On March 10, 2028, GitHub will retire the API version specified by the header x-github-api-version: 2022-11-28. Calls sending this version will fail after that date. Instead of processing the requests, GitHub REST API will return a 410 Gone response.

## What to use instead

Update requests to send X-GitHub-Api-Version: 2026-03-10 instead. Moving to this version requires making the updates described in its breaking changes list.

- API: GitHub REST API (api.github.com)
- Kind: Version retirement
- Takes effect: March 10, 2028
- Calls after that day: fail
- Calls it hits: `header x-github-api-version: 2022-11-28`
- Source: [Lifecycle page](https://docs.github.com/en/rest/about-the-rest-api/api-versions)
- Verified: November 6, 2026, against GitHub REST API's own pages
- Page: https://www.okapi.bot/providers/github-rest-api/breaking-changes/x-github-api-version-2022-11-28-stops-working/

## GitHub REST API's words

> API version: 2022-11-28; End of support date: March 10, 2028. Requests that specify a closing down API version receive a 410 Gone response.

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