# POST /api/v2/oauth/tokens is deprecated

Zendesk API deprecated POST /api/v2/oauth/tokens without giving a shutdown date yet.

Zendesk API has deprecated the POST /api/v2/oauth/tokens endpoint without announcing a shutdown date. Calls made to this endpoint will eventually fail once it is fully retired. This change affects any integration currently relying on the Create Token endpoint at that path.

## What to use instead

Request tokens using Create Token for Grant Type at POST /oauth/tokens instead.

- API: Zendesk API (*.zendesk.com)
- Kind: Endpoint removal
- Announced: August 26, 2026
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /api/v2/oauth/tokens`
- Source: [Announcement](https://developer.zendesk.com/api-reference/changelog/changelog/)
- Verified: November 6, 2026, against Zendesk API's own pages
- Page: https://www.okapi.bot/providers/zendesk-api/breaking-changes/post-api-v2-oauth-tokens-is-deprecated/

## Zendesk API's words

> The Create Token ( /api/v2/oauth/tokens ) endpoint is 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
