{
  "opencollection": "1.0.0",
  "info": {
    "name": "Workday Security Workday Authentication API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "OAuth Tokens",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Workday Security Request an OAuth 2.0 access token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/ccx/oauth2/:tenant/token",
            "params": [
              {
                "name": "tenant",
                "value": "",
                "type": "path",
                "description": "Workday tenant identifier"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "grant_type",
                  "value": ""
                },
                {
                  "name": "client_id",
                  "value": ""
                },
                {
                  "name": "client_secret",
                  "value": ""
                },
                {
                  "name": "code",
                  "value": ""
                },
                {
                  "name": "redirect_uri",
                  "value": ""
                },
                {
                  "name": "refresh_token",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Exchange an authorization code or refresh token for a new access token. The token endpoint accepts client credentials and either an authorization code or refresh token to issue a new bearer token for authenticating subsequent REST API requests."
        }
      ]
    },
    {
      "info": {
        "name": "Sessions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Workday Security List active sessions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/ccx/api/v1/:tenant/sessions",
            "params": [
              {
                "name": "tenant",
                "value": "",
                "type": "path",
                "description": "Workday tenant identifier"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return per page"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of results to skip for pagination"
              }
            ]
          },
          "docs": "Retrieve a collection of currently active authentication sessions for the tenant. Returns session metadata including signon timestamps, IP addresses, device information, and authentication methods used."
        }
      ]
    },
    {
      "info": {
        "name": "Authentication Configuration",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Workday Security List authentication policies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/ccx/api/v1/:tenant/authenticationPolicies",
            "params": [
              {
                "name": "tenant",
                "value": "",
                "type": "path",
                "description": "Workday tenant identifier"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return per page"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of results to skip for pagination"
              }
            ]
          },
          "docs": "Retrieve the collection of authentication policies configured for the tenant, including SSO settings, multi-factor authentication requirements, and password policies."
        }
      ]
    }
  ],
  "bundled": true
}