---
{
  "title": "How to create a Zendesk API token in 2026, and what to use now that you can't",
  "slug": "zendesk-api-token-create",
  "intent": "icp-competitor",
  "locale": "en",
  "date": "2026-02-27",
  "updated": "2026-11-30T13:46:11Z",
  "template": "default",
  "excerpt": "Zendesk stopped letting anyone create API tokens on October 27, 2026. Here is how to keep an existing token alive, and how to create the OAuth access token that replaces it.",
  "categories": ["Guides","Zendesk AI"],
  "tags": [
    "Zendesk",
    "API",
    "Authentication",
    "Customer Support",
    "Integration"
  ],
  "readTime": 11,
  "author": 20,
  "reviewer": 4,
  "seo": {
    "title": "How to create a Zendesk API token in 2026 (and the OAuth replacement)",
    "description": "You can't create a new Zendesk API token: creation was blocked on October 27, 2026 and every token stops on April 30, 2027. Use an OAuth access token instead.",
    "image": "https://cdn-public.eesel.ai/blog/banners/zendesk-api-token-create-mx3bl1yo-adbf58-20261130.webp"
  },
  "coverImage": "https://cdn-public.eesel.ai/blog/banners/zendesk-api-token-create-mx3bl1yo-adbf58-20261130.webp",
  "coverImageAlt": "A developer at a laptop smiling at a browser window with a key that points to a second window with a padlock shield, beside the Zendesk logo",
  "coverImageWidth": 1536,
  "coverImageHeight": 1024,
  "cta": {
    "variant": "cli",
    "headline": "Connect Zendesk to eesel without an API token",
    "subhead": "Your coding agent runs the eesel CLI, a Zendesk admin approves once on Zendesk's own OAuth screen, and you test drafted replies before anything reaches a customer.",
    "primary": {
      "label": "Learn more",
      "action": "learn-more"
    },
    "secondary": {
      "label": "Try for free",
      "action": "signup"
    }
  },
  "faqs": {
    "heading": "Frequently Asked Questions",
    "type": "blog",
    "answerType": "html",
    "faqs": [
      {
        "question": "Can I still create a Zendesk API token?",
        "answer": "No. Since October 27, 2026 no Zendesk account can create a new API token, in Admin Center or through the API, and accounts created on or after July 28, 2026 can't create or use them at all. Create an OAuth access token instead; <a href=\"https://www.eesel.ai/blog/zendesk-oauth-app-creation\">creating a Zendesk OAuth app</a> covers the client setup."
      },
      {
        "question": "When do Zendesk API tokens stop working?",
        "answer": "Every remaining API token is deactivated on April 30, 2027 and can't be reactivated after that. Before then, a token that goes 30 days unused is deactivated, and one that stays deactivated for 60 days is deleted. A 401 from a token that used to work is usually this; see <a href=\"https://www.eesel.ai/blog/zendesk-api-error-codes\">Zendesk API error codes</a>."
      },
      {
        "question": "Who can create a Zendesk OAuth client and access token?",
        "answer": "An admin creates the OAuth client in Admin Center under Apps and integrations > APIs > OAuth clients. Creating tokens through the API needs an admin or an agent with the Manage APIs permission. Which scopes to give it is covered in <a href=\"https://www.eesel.ai/blog/zendesk-api-oauth-scopes\">Zendesk API OAuth scopes</a>."
      },
      {
        "question": "What's the difference between a Zendesk API token and an OAuth access token?",
        "answer": "An API token is a permanent password sent with an email address, with no scopes and no expiry while it's used. An OAuth access token is sent as a Bearer token, expires after 30 minutes by default and can be limited to scopes such as tickets:read. <a href=\"https://www.eesel.ai/blog/zendesk-api-authentication-and-scopes\">Zendesk API authentication</a> compares them in more depth."
      },
      {
        "question": "How do I create an OAuth access token for a Zendesk script with no user involved?",
        "answer": "Create a confidential OAuth client, then POST grant_type=client_credentials with its client_id, client_secret and a scope to https://{subdomain}.zendesk.com/oauth/tokens. You get an access token with no refresh token, so request a new one the same way when it expires. <a href=\"https://www.eesel.ai/blog/zendesk-api-development\">The Zendesk API development guide</a> covers the wider build."
      },
      {
        "question": "Can I reactivate a deactivated Zendesk API token?",
        "answer": "Yes, within 60 days of deactivation: open Apps and integrations > APIs > API tokens, click the options menu next to the token and select Reactivate. It buys time until April 30, 2027, not a fix; <a href=\"https://www.eesel.ai/blog/zendesk-api-error-codes\">the 401 section of Zendesk API error codes</a> explains how to spot a deactivated token."
      },
      {
        "question": "Do I need an API token to connect an AI agent to Zendesk?",
        "answer": "Not for <a href=\"https://www.eesel.ai/integrations/zendesk\">eesel</a>: a Zendesk admin approves it on Zendesk's own OAuth screen, so the token removal doesn't touch it, and you choose which actions it takes alone, asks first for, or never takes."
      }
    ],
    "supportLink": null
  },
  "alternates": {
    "x-default": "zendesk-api-token-create",
    "en": "zendesk-api-token-create",
    "de": "zendesk-api-token-create",
    "es": "zendesk-api-token-create",
    "fr": "zendesk-api-token-create",
    "ja": "zendesk-api-token-create",
    "pt": "zendesk-api-token-create"
  }
}
---

## TL;DR

<mark>You can't create a new Zendesk API token anymore</mark>: Zendesk blocked token creation for every account on October 27, 2026, and every remaining token stops working on April 30, 2027. If a guide tells you to click **Add API token**, it was written before the change. What you create instead is an OAuth access token: an admin adds an OAuth client in Admin Center, your code exchanges its credentials at `/oauth/tokens`, and you send `Authorization: Bearer <token>` where you used to send `email/token:api_token`. If you still have a working token, keep it in use (30 days unused deactivates it) while you migrate.

## Can you still create a Zendesk API token?

No. On June 1, 2026 Zendesk announced it is [removing API tokens](https://support.zendesk.com/hc/en-us/articles/10840968198042-Announcing-the-removal-of-API-tokens-as-an-authentication-method-for-API-requests) for the Ticketing, Help Center and Voice APIs, and the second phase, which ends token creation, began on October 27, 2026. Zendesk's own wording: <mark>"Accounts can no longer create new API tokens through the UI or API."</mark>

![Zendesk's help center announcement titled Announcing the removal of API tokens as an authentication method for API requests, edited Sep 16, 2026, with a table reading announced June 1, 2026, rollout starts July 28, 2026, rollout ends April 30, 2027](https://cdn-public.eesel.ai/blog/zendesk/images/zendesk-api-token-removal-announcement-20261130.png "The announcement behind every 'where did Add API token go?' question, as taken from [Zendesk's help center](https://support.zendesk.com/hc/en-us/articles/10840968198042-Announcing-the-removal-of-API-tokens-as-an-authentication-method-for-API-requests).")

The removal runs in three phases:

- **Since July 28, 2026:** any token unused for 30 days is deactivated, and a token that stays deactivated for 60 more days is deleted for good. Accounts created on or after that date can't create or use API tokens at all.
- **Since October 27, 2026:** no account can create a new API token. Existing active tokens keep working.
- **April 30, 2027:** every remaining token is deactivated, can't be reactivated, and the API token pages are removed from Admin Center.

![A timeline of Zendesk's API token removal: announced June 1, 2026; unused tokens deactivate July 28, 2026; no new tokens October 27, 2026; every token stops April 30, 2027; with a callout to move to OAuth and send a Bearer header](https://cdn-public.eesel.ai/blog/blog-gen/generated/zendesk-api-token-removal-timeline-mx399va2-c5b1f6-20261130.webp "Three dates, and the last one has no grace period.")

Zendesk gives its reason plainly: API tokens have no rotation, no scopes and no expiry, and <mark>"An API token can be used to impersonate any user in your account, including admins."</mark> Only Support API tokens are affected; API tokens for Messaging, Chat and other products are not part of this change.

## What should I do with the API tokens I already have?

Keep the ones you need alive, and move them to OAuth one at a time. Zendesk says the two can run side by side until April 30, 2027, so there's no need to switch everything at once.

1. In Admin Center, open **Apps and integrations > APIs > API tokens** and read each token's "Last used" and "Deactivates on" dates. Using a token resets its clock, so a token your integration calls at least once every 30 days won't deactivate.
2. Generate the usage report on the same page. It lists the last 7 days of requests made with API tokens, with the IP address, user agent, endpoint and the user's email, which is the quickest way to find out what still depends on each token.
3. If a token was deactivated in the last 60 days, open the options menu next to it and select **Reactivate**. That buys time, not a fix.
4. Watch for the quiet ones. Zendesk warns that <mark>"Workflows will stop executing, tickets won't sync, and automated processes may fail silently."</mark> A monthly or quarterly job is the classic case: it goes 30 days unused, deactivates, and fails the next time it runs.

Webhooks that call back into your own Zendesk with an API token stop working too. Zendesk suggests [action flows](https://support.zendesk.com/hc/en-us/articles/9712284817818) for many of those (their built-in Zendesk actions need no token at all) and says it will add native OAuth support for webhooks before the April 2027 deadline, without a date yet.

## How do I create an OAuth access token instead?

The OAuth access token is the replacement, and for a script or server-to-server job the fastest route is the `client_credentials` grant. These steps follow Zendesk's own [migration guide](https://developer.zendesk.com/documentation/authentication/oauth-migration/).

![A before-and-after comparison: the API token (being removed) used Basic auth with email/token:api_token, has had no new tokens since Oct 27, 2026, never expires and has full account access, and stops April 30, 2027; the OAuth access token takes three steps, create an OAuth client in Admin Center, POST /oauth/tokens with client_credentials, send Authorization: Bearer, and expires after 30 minutes by default and is scoped, for example tickets:read](https://cdn-public.eesel.ai/blog/blog-gen/generated/zendesk-api-token-to-oauth-mx3bkxnu-03acb8-20261130.webp "Only the header in each request changes; the work is in getting the token.")

### Step 1: Create an OAuth client in Admin Center

You must be signed in as an admin. [Creating a Zendesk OAuth app](https://www.eesel.ai/blog/zendesk-oauth-app-creation) walks through the same screen in more detail.

1. In Admin Center, click **Apps and integrations**, then select **APIs > OAuth clients**.
2. Click **Add OAuth client**.
3. Enter a **Name** (users see it if they're ever asked to approve the app) and check the **Identifier**, which is filled in from the name and becomes your `client_id`.
4. Set **Client kind** to **Confidential** for a server-side script. Public clients are for browser and mobile apps, must use PKCE and can only use the authorization code flow.
5. Leave **Redirect URLs** empty if you'll only use `client_credentials`; they're only needed for the browser approval flow.
6. Under **Scopes**, pick only what the integration needs. These are the client's allowed scopes, a ceiling no token from this client can go above. Leaving the field empty allows every scope. [Zendesk API OAuth scopes](https://www.eesel.ai/blog/zendesk-api-oauth-scopes) lists what each one covers.
7. Click **Save**, then copy the **Secret** straight away. Zendesk shows it in full only once; after that you see only its first nine characters.

If one API token was shared by several integrations, create one OAuth client per integration. Zendesk recommends this so you can revoke one integration without breaking the others.

### Step 2: Exchange the client credentials for an access token

```bash
curl -X POST https://your-subdomain.zendesk.com/oauth/tokens \
  -H "Content-Type: application/x-www-form-urlencoded" \
  --data-urlencode "grant_type=client_credentials" \
  --data-urlencode "client_id=your_client_identifier" \
  --data-urlencode "client_secret=your_client_secret" \
  --data-urlencode "scope=tickets:read"
```

The response holds the token and its lifetime in seconds:

```json
{
  "access_token": "gErypPlm4dOVgGRvA1ZzMH5MQ3nLo8bo",
  "token_type": "bearer",
  "scope": "tickets:read",
  "expires_in": 1800
}
```

There's no refresh token in this flow. When the access token expires, your code repeats the same request.

### Step 3: Send it as a Bearer token and test it

```bash
curl https://your-subdomain.zendesk.com/api/v2/users.json \
  -H "Authorization: Bearer your_access_token"
```

That's the whole change to each request. In Python it's one line:

```python
# Before (API token)
response = requests.get(url, auth=(f"{email}/token", api_token))

# After (OAuth access token)
response = requests.get(url, headers={"Authorization": f"Bearer {access_token}"})
```

A JSON list of users means it worked. Postman also works: its built-in OAuth 2.0 authorization handles the token exchange for you, which Zendesk's guide describes under [Using Postman for testing](https://developer.zendesk.com/documentation/authentication/oauth-migration/#using-postman-for-testing).

### Step 4: Handle expiry

Access tokens last 30 minutes by default, and you can set `expires_in` anywhere from 5 minutes to 48 hours. When one expires, Zendesk answers with a 401 and this body:

```json
{
  "error": "invalid_token",
  "error_description": "The access token provided is expired, revoked, malformed or invalid for other reasons."
}
```

Request a fresh token before each job, or on that 401, and retry once. Admin Center can create and manage OAuth clients, but <mark>generating tokens still takes code or a tool like Postman</mark>; there is no "copy a token" button any more.

## Which OAuth flow should I use?

It depends on whether a person is there to approve access. Zendesk's guide puts it like this:

| Flow | Client kind | Best for | Refresh token? |
|---|---|---|---|
| Client credentials | Confidential | Background scripts, data pipelines, server-to-server jobs with no user | No, request a new token |
| Authorization code | Confidential | Server-side apps acting for a specific user | Yes, 30 days by default (7 to 90) |
| Authorization code with PKCE | Public | Browser or mobile apps that can't keep a secret | Yes |

Zendesk's advice when unsure is the authorization code flow. It needs a one-time approval in a browser, and if you have no callback server you can set the redirect URL to `https://localhost` and copy the `code` from the address bar after approving. Use client credentials when nothing can do that browser step.

One difference matters for ownership: client credentials tokens act as the admin who created the OAuth client. If that admin is deleted or loses the permissions to manage OAuth clients, those tokens stop working, while authorization code tokens keep working for the user who approved them. Create the client from an admin account that will outlast the person setting it up.

## API token vs OAuth access token

| | API token | OAuth access token |
|---|---|---|
| Can you create one? | No, since October 27, 2026 | Yes |
| Sent as | Basic auth, `email/token:api_token` | `Authorization: Bearer <token>` |
| Expires | Never while used; deactivated after 30 days unused; all stop April 30, 2027 | 30 minutes by default, 5 minutes to 48 hours |
| Scopes | None; it can act as any user, admins included | Per token, capped by the client's allowed scopes |
| Acts as | Whichever verified user's email you send | The approving user, or the client's admin for client credentials |
| Works from a browser (CORS) | No | Yes |
| Third-party apps may use it | No, Zendesk's developer policy forbids apps using a customer's API credentials | Through the app's own OAuth |

If you're building an app other companies will install, Zendesk's policy already rules out asking them for an API token or for their own OAuth client: the app uses its own OAuth, or a global OAuth client for many Zendesk accounts. [Zendesk API authentication and scopes](https://www.eesel.ai/blog/zendesk-api-authentication-and-scopes) goes further into the choice.

## How do I keep Zendesk OAuth credentials secure?

The habits that kept API tokens safe still apply, with OAuth's controls on top:

- **Store the client secret and tokens outside your code.** Zendesk suggests environment variables for simple scripts, a secrets manager (AWS Secrets Manager, HashiCorp Vault, Azure Key Vault) for production, and encrypted database fields when you hold tokens for many Zendesk accounts.
- **Ask for the narrowest scope.** A token requested with no scope gets full read and write access. If an integration only reads tickets and updates users, ask for `tickets:read users:read users:write`, not `read write`, and set the same list as the client's allowed scopes.
- **One client per integration,** so revoking one doesn't break the rest.
- **Keep refresh tokens current.** An authorization code integration that loses its refresh token has to repeat the browser approval.

## Troubleshooting a Zendesk token that won't work

- **401 with a token that used to work:** most likely deactivated after 30 days unused. Check the API tokens page and reactivate it if it's within 60 days, then plan its migration.
- **401 with `invalid_token`:** an OAuth access token that expired or was revoked. Request or refresh a new one.
- **401 on Basic auth:** check the `email/token:` format, then whether the token still exists. On an account created on or after July 28, 2026, API tokens never work.
- **403 Forbidden with a fresh OAuth token:** the token's scope doesn't cover the call, for example a `tickets:read` token sending a PUT. Request a token with the scope you need.
- **400 `invalid_scope` when requesting a token:** you asked for a scope outside the client's allowed scopes. Change the request or widen the client's scopes in Admin Center.
- **429 Too Many Requests:** a rate limit, not an auth problem; see [Zendesk API rate limits](https://www.eesel.ai/blog/zendesk-api-rate-limit-requests-per-minute).

[Zendesk API error codes](https://www.eesel.ai/blog/zendesk-api-error-codes) covers each of these in more depth.

![Zendesk's developer documentation page titled Migrating from API tokens to OAuth access tokens, with the note that API tokens will be permanently deactivated on April 30, 2027 and a list of reasons tokens are being retired](https://cdn-public.eesel.ai/blog/zendesk/images/zendesk-oauth-migration-20261130.png "Zendesk's migration guide is the page to keep open while you switch, as taken from [its developer docs](https://developer.zendesk.com/documentation/authentication/oauth-migration/).")

## Connecting an AI agent to Zendesk without an API token

A lot of people searching for a Zendesk API token want it for one job: to plug a tool into the ticket queue. If that tool is an AI agent, check how it connects before you build anything, because a tool that still asks you to paste an API token stops working on April 30, 2027.

[eesel](https://www.eesel.ai/integrations/zendesk) joins your Zendesk as an AI teammate. It learns from your help center, macros and past tickets, then drafts or sends replies, tags and updates tickets. <mark>It connects without an API token</mark>: a Zendesk admin approves eesel on Zendesk's own approval screen, which lists what it can read and do. That's an OAuth grant, so the token removal doesn't touch it, and eesel's [Zendesk docs](https://docs.eesel.ai/integrations/helpdesks/zendesk) say it works on every current Zendesk plan.

You decide what eesel may do. Every action is set to run on its own, ask a person first, or stay off, so a reply can wait for an agent's approval while tagging runs freely, and you can test it in the dashboard on your own tickets before it touches a customer. If you work from a terminal, the [eesel CLI](https://docs.eesel.ai/apis-and-developer-resources/cli) does the setup: `npx @eesel/cli integrations connect zendesk` shows the connection options, an admin approves the link in Zendesk, and `eesel status` shows what has downloaded. Claude Code, Codex or Cursor can run those commands for you.

![The eesel dashboard chat showing the Zendesk authorization link, with the agent explaining what happens after approval](https://cdn-public.eesel.ai/blog/zendesk-api-error-codes/images/image-20261130.webp "One approval in Zendesk, with no API token, as shown in [eesel's Zendesk docs](https://docs.eesel.ai/integrations/helpdesks/zendesk).")

If you're building your own integration, everything above still applies, and the [Zendesk API development guide](https://www.eesel.ai/blog/zendesk-api-development) covers the wider build. If what you need is an agent that works your tickets, [try eesel](https://dashboard.eesel.ai/signup) and test it on your own Zendesk, or [book a demo](https://www.eesel.ai/book/team) with the eesel team.
