Skip to content
KiweelyKiweelyKiweely

Workday REST API v1 Deprecation and OAuth Refresh Token Migration Guide

Workday versions each REST service independently and gives at least 18 months notice before API end of life. Audit active API clients, move unattended jobs to Non-Expiring Refresh Tokens, and prevent HTTP 400 invalid_grant errors during migration.

  • Checked against Workday on
  • Applies to Workday REST APIs, OAuth 2.0 API Clients, Workday Studio, Workday Orchestrate
  • 6 min read
  • Published
  • By Kiweely
On this page

Workday does not retire every v1 REST endpoint on a single global cutoff date. Instead, each Workday REST service carries its own version in the URL path (such as common/v1, staffing/v6, and recruiting/v3), Workday gives at least 18 months of End-of-Life notice before retiring a production API version, and OAuth 2.0 refresh token failures happen independently at the API client level.

As of Workday 2026R2 (checked December 2026), most production outages blamed on “Workday REST API v1 deprecation” come from one of two separate issues: calling a retired or experimental service version, or hitting an OAuth 2.0 refresh token invalidation (HTTP 400 with {"error": "invalid_grant"} or HTTP 401 Unauthorized) after an account change, timeout expiry, or clustered token-refresh race.

How Workday REST API versioning and deprecation work

Workday embeds the service name and version directly in the request path rather than using a single tenant-wide REST version. External integrations call the tenant host format https://{tenantHostname}/ccx/api/{serviceName}/{version}/{tenant}, while Workday Extend and Workday Orchestrate call the API Gateway format https://{apiGatewayBasePath}/{serviceName}/{version}.

Because each service evolves on its own schedule, a v1 path is not automatically deprecated:

  • Active v1 production services: common/v1 remains a current production service for cross-domain lookups such as GET /common/v1/workers/me, GET /common/v1/organizations, and GET /common/v1/organizationTypes.
  • Higher-versioned domain services: Domains with frequent schema changes advance through major versions, including staffing/v6 and staffing/v7 for workers, supervisory organizations, and job changes, and recruiting/v3 for requisitions, candidates, and job applications.
  • Experimental services: Endpoints listed under Experimental Services in the REST API Explorer (labeled labs, alpha, or beta) are strictly for evaluation in Workday Extend and Orchestrate. Workday does not guarantee backward compatibility or production deprecation windows for experimental services.

For production APIs, Workday follows an 18-month minimum End-of-Life notice policy before retiring a supported version or operation. Non-breaking additions roll out inside existing versions, while breaking payload or route changes ship under a new major version so integration teams can migrate during the notice window. Deprecation notices are published in What’s New in Workday release notes, API release notes on developer.workday.com, and direct customer notifications.

OAuth 2.0 refresh tokens: Register API Client vs Register API Client for Integrations

Many teams encounter sudden invalid_grant errors during an API upgrade because an unattended integration was registered with the interactive Register API Client task instead of Register API Client for Integrations. The two tasks produce different refresh token lifecycles.

Setting or behavior Register API Client Register API Client for Integrations
Setting or behaviorPrimary use case Register API ClientInteractive web or mobile apps acting for a signed-in user Register API Client for IntegrationsUnattended middleware, Workday Studio, Orchestrate, or RaaS jobs
Setting or behaviorGrant flow Register API ClientAuthorization Code Grant Register API Client for IntegrationsRefresh Token bound to an Integration System User (ISU)
Setting or behaviorToken expiration behavior Register API ClientFixed Refresh Token Timeout starts at initial authorization and never extends on refresh Register API Client for IntegrationsSupports Non-Expiring Refresh Tokens checkbox
Setting or behaviorRe-authorization after expiry Register API ClientRequires interactive user sign-in and consent again Register API Client for IntegrationsRegenerate via API Client > Manage Refresh Tokens for Integrations
Setting or behaviorToken management location Register API ClientView API Clients (standard tab) Register API Client for IntegrationsView API Clients (API Clients for Integrations tab)

Two details in Workday’s OAuth 2.0 token endpoint (/ccx/oauth2/{tenant}/token) catch integration teams off guard:

  1. Refresh Token Timeout does not slide. On a client created with Register API Client, exchanging a refresh token for a new access token does not extend the original timeout clock. When the absolute timeout expires, the next token request fails with HTTP 400 and {"error": "invalid_grant"}.
  2. Non-Expiring Refresh Tokens are still tied to the ISU. Checking Non-Expiring Refresh Tokens prevents time-based expiry, but the token becomes invalid immediately if the bound Integration System User is deactivated, has its username modified, or undergoes a password reset or password expiration.

Why clustered middleware, Studio, and Orchestrate hit HTTP 400 invalid_grant and HTTP 401

When an integration moves from a single scheduled job to a multi-node cluster, Kubernetes deployment, or overlapping Workday Studio and Orchestrate executions, OAuth token handling fails in predictable ways:

  • Concurrent refresh race conditions: If two middleware pods detect an expired Bearer access token at the same millisecond and both send a refresh request using the same rotating refresh token, the first call succeeds and supersedes the older token copy. The second pod’s request fails with HTTP 400 invalid_grant, and any downstream call carrying the stale Bearer token returns HTTP 401 Unauthorized.
  • Unpersisted rotated tokens: Where token rotation is active on an API client, failing to write the newly returned refresh token back to the shared secret store causes every subsequent run to replay an invalidated token.
  • Cross-tenant credential mix-ups: Sending a Sandbox Client ID, Client Secret, or refresh token to a Production /ccx/oauth2/{tenant}/token URL returns invalid_grant or invalid_client.
  • Malformed token requests: The token endpoint expects Content-Type: application/x-www-form-urlencoded with the grant_type form field set to refresh_token and the refresh token value passed without trailing whitespace or newline characters from a properties file.

Step-by-step migration procedure

Run this sequence in a non-production tenant first, then repeat the cutover in Production after verifying payload parity.

  1. Inventory every registered API client. Open the View API Clients report in Workday and export both the standard API Clients list and the API Clients for Integrations tab. Record each Client ID, functional area scope list, bound ISU, Workday REST API Endpoint, and Token Endpoint.
  2. Audit live authentication traffic and failures. Workday does not ship a single standalone UI report titled “View API Client Authentication Logs”; instead, pull authentication evidence from three places:
    • Enable User Activity Logging in Edit Tenant Setup - System and query sign-on and token activity through the User Activity Logging REST API.
    • Review the Sign-on Audit Log and security audit trails for each ISU to spot locked accounts, password expirations, or repeated failed sign-ons.
    • For Workday Extend and Orchestrate apps, check the Logs tab in the Analytics dashboard and filter by wd_api_client_id to list every REST path and status code called in production.
  3. Map each REST endpoint against the REST API Explorer. Open the REST API Explorer on developer.workday.com and download the OpenAPI 3.0 specification for each service your inventory calls. Flag any endpoint that sits under Experimental Services, uses a version listed for retirement in What’s New in Workday, or lags behind the current production major version (such as older Staffing or Recruiting versions).
  4. Move unattended jobs to Register API Client for Integrations. For any batch job or middleware connector still using an expiring Authorization Code Grant client, run Register API Client for Integrations, select only the required functional area scopes (for example Staffing, Recruiting, or System), and check Non-Expiring Refresh Tokens. Save the Client ID and Client Secret immediately because Workday shows the Client Secret only once.
  5. Bind the client to a dedicated ISU and mint the refresh token. In View API Clients, open the API Clients for Integrations tab, select the new client’s Related Actions menu, and choose API Client > Manage Refresh Tokens for Integrations. Select a dedicated Integration System User whose account is excluded from routine human password churn, choose Generate New Refresh Token, and store the token in your vault.
  6. Serialize token refreshes in clustered middleware. Put a single token coordinator or distributed lock in front of /ccx/oauth2/{tenant}/token so only one worker refreshes an expiring Bearer access token at a time and caches it for peer nodes. Never let parallel Studio launches or horizontally scaled pods independently overwrite the same refresh token in storage.
  7. Upgrade service version paths and validate responses. Update the version segment in each target URL (for example moving an older Staffing route to staffing/v6 or staffing/v7, or Recruiting to recruiting/v3), verify that the ISU security group holds domain permissions matching the new endpoints, and diff the JSON response schema in Sandbox before deploying to Production.
  8. Retire legacy clients after one clean cycle. Monitor User Activity Logging and integration event logs for zero calls against the old Client ID and deprecated URL version across a full payroll or reporting cycle, then revoke the old refresh token and delete the retired API client.

Frequently asked questions

Are all Workday REST API v1 endpoints deprecated in 2026?

No. Workday versions each REST domain service independently. Foundational services such as common/v1 remain active production endpoints, while high-churn domains like staffing and recruiting have moved to newer major versions such as staffing/v6, staffing/v7, and recruiting/v3.

Does requesting a new access token extend the Refresh Token Timeout on a standard Workday API client?

No. On clients created with Register API Client using Authorization Code Grant, the Refresh Token Timeout starts at the initial authorization step and does not reset when you refresh an access token. When that window ends, Workday rejects the refresh token with invalid_grant until a user completes the authorization flow again.

Why does a Non-Expiring Refresh Token still return HTTP 400 invalid_grant?

A Non-Expiring Refresh Token stops working immediately if its bound Integration System User (ISU) is deactivated, has its username changed, or hits a password reset or expiration. It also fails if credentials from another tenant are sent to the token endpoint or if the token was regenerated in Manage Refresh Tokens for Integrations.

Sources checked

Let Workday check the work.

Kiweely writes WQL and builds orchestrations in your own tenant, and Workday, not Kiweely, says whether they passed.

Want it built for you? OnoeX , a Workday consulting firm, delivers this with Kiweely Vine.

Get the next guide in your inbox.

One email a month with new guides and one Extend tip. Nothing else.

We’ll email you once to confirm. Unsubscribe in one click from any issue.

Protected by reCAPTCHA. Google’s privacy policy and terms apply.