---
title: "Zendesk API Token Deprecation: The 2027 OAuth Migration Guide"
slug: zendesk-api-token-deprecation-the-2027-oauth-migration-guide
date: 2026-11-24
author: Nachi Raman
categories: [Zendesk, Migration Guide, Help Desk]
excerpt: "Zendesk permanently deactivates all remaining API tokens on April 30, 2027. Here's the timeline, how to migrate scripts to OAuth, and what to do before the deadline."
tldr: "All remaining Zendesk API tokens are deactivated permanently on April 30, 2027. New token creation has been blocked since October 27, 2026. Migrate to OAuth now — client credentials for unattended server jobs, authorization code when a person can approve access in a browser."
canonical: https://clonepartner.com/blog/zendesk-api-token-deprecation-the-2027-oauth-migration-guide
---

# Zendesk API Token Deprecation: The 2027 OAuth Migration Guide


# Zendesk API Token Deprecation: The 2027 OAuth Migration Guide

Zendesk is removing API tokens as an authentication method for API requests. Every remaining API token is permanently deactivated on **April 30, 2027**. After that, any script, integration, or migration job still using one gets authentication errors, and the token cannot be reactivated ([support.zendesk.com](https://support.zendesk.com/hc/en-us/articles/10851263566234-Announcing-the-removal-of-API-tokens-as-an-authentication-method-for-API-requests)). The replacement is [OAuth access tokens](https://developer.zendesk.com/documentation/authentication/oauth-migration/).

If you run exports, backups, BI connectors, or migration scripts against Zendesk's Ticketing, Help Center, or Voice APIs, this guide covers what changes, when, how to migrate your code, and how to verify the migration worked.

A Zendesk OAuth migration is usually less about rewriting API calls and more about finding every hidden token dependency, choosing the right grant type, and handling expiry correctly. The HTTP request itself changes one header. The operational model changes significantly.

## What is Zendesk's API token deprecation?

**Zendesk's API token deprecation** is the permanent removal of API tokens as a valid authentication method for API requests, [announced on June 1, 2026](https://support.zendesk.com/hc/en-us/articles/10851263566234-Announcing-the-removal-of-API-tokens-as-an-authentication-method-for-API-requests). API tokens — the credentials you generate in Admin Center under **Apps and integrations > APIs > API tokens** and pass as Basic auth with `{email}/token:{api_token}` — are being retired in three phases ending April 30, 2027.

The scope is specific: this affects the **Ticketing API**, **Help Center API**, and **Voice API**. Zendesk says API tokens for Messaging, Chat, and other products are not part of this change ([support.zendesk.com](https://support.zendesk.com/hc/en-us/articles/10851263566234-Announcing-the-removal-of-API-tokens-as-an-authentication-method-for-API-requests)).

An API token cannot be scoped to specific operations or users, and Zendesk notes that one can be used to impersonate any user in your account, including admins. OAuth tokens are scoped, time-limited, and revocable per client.

## Zendesk API token deprecation timeline

All dates come from [Zendesk's official announcement](https://support.zendesk.com/hc/en-us/articles/10851263566234-Announcing-the-removal-of-API-tokens-as-an-authentication-method-for-API-requests).

| Date | What happens |
|---|---|
| **July 28, 2026** | **Phase 1 — Auto-deactivation.** One-time cleanup: tokens unused for 30+ days are deactivated. From then on, any token unused for 30 days deactivates automatically. A deactivated token can be reactivated for 60 days, then it is permanently deleted. Accounts created on or after this date cannot create or use API tokens. |
| **October 27, 2026** | **Phase 2 — Creation blocked.** No account can create new API tokens through the UI or API. Existing active tokens keep working until April 30, 2027 unless deactivated. |
| **April 30, 2027** | **Phase 3 — Final deactivation.** All remaining API tokens are deactivated permanently. No reactivation is possible. The API token management pages are removed from Admin Center. |

Both Phase 1 and Phase 2 are already in effect. Until April 30, 2027, OAuth and API tokens can run in parallel, so you can migrate one integration at a time. Zendesk offers no opt-out or extension beyond that date.

> [!WARNING]
> **The 30-day inactivity trap:** A token unused for 30 days is deactivated automatically. Zendesk emails admins on day 25 and day 29 of inactivity, and again on day 55 after deactivation, before the token is deleted ([support.zendesk.com](https://support.zendesk.com/hc/en-us/articles/10851263566234-Announcing-the-removal-of-API-tokens-as-an-authentication-method-for-API-requests)). If a monthly report, quarterly export, or disaster recovery script relies on an API token, that token can be deactivated well before April 2027. Since October 27, 2026 you cannot create a replacement. Migrate infrequent jobs to OAuth first.

## How to inventory every integration using an API token

Before you migrate anything, you need to know what will break. API tokens belong to the account, not to a single user: any token can be sent with any user's email address. The token list alone does not tell you who or what is using each token.

### Admin Center tools

Zendesk provides two tools in Admin Center under **Apps and integrations > APIs > API tokens** ([support.zendesk.com](https://support.zendesk.com/hc/en-us/articles/10851263566234-Announcing-the-removal-of-API-tokens-as-an-authentication-method-for-API-requests)):

1. **The "Last used" and "Deactivates on" columns.** "Deactivates on" is always 30 days after "Last used".

2. **The usage report** — a downloadable report covering the previous seven days of API requests made with API tokens, capped at 500 MB. Each row shows the timestamp, truncated token ID, token description, IP address, user agent, HTTP method, URL, status code, and the user ID and email used with the token. Because each report covers only seven days, generate it at least weekly to build a longer history.

Use the user-agent and IP address fields to identify which systems, scripts, and third-party tools are using each token. Cross-reference the endpoint URLs to understand what each token does (read tickets, create users, sync Help Center articles).

### Codebase and infrastructure audit

The usage report won't find tokens hardcoded in repos or secrets managers. Search your codebases, CI variables, secrets managers, ETL configs, iPaaS recipes, cron jobs, and runbooks for patterns like:

- **`/token`** in authentication strings (e.g., `admin@company.com/token`)
- **`Authorization: Basic`** headers where the decoded payload contains an API token
- **`ZENDESK_API_TOKEN`** or similar environment variable names
- **Hardcoded Zendesk base URLs** paired with credential references

Treat shared tokens as a migration smell. If the same token appears across multiple hosts or workflows, plan to give each integration its own OAuth client so you can scope and revoke them independently.

### The full checklist

- **In-house scripts:** Backup jobs, export scripts, data syncs, report generators. Check crontabs, CI/CD pipelines, and serverless function configs.
- **Third-party SaaS tools:** BI platforms, ETL tools, monitoring apps, AI agents — any tool you connected with an email address and API token.
- **Marketplace apps:** Per [Zendesk's developer policies](https://support.zendesk.com/hc/en-us/articles/9590471542170-Developer-update-Enhanced-security-guidelines-for-third-party-apps-integrations-and-bots), third-party apps must not use a customer's API token. Zendesk says apps that migrate to OAuth continue working, and apps that don't will stop.
- **Webhooks calling back into Zendesk:** API tokens used in webhooks that call back into your own Zendesk stop working on April 30, 2027. See the webhook section below.
- **Action flows with custom actions:** Zendesk says custom actions that call Zendesk endpoints with an API token must move to OAuth. Built-in Zendesk actions are not affected.
- **Low-frequency jobs:** Monthly exports, quarterly backups, annual compliance runs. These are the most likely to auto-deactivate before April 2027.

If a job is already failing, note that Zendesk's failed authentication responses do **not** identify which specific token was used. Zendesk's suggested recovery path is to check recently deactivated tokens, reactivate likely candidates, rerun the workflow, and then generate a usage report to see which token was hit ([support.zendesk.com](https://support.zendesk.com/hc/en-us/articles/10851263566234-Announcing-the-removal-of-API-tokens-as-an-authentication-method-for-API-requests)). Deactivated tokens can be reactivated for 60 days before permanent deletion — but not after April 30, 2027.

## How to choose between authorization code and client credentials

Zendesk's migration guide covers two grant types ([developer.zendesk.com](https://developer.zendesk.com/documentation/authentication/oauth-migration/)). Picking the wrong one creates unnecessary complexity.

**Authorization code grant** — use it when a person can approve access in a browser. This is the right flow for third-party apps, multi-tenant SaaS products, and anything where an end user authorizes the connection. Zendesk recommends it if you're unsure. It returns both an access token and a refresh token. When the access token expires, you exchange the refresh token for a new pair without the user approving again.

**Client credentials grant** — use it for unattended, server-to-server jobs where no person is in the loop. This is what most migration scripts, backup crons, and BI connectors should use. It is intended only for confidential clients and does not return a refresh token. When the access token expires, you repeat the client credentials request ([developer.zendesk.com](https://developer.zendesk.com/api-reference/ticketing/oauth/grant_type_tokens/)).

| | Authorization code | Client credentials |
|---|---|---|
| **Use case** | A person approves access in a browser | Unattended server-to-server scripts, cron jobs, pipelines |
| **Human required?** | Yes, once (to approve in browser) | No |
| **Refresh token?** | Yes | No |
| **Token renewal** | Exchange refresh token | Repeat the token request |
| **Client type** | Confidential or public (public clients must use PKCE) | Confidential only |
| **Acts on behalf of** | The user who authorized the app | The user who created the OAuth client |
| **If the client's creator loses admin access** | Tokens keep working | Requests with these tokens fail |

For most internal scripts and automation — the stuff that breaks on April 30 — the **client credentials grant** is the simpler path. You store a `client_id` and `client_secret` server-side, request a scoped access token, and handle expiry by requesting a new token when the old one expires.

> [!NOTE]
> Actions performed with a client credentials token are attributed to the Zendesk user who created the OAuth client, typically an admin ([developer.zendesk.com](https://developer.zendesk.com/documentation/authentication/oauth-migration/)). This affects audit logs, comment authorship, and permission checks. Zendesk recommends creating a dedicated service account to own the OAuth client before you begin.
>
> **Admin role dependency:** If the admin who created the OAuth client is deleted, downgraded, or loses the needed permissions, the client stays active but client credentials tokens stop working. Authorization code tokens keep working because they act on behalf of the user who authorized the app ([support.zendesk.com](https://support.zendesk.com/hc/en-us/articles/4408845965210-Using-OAuth-authentication-with-your-application)). This matters for organizations where admin roles are regularly reassigned.

## Setting up an OAuth client in Admin Center

Zendesk documents the setup in [Using OAuth authentication with your application](https://support.zendesk.com/hc/en-us/articles/4408845965210-Using-OAuth-authentication-with-your-application).

1. **Go to Admin Center > Apps and integrations > APIs > OAuth clients.**
2. **Click "Add OAuth client."** Give it a descriptive name (e.g., "Backup Script - Production").
3. **Choose the client kind.** `Confidential` for server-side apps where you can securely store the client secret. `Public` for apps where credentials cannot be stored securely — these must use PKCE.
4. **Set the redirect URLs** (authorization code grant only). They must be absolute and use https, except for localhost. For server-side scripts using client credentials, this doesn't apply.
5. **Copy the client secret immediately.** Zendesk displays it in full only once; after you save, only the first nine characters are visible. Store it in your secrets manager — not in code, not in environment variables on a developer laptop.
6. **Create separate OAuth clients for each integration.** Don't share one client across your backup script, your BI connector, and your migration tool. If one is compromised, you revoke just that client.

> [!WARNING]
> Set up separate OAuth clients for production and test environments. Use the **Allowed scopes** setting on each client to cap what it can request ([support.zendesk.com](https://support.zendesk.com/hc/en-us/articles/11093380955674-Announcing-more-granular-OAuth-client-scopes)). A reporting dashboard needs `tickets:read` — it does not need `tickets:write`.

## What changes in the API request

The API endpoints, request bodies, and response formats stay the same. Only the authentication header changes.

### Before: Basic auth with API token

```bash
curl "https://yourcompany.zendesk.com/api/v2/tickets.json" \
  -u "agent@yourcompany.com/token:YOUR_API_TOKEN"
```

The username is the agent's email with `/token` appended. The password is the API token. The client sends this as an HTTP Basic `Authorization` header.

### After: OAuth Bearer token

```bash
curl "https://yourcompany.zendesk.com/api/v2/tickets.json" \
  -H "Authorization: Bearer YOUR_OAUTH_ACCESS_TOKEN"
```

The email address is gone from the request. The Bearer token carries the identity, scopes, and expiry. That is the entire code change for a single API call.

### Getting the access token (client credentials)

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

Zendesk documents this form-encoded request and says the endpoint also accepts `application/json` ([developer.zendesk.com](https://developer.zendesk.com/documentation/authentication/oauth-migration/)). Read the `expires_in` value from the response and build your script to request a fresh token before the current one expires.

## Token expiry and refresh

API tokens never expired as long as they were used. OAuth tokens do expire, and this is the operational change that catches teams off guard.

### Default lifetimes

For OAuth clients created on or after April 30, 2026, Zendesk's defaults are a **30-minute** access token and a **30-day** refresh token (authorization code only). Access token lifetime is configurable with `expires_in` from **5 minutes to 48 hours**. Refresh token lifetime is configurable with `refresh_token_expires_in` from **7 to 90 days** ([developer.zendesk.com](https://developer.zendesk.com/api-reference/ticketing/oauth/grant_type_tokens/)). For clients created before April 30, 2026, the default `expires_in` is null — see the legacy client note below.

### Authorization code grant

The response includes both an `access_token` and a `refresh_token`. When the access token expires, POST to `/oauth/tokens` with `grant_type=refresh_token` and your refresh token. Zendesk returns a new access token and a new refresh token, and invalidates the previous pair ([developer.zendesk.com](https://developer.zendesk.com/api-reference/ticketing/oauth/grant_type_tokens/)). Store the new refresh token immediately.

### Client credentials grant

No refresh token is issued. When the token expires, repeat the original `client_credentials` request. Add a token-renewal function that runs before each batch of API calls or when an authentication error comes back.

### A practical pattern for long-running scripts

```python
import time
import requests

class ZendeskOAuthClient:
    def __init__(self, subdomain, client_id, client_secret, scope):
        self.token_url = f"https://{subdomain}.zendesk.com/oauth/tokens"
        self.client_id = client_id
        self.client_secret = client_secret
        self.scope = scope
        self.access_token = None
        self.expires_at = 0

    def get_token(self):
        if self.access_token and time.time() < self.expires_at - 60:
            return self.access_token
        resp = requests.post(self.token_url, data={
            "grant_type": "client_credentials",
            "client_id": self.client_id,
            "client_secret": self.client_secret,
            "scope": self.scope,
        })
        resp.raise_for_status()
        data = resp.json()
        self.access_token = data["access_token"]
        # Read expires_in from the response; the fallback only forces an early renewal
        self.expires_at = time.time() + data.get("expires_in", 1800)
        return self.access_token

    def get(self, url):
        headers = {"Authorization": f"Bearer {self.get_token()}"}
        return requests.get(url, headers=headers)
```

The key detail: request a new token 60 seconds before the current one expires, not after. Renewing early keeps a long paginated export from hitting an authentication error halfway through a page sequence and having to retry.

### Legacy OAuth client gotcha

If you are reusing an OAuth client created before **April 30, 2026**, you must explicitly include an `expires_in` value. Zendesk says that for legacy clients, omitting `expires_in` creates a non-expiring access token ([developer.zendesk.com](https://developer.zendesk.com/documentation/authentication/oauth-migration/)). Zendesk also notes that existing OAuth tokens cannot be refreshed; only tokens from new token requests include a refresh token. Test refresh behavior before cutover if you're migrating an older OAuth client, or create a new OAuth client instead.

## Error response reference

Zendesk documents only a few OAuth failure behaviors. Build your retry logic around these, and log the full response body for anything else.

| Situation | What Zendesk documents | What to do |
|---|---|---|
| **Requested scope is outside the client's Allowed scopes** | `400 Bad Request` with an `invalid_scope` error; no token is created ([developer.zendesk.com](https://developer.zendesk.com/api-reference/ticketing/oauth/grant_type_tokens/)) | Check the OAuth client's Allowed scopes in Admin Center. The requested scopes must be within them. |
| **Unrecognized scope value** (for example, an array instead of a string) | A token is still created, but API requests with it return `403 Forbidden` ([developer.zendesk.com](https://developer.zendesk.com/api-reference/ticketing/oauth/grant_type_tokens/)) | Send scope as a space-separated string and test each scope against a known endpoint. This is the hardest failure to diagnose because the token request succeeds. |
| **Creator of a client credentials client loses admin access** | The OAuth client stays active, but API requests with its client credentials tokens fail ([support.zendesk.com](https://support.zendesk.com/hc/en-us/articles/4408845965210-Using-OAuth-authentication-with-your-application)) | Re-create the client under a dedicated service account. |
| **Expired access token** | An authentication error on the API call | Client credentials: repeat the token request. Authorization code: exchange the refresh token. |
| **Deactivated API token** | "API calls using deactivated API tokens will return authentication errors," and the response doesn't say which token ([support.zendesk.com](https://support.zendesk.com/hc/en-us/articles/10851263566234-Announcing-the-removal-of-API-tokens-as-an-authentication-method-for-API-requests)) | Use the reactivate, rerun, usage-report steps above. |
| **Rate limit exceeded** | `429 Too Many Requests` with a `Retry-After` header giving the seconds to wait ([developer.zendesk.com](https://developer.zendesk.com/api-reference/introduction/rate-limits/)) | Wait for the `Retry-After` interval before retrying. Rate limits are unchanged by the OAuth migration. |

## OAuth scopes: request only what you need

One of OAuth's advantages over API tokens is granular scoping. An API token cannot be scoped to specific operations or users. OAuth lets you restrict access to specific resources.

Zendesk scopes use a `resource:action` format, such as `tickets:read`, plus broad `read` and `write` scopes ([developer.zendesk.com](https://developer.zendesk.com/api-reference/ticketing/oauth/grant_type_tokens/)). Zendesk added [more granular resource-level scopes](https://support.zendesk.com/hc/en-us/articles/11093380955674-Announcing-more-granular-OAuth-client-scopes) in August 2026. The scopes most data jobs need:

| Scope | Access |
|---|---|
| `tickets:read` / `tickets:write` | Tickets |
| `users:read` / `users:write` | Users |
| `organizations:read` / `organizations:write` | Organizations |
| `groups:read` / `groups:write` | Groups |
| `ticket_attachments:read` / `ticket_attachments:write` | Ticket attachments |
| `hc:read` / `hc:write` | Help Center |
| `macros:read` / `macros:write` | Macros |
| `triggers:read` / `triggers:write` | Triggers |
| `ticket_views:read` / `ticket_views:write` | Views |
| `custom_objects:read` / `custom_objects:write` | Custom objects |
| `auditlogs:read` | Audit logs (read only) |
| `any_channel:write` | Channel framework (write only) |

Check the [scope reference](https://developer.zendesk.com/api-reference/ticketing/oauth/grant_type_tokens/) for the full list and for which scope an endpoint needs.

**Common scope combinations by use case:**

| Use case | Scopes to start from |
|---|---|
| Read-only ticket export / migration out | `tickets:read users:read organizations:read` |
| Ticket + user import / migration in | `tickets:write users:write organizations:write` |
| Help Center content sync | `hc:read` (read) or `hc:write` (write) |
| BI / analytics dashboard | `tickets:read users:read organizations:read` |
| Admin configuration export | Add `macros:read triggers:read ticket_views:read` as needed |

Do not leave `scope` blank. If you omit `scope` in the request, Zendesk defaults it to `read write` — full read and write access ([developer.zendesk.com](https://developer.zendesk.com/documentation/authentication/oauth-migration/)). Set the same ceiling as **Allowed scopes** on the OAuth client itself.

> [!TIP]
> The `scope` parameter is a **space-separated string**, not an array and not comma-separated. `"tickets:read users:read"` is correct. Zendesk says an unrecognized scope value, such as an array, still creates a token, but API calls with it return `403 Forbidden`. Requesting a scope outside the client's Allowed scopes fails earlier, with `400` and `invalid_scope`.

## How to verify the migration worked

After migrating an integration, confirm it is authenticating via OAuth and not falling back to a cached API token.

### Verification steps

**1. Check the usage report.** Generate the Admin Center usage report after running your migrated integration. The report lists API requests made with API tokens. If it shows no rows from your integration's IP address and user agent for the period it ran, the integration did not use an API token. If rows appear, it is still using an API token for some requests.

**2. Confirm the request sends a Bearer header.** Log the outgoing `Authorization` header in a test run (with the token value masked). It should start with `Bearer`, not `Basic`.

```bash
# This should succeed with a valid OAuth access token
curl -v "https://yourcompany.zendesk.com/api/v2/tickets.json" \
  -H "Authorization: Bearer YOUR_OAUTH_ACCESS_TOKEN"
```

**3. Test scope boundaries deliberately.** Make a request to an endpoint outside your declared scopes. It should be refused. If it succeeds, your OAuth client's Allowed scopes are too broad or the scope parameter was omitted.

**4. Force token expiry and test renewal.** Request a test token with `expires_in` set to `300` (5 minutes, the minimum), run a workflow longer than 5 minutes, and confirm it completes without an authentication error. This is the most reliable way to verify your renewal logic before it matters in production.

**5. Confirm the old API token is no longer used.** In Admin Center under **Apps and integrations > APIs > API tokens**, check the "Last used" column for the token your integration previously used. If the date has not updated since your migration cutover, the integration is no longer calling with that token.

## Webhook migration: options and interim architectures

Webhooks that call back into your own Zendesk with an API token are the hardest migration target. Zendesk says this is no longer supported and will stop working on April 30, 2027. It says it is committed to adding native OAuth support for webhooks ahead of that deadline, and that it will share a timeline when one is available ([developer.zendesk.com](https://developer.zendesk.com/documentation/authentication/oauth-migration/)).

Until then, you have three options:

1. **Action flows.** Zendesk suggests action flows as a simpler alternative to webhooks that call back into Zendesk. Built-in Zendesk actions on tickets, users, and organizations don't use API tokens or OAuth. Custom actions authenticate with OAuth, and Zendesk says action flows refresh OAuth tokens automatically ([support.zendesk.com](https://support.zendesk.com/hc/en-us/articles/10851263566234-Announcing-the-removal-of-API-tokens-as-an-authentication-method-for-API-requests)).
2. **Middleware with client credentials.** Point the webhook at a small receiver (AWS Lambda, Cloud Function, or similar) that holds an OAuth client and calls Zendesk with a Bearer token. This is the simplest pattern when the write-back does not need to run as a specific user.
3. **Middleware with an authorization code token.** If the write-back must run as a specific Zendesk user, have that user authorize once and store the refresh token in the middleware.

**Interim architecture for middleware-based webhooks:**

```
External trigger → Webhook receiver (your server/function)
                       ↓
               [Token cache: check expires_at]
               ├── Valid → Use cached token
               └── Expired → POST /oauth/tokens (client credentials)
                                       ↓
                              Zendesk API call with Bearer token
```

The middleware should persist the token across invocations (not in memory for serverless functions — use a cache like Redis or a secrets manager with a TTL). A serverless function that requests a new token on every invocation adds a token request to every webhook call.

## Multiple accounts and sandboxes

An OAuth client belongs to one Zendesk account. For integrations that work across many Zendesk accounts, Zendesk points developers to a global OAuth client instead ([support.zendesk.com](https://support.zendesk.com/hc/en-us/articles/4408845965210-Using-OAuth-authentication-with-your-application)).

**Practical consequences:**

- If your team runs more than one Zendesk account, run the inventory in each one. Each account has its own API tokens page, usage report, and OAuth clients.
- Check sandbox instances too. Test-environment tokens are as likely to be in use as production tokens — DevOps scripts, CI pipelines, and staging data refreshes all count.
- For the authorization code flow, Zendesk says authorization URLs use your core subdomain, not a host-mapped subdomain.

**Inventory procedure across accounts:**

1. List every Zendesk account and sandbox your scripts touch.
2. For each one, review the API tokens page and generate the usage report.
3. Create a consolidated spreadsheet: account | token description | last used | integration owner | migration status.
4. Create separate OAuth clients per integration in each account.

## What to ask third-party vendors

Every vendor that connects to your Zendesk instance via an API token needs to migrate to OAuth independently. Send this to each one:

1. **Does your integration currently use our Zendesk API token?** Some tools already use their own OAuth client and are unaffected.
2. **When will you ship OAuth support?** Get a date, not a promise.
3. **Which OAuth grant type will you use?** Per [Zendesk's developer policies](https://support.zendesk.com/hc/en-us/articles/9590471542170-Developer-update-Enhanced-security-guidelines-for-third-party-apps-integrations-and-bots), third-party apps can't use your API token or your own OAuth client, and integration apps must use a global OAuth client.
4. **Which scopes will your app request?** Confirm it's the minimum necessary, not broad `read write`.
5. **How does your app handle token expiry?** A tool that doesn't refresh tokens will fail mid-sync.
6. **What is your exact migration date and rollback plan before April 30, 2027?**

> [!CAUTION]
> If a vendor asks you to paste your Zendesk admin email plus API token, or asks you to create a local OAuth client for their multi-customer app, treat that as a blocker. Zendesk's policy says no third-party app, integration, or bot may use a customer's API credentials — an API token or the customer's own OAuth client. Apps built for multiple Zendesk customers must go through the Zendesk Marketplace ([support.zendesk.com](https://support.zendesk.com/hc/en-us/articles/9590471542170-Developer-update-Enhanced-security-guidelines-for-third-party-apps-integrations-and-bots)).

If a vendor can't give you a concrete OAuth migration date well before April 2027, start evaluating alternatives. Zendesk offers no extension beyond April 30, 2027. For reference, [Okta now supports OAuth 2.0 with automatic token refresh for its Zendesk provisioning integration](https://support.okta.com/help/s/article/update-zendesk-provisioning-applications-to-use-oauth-2-0).

## Edge cases and failure modes

| Scenario | Failure mode | Resolution |
|---|---|---|
| **Legacy OAuth client (created before April 30, 2026)** | Omitting `expires_in` creates a non-expiring access token | Always send `expires_in`, or create a new OAuth client for migrated integrations |
| **Admin who created the OAuth client loses access** | Client credentials requests fail; the client itself stays active | Re-create the OAuth client under a dedicated service account |
| **Paginated export interrupted by token expiry** | Authentication error mid-pagination | Renew the token 60 seconds before expiry; don't rely on the error as the renewal trigger |
| **Scope value malformed** | Token issues successfully; API calls return `403` | Send scope as a space-separated string; test each scope against a known endpoint |
| **Scope outside the client's Allowed scopes** | `400` with `invalid_scope`; no token | Widen Allowed scopes on the client, or request less |
| **Infrequent job on an API token** | Token auto-deactivates after 30 days unused; deleted 60 days later | Move it to OAuth first; no new API token can be created |
| **Webhook with no middleware** | API token in a webhook calling back into Zendesk stops working April 30, 2027 | Move to action flows, or add middleware holding OAuth credentials |
| **Serverless function requesting a token per invocation** | Extra token request on every call | Cache the token in Redis or a secrets manager with a TTL; share it across invocations |

## Data exports and migrations: plan around token expiry

A migration scheduled near the April 30, 2027 deadline must be on OAuth before it starts. If your migration script authenticates with an API token and runs on April 30, it can fail partway through — with partial data written to your target system and no clean way to resume. Zendesk does not publish any grace behavior for in-flight jobs.

### Why token expiry changes migration engineering

With an API token, your export script could run for hours without worrying about authentication. OAuth access tokens expire — after 30 minutes by default for clients created on or after April 30, 2026. Always read `expires_in` from the response.

A large Zendesk instance with hundreds of thousands of tickets, throttled by [Zendesk's rate limits](https://developer.zendesk.com/api-reference/introduction/rate-limits/), can take hours to fully export. Your migration script must handle mid-run token renewal gracefully. The Python class above shows the pattern — read `expires_in` from the token response, never hardcode a lifetime.

### If you're migrating away from Zendesk

Whether you're moving to [Front](https://clonepartner.com/blog/blog/zendesk-to-front-migration-the-2026-technical-guide), [HubSpot](https://clonepartner.com/blog/blog/zendesk-to-hubspot-migration-the-2026-technical-guide), [Intercom](https://clonepartner.com/blog/blog/zendesk-to-intercom-migration-guide), or any other platform, the extraction side hits Zendesk's APIs and needs valid authentication. The OAuth migration and the data migration are two separate workstreams, but the first must be complete before the second can start.

### If you're migrating into Zendesk

If you're bringing data into Zendesk — from [Freshdesk](https://clonepartner.com/blog/blog/freshdesk-to-zendesk-migration-guide), [Help Scout](https://clonepartner.com/blog/blog/help-scout-to-zendesk-migration-guide), or another platform — the same OAuth requirement applies. The Ticket Import API and standard creation endpoints both require valid authentication. Set up an OAuth client with `tickets:write users:write` scopes before starting the import.

### A practical timeline

| Window | What to do |
|---|---|
| **Already in effect** | July 28, 2026: unused tokens auto-deactivate after 30 days. October 27, 2026: no new API tokens can be created. Don't delete a working token until its OAuth replacement has run cleanly, because you can't create another. |
| **Now → end of December 2026** | Inventory all tokens and generate the usage report weekly. Set up OAuth clients. Migrate infrequent jobs first, then test in parallel. |
| **January → March 2027** | Migrate remaining scripts. Run test exports end-to-end under OAuth. Validate token renewal logic. Confirm vendors have migrated. |
| **April 2027** | Leave the month for fixes. Check the "Last used" column for any token still in use. |
| **April 30, 2027** | Hard cutoff. No API token works. No reactivation possible. |

## How this connects to other Zendesk changes

The API token removal isn't happening in isolation. Zendesk is making several platform changes in 2026–2027 that affect integrations and migrations:

- **Incremental API restriction for third parties** — Zendesk is ending third-party access to Incremental APIs, with enforcement from December 2, 2026 to January 19, 2027 ([support.zendesk.com](https://support.zendesk.com/hc/en-us/articles/11249701485338)). See our [migration guide](https://clonepartner.com/blog/blog/zendesk-ending-incremental-apis-for-third-parties-migration-guide) and [endpoint-by-endpoint playbook](https://clonepartner.com/blog/blog/zendesk-incremental-api-migration-endpoint-by-endpoint-playbook).
- **Templating API v1–v3 end of life** — Affects Guide theming. Covered in our [v4 upgrade guide](https://clonepartner.com/blog/blog/zendesk-help-center-templating-api-v1-v3-eol-the-v4-upgrade-guide).
- **Legacy custom objects removal** — Zendesk stopped supporting legacy custom objects on July 27, 2026 ([support.zendesk.com](https://support.zendesk.com/hc/en-us/articles/9156194392730)). See our [migration guide](https://clonepartner.com/blog/blog/zendesk-legacy-custom-objects-removal-migration-guide).

Build OAuth into every new Zendesk integration now — not as a migration task, but as the default authentication pattern.

## The bottom line

The April 30, 2027 deadline is hard. Zendesk has been explicit: no opt-out, no extension, and no reactivation after that date. In practice the risk starts earlier. Since October 27, 2026 you cannot create a new token, so any token lost to the 30-day inactivity rule cannot be replaced.

The migration itself is not complex for most scripts. It's a header change, a token-fetching function, a scope declaration, and a verification pass. The risk is in the integrations you've forgotten about — the backup cron a former contractor set up, the BI connector your data team configured two years ago, the webhook that updates tickets from an external system. Find them now, while you can still run API tokens and OAuth in parallel and use the usage report to catch anything you missed.

> Planning a migration off Zendesk — or into it — before the April 2027 deadline? ClonePartner has delivered 1,500+ migrations. Book a free 30-minute scoping call and we'll map out the authentication requirements and give you an all-inclusive fixed-price quote. Migrations start at $500.
>
> [Talk to us](https://clonepartner.com/talk-to-us?duration=30)

## Frequently asked questions

### When does Zendesk remove API tokens?

Zendesk removes API tokens in three phases. From July 28, 2026, tokens unused for 30 days are deactivated automatically, and accounts created on or after that date cannot create or use API tokens. From October 27, 2026, no account can create new API tokens. On April 30, 2027, all remaining API tokens are deactivated permanently and cannot be reactivated.

### What replaces Zendesk API tokens?

OAuth access tokens replace API tokens. Use the client credentials grant for unattended server-side jobs, or the authorization code grant when a person can approve access in a browser. Both need an OAuth client created in Zendesk Admin Center.

### Do Zendesk OAuth access tokens expire?

Yes. For OAuth clients created on or after April 30, 2026, access tokens last 30 minutes by default, configurable from 5 minutes to 48 hours. Client credentials tokens have no refresh token, so you repeat the token request. Authorization code tokens come with a refresh token that renews access without the user approving again.

### Which Zendesk APIs are affected by the API token removal?

The Ticketing API, Help Center API, and Voice API are affected. Zendesk says API tokens for Messaging, Chat, and other products are not part of this change.

### What is the 30-day inactivity rule for Zendesk API tokens?

Since July 28, 2026, any API token unused for 30 days is deactivated automatically. An admin can reactivate it within 60 days. After 60 days deactivated, Zendesk permanently deletes it. Monthly and quarterly jobs are the most exposed.
