---
title: "Get Workday"
method: GET
path: "/api/v2/workdays/{id}"
tags: ["Workday Import"]
---

# Get Workday

`GET /api/v2/workdays/{id}`

## Request

- Base URL: `https://console.jumpcloud.com`
- URL: `https://console.jumpcloud.com/api/v2/workdays/{id}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/docs/api/v2/workdays/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint will return  all the available information about an instance of Workday.

#### Sample Request

```
curl -X GET https://console.jumpcloud.com/api/v2/workdays/ \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}'
  ```

## Headers

- `x-org-id` string

## Response `200`

- WorkdayOutput
  - `auth` object
    - `basic` AuthInfo
      - `expiry` string
      - `isValid` boolean
      - `message` string
    - `oauth` AuthInfo
      - `expiry` string
      - `isValid` boolean
      - `message` string
  - `id` string
  - `lastImport` string
  - `name` string
  - `reportUrl` string

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-console-api/revisions/f396d9271b46?raw)
