{
  "opencollection": "1.0.0",
  "info": {
    "name": "Keka HR Assets Authentication API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://login.keka.com/connect/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Authentication",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Fetch Access Token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{tenant}.keka.com/api/v1/connect/token",
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "grant_type",
                  "value": ""
                },
                {
                  "name": "scope",
                  "value": ""
                },
                {
                  "name": "client_id",
                  "value": ""
                },
                {
                  "name": "client_secret",
                  "value": ""
                },
                {
                  "name": "api_key",
                  "value": ""
                }
              ]
            }
          },
          "docs": "<ul>\n<li><p><code>client_id</code>: Your client identifier for authentication.</p>\n</li>\n<li><p><code>client_secret</code>: Your client secret for secure authentication.</p>\n</li>\n<li><p><code>api_key</code>: Your unique API key for accessing the system.</p>\n</li>\n<li><p><code>scope</code>: You will need to pass <strong>kekaapi</strong> for this key.</p>\n</li>\n</ul>\n"
        }
      ]
    }
  ],
  "bundled": true
}