{
  "opencollection": "1.0.0",
  "info": {
    "name": "Workday Security Workday Audit and Compliance Account Signons OAuth Tokens 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/api/v1/{tenant}/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."
        }
      ]
    }
  ],
  "bundled": true
}