> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Workday (Client Credentials)

> Integrate your application with the Workday API using machine-to-machine client credentials

## 🚀 Quickstart

Connect to Workday with Nango and see data flow in 2 minutes. The Client Credentials flow is machine-to-machine — no user redirect required.

**1. Create the integration**

In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *Workday (Client Credentials)*.

**2. Connect your Workday account**

Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection*. Enter your Token Domain, Tenant, Client ID, and Client Secret, then save.

**3. Call the Workday API**

Make your first request. Replace the placeholders with your [Environment API key](https://nango.dev/docs/reference/backend/http-api/api-keys.md), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):

> [tab] cURL
>
> ```bash theme={null}
> curl "https://api.nango.dev/proxy/v1/<tenant>/workers" \
>   -H "Authorization: Bearer <NANGO-API-KEY>" \
>   -H "Provider-Config-Key: <INTEGRATION-ID>" \
>   -H "Connection-Id: <CONNECTION-ID>"
> ```

> [tab] Node
>
> Install Nango's backend SDK with `npm i @nangohq/node`. Then run:
>
> ```typescript theme={null}
> import { Nango } from '@nangohq/node';
>
> const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });
>
> const res = await nango.get({
>     endpoint: '/v1/<tenant>/workers',
>     providerConfigKey: '<INTEGRATION-ID>',
>     connectionId: '<CONNECTION-ID>'
> });
>
> console.log(res.data);
> ```

Or fetch credentials with the [Node SDK](https://nango.dev/docs/reference/backend/backend-sdk/node.md#get-a-connection-with-credentials) or [API](https://nango.dev/docs/reference/backend/http-api/connections/get.md).

✅ You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.

**4. Implement Nango in your app**

Follow our [Auth implementation guide](https://nango.dev/docs/guides/auth/auth-guide.md) to integrate Nango in your app.

To obtain your own credentials, follow the setup guide linked below.

## 📚 Workday (Client Credentials) integration guides

Nango maintained guides for common use cases.

* [How to register your own Workday API client app](https://nango.dev/docs/api-integrations/workday-cc/connect)\
  Register an API client in Workday and obtain credentials to connect it to Nango

Official docs: [Workday API docs](https://developer.workday.com/documentation)

## 🧩 Pre-built syncs & tools for Workday (Client Credentials)

Explore Nango-provided tools in your dashboard. Extend and customize them to fit your needs.

### Others

| Function name | Description | Type |
| - | - | - |
| `execute-wql-query` | Execute a Workday Query Language (WQL) query and return structured tabular results | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-custom-object-definition` | Get a single custom object definition by id. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-job-requisition` | Get a single job requisition by id. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-organization` | Get a single organization by id | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-supervisory-organization` | Get a single supervisory organization by id. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-time-off-detail` | Get a single time-off entry's details. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-worker-compensation` | Get a worker's compensation details (base pay, compensation plans, etc.). | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-worker` | Get a single worker's record by id. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-job-requisitions` | List open/filled job requisitions. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-organizations` | List organizations (cost centers, companies, regions, etc.). | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-supervisory-organizations` | List supervisory organizations (Workday management-hierarchy org units) | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-worker-absence-balances` | List a worker's current absence/PTO plan balances | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-worker-time-off` | List a worker's time-off/absence entries. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-workers` | List worker (employee/contingent worker) records. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `submit-time-off-request` | Submit a new time-off request for a worker | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `organizations` | Sync organizations (cost centers, companies, regions, supervisory orgs, etc.) | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `workers` | Sync worker (employee/contingent worker) records | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.