{"componentChunkName":"component---src-templates-simple-markdown-js","path":"/celonis-apis/migrating-to-oauth/","matchPath":"","result":{"data":{"markdownRemark":{"html":"<h1 style=\"position:relative;\"><a href=\"#migrating-to-oauth-20\" aria-label=\"migrating to oauth 20 permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"migrating-to-oauth-20\"></div>Migrating to OAuth 2.0</h1>\n<p>OAuth 2.0 is an industry-standard framework that allows different applications to securely interact with each other on behalf of users without sharing sensitive credentials. More about OAuth <a href=\"https://docs.celonis.com/en/using-oauth-2-0.html\">here</a>.</p>\n<p>At Celonis, we are in the process of moving away from long term API and Application keys and rapidly moving towards OAuth. This section highlights what Celonis APIs today already support OAuth and how you can migrate your applications that call these APIs using API/Application keys to OAuth.</p>\n<h2 style=\"position:relative;\"><a href=\"#celonis-apis-that-currently-support-oauth-20\" aria-label=\"celonis apis that currently support oauth 20 permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"celonis-apis-that-currently-support-oauth-20\"></div>Celonis APIs that currently support OAuth 2.0:</h2>\n<table>\n<thead>\n<tr>\n<th><strong>API Name</strong></th>\n<th><strong>OAuth Scope</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://developer.celonis.com/celonis-apis/audit-log-api/overview/\">Audit Log API</a></td>\n<td>audit.log:read</td>\n</tr>\n<tr>\n<td><a href=\"https://developer.celonis.com/celonis-apis/platform-api/overview/\">Platform Adoption API</a></td>\n<td>platform-adoption.tracking-events:read</td>\n</tr>\n<tr>\n<td><a href=\"https://developer.celonis.com/celonis-apis/team-api/overview/\">Team Login History API</a></td>\n<td>team.login-history:read</td>\n</tr>\n<tr>\n<td><a href=\"https://developer.celonis.com/celonis-apis/team-api/overview/\">Team Members API</a></td>\n<td>team.user-group-info:read</td>\n</tr>\n<tr>\n<td><a href=\"https://developer.celonis.com/process-intelligence-apis/overview/\">Process Intelligence APIs</a> (Knowledge Model API, EventSubscription API, Chat API, Tools API)</td>\n<td>intelligence.conversations:write, intelligence.tools:execute, intelligence.conversations:write, intelligence.subscriptions:manage</td>\n</tr>\n<tr>\n<td><a href=\"https://developer.celonis.com/data-ingestion-api/standard/standard_overview/\">Standard Data Ingestion API</a></td>\n<td>integration.data-pools, integration.data-pools:data-push, integration.data-pools:continuous-data-push</td>\n</tr>\n<tr>\n<td><a href=\"https://developer.celonis.com/celonis-apis/data-job-execution-api/\">Data Job Execution API</a></td>\n<td>integration.data-pools</td>\n</tr>\n<tr>\n<td><a href=\"/celonis-apis/process-data-model-api/\">Process Data Model API</a></td>\n<td>integration.data-pools</td>\n</tr>\n<tr>\n<td><a href=\"https://developer.celonis.com/celonis-apis/scim-api/overview/\">SCIM API</a></td>\n<td>user-provisioning.scim</td>\n</tr>\n</tbody>\n</table>\n<p><strong>Important Update:</strong> SCIM API is now supported with Microsoft EntraID and OAuth.</p>\n<p>OAuth scopes restrict which APIs are accessible by OAuth clients, while Permissions give access to the individual resources offered by these APIs. For a detailed explanation of what access you get with each OAuth scope listed in the table above, refer to <a href=\"https://docs.celonis.com/en/registering-oauth-client.html#UUID-0a0e0984-8a17-1d4e-175c-aa47448f9e66_section-idm234408737198615\">Registering your OAuth Client</a>.</p>\n<h2 style=\"position:relative;\"><a href=\"#migrating-applications-calling-celonis-apis-to-oauth-20-from-apiapplication-keys\" aria-label=\"migrating applications calling celonis apis to oauth 20 from apiapplication keys permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"migrating-applications-calling-celonis-apis-to-oauth-20-from-apiapplication-keys\"></div>Migrating applications calling Celonis APIs to OAuth 2.0 from API/Application keys</h2>\n<p>If you have any application in your Celonis environment using any of the above APIs, then we strongly recommend that you migrate your applications to OAuth 2.0 and move away from long term API/Application keys as Celonis is moving away from these long term keys in the future.</p>\n<p>Given below is an example of how you can migrate to OAuth. In this example, we have used Audit log API, Team Login history API, Platform adoption API, and Member / User Group Info API to show you how you can migrate an application that was previously calling these APIs using an application key to now calling the same APIs using OAuth 2.0. </p>\n<h2 style=\"position:relative;\"><a href=\"#connecting-audit-log-login-history-members-and-studio-adoption-apis-to-celonis-platform-using-oauth-20\" aria-label=\"connecting audit log login history members and studio adoption apis to celonis platform using oauth 20 permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"connecting-audit-log-login-history-members-and-studio-adoption-apis-to-celonis-platform-using-oauth-20\"></div>Connecting audit log, login history, members, and Studio adoption APIs to Celonis Platform using OAuth 2.0</h2>\n<p>Within Admin &#x26; Settings you can view your audit log, team login history, and studio adoption statistics. However, these views are limited with standardized user interfaces. To run a more in-depth analysis of this data, you can connect to their respective APIs and then use a data extractor to feed this information back into the Celonis Platform. This then lets you create your own views in Studio.</p>\n<p>To connect to the APIs and create an extractor, follow these procedures in order:</p>\n<ul>\n<li>\n<a href=\"#creating-an-application-and-granting-it-api-permissions\">Creating an application and granting it API permissions</a>\n</li>\n<li>\n<a href=\"#testing-oauth-credentials\">Testing OAuth Credentials</a>\n</li>\n<li>\n<a href=\"#migrating-your-application-to-oauth-from-applicationapi-key\">Migrating your Application to OAuth from Appkey/API key</a>\n</li>\n<li>\n<a href=\"#troubleshooting\">Troubleshooting</a>\n</li>\n<li>\nAdditional Info: \n<a href=\"#creating-an-extractor-builder-for-apis\">Creating an extractor</a>\n and \n<a href=\"#creating-an-extraction\">an extraction for APIs</a>\n.\n</li>\n</ul>\n<p>Once the data is extracted, you can then create a data model using this data. You are then ready to go to Studio and create a view using the data from the API.</p>\n<h2 style=\"position:relative;\"><a href=\"#creating-an-application-and-granting-it-api-permissions\" aria-label=\"creating an application and granting it api permissions permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"creating-an-application-and-granting-it-api-permissions\"></div>Creating an application and granting it API permissions</h2>\n<p>To start, create an OAuth client in your team and grant this client API permissions.</p>\n<ol>\n<li>\nGo to Admin &#x26; Settings and select \n<strong>Applications</strong>\n.\n</li>\n<li>\nClick the \n<strong>Add New Application</strong>\n button and then select \"OAuth client\" to create your OAuth client.\n</li>\n</ol>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 800px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 56.57894736842105%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAYAAAB/Ca1DAAAACXBIWXMAAAsTAAALEwEAmpwYAAABuklEQVQoz42S3W7jIBCF/f5Pszf7ApWqvdg0v5to1ZuqTRs18Q8YMNiAOTuD3Ujd5qJIIwxmvjlzoKjqBsa6pIzlGTycGyBbDW06WNdjGDx6Cp5dP6Cn8CHks89PCvs/JV6OQzpXAUUjZGqbFqKWGGyP2HtY3RHMTok+5GCQm+EcYQa6ywnu9Az4DnH0qVBS4v3pDYf9EY9/33B+lVAXgUZqlJWEtQOpZHBEWbdQ2l7XMSZUwqDVVMinvF9Ya6GlghYCvTFAoPZIaas6XEqRZ0eqB1L58nrG6b0iOwyp90gjIKiwMQ7jmLLywsw+sYdcIbdBh7uuz4m8lxKyooqsYStYNa9HAvIZRRbFOE7AVhuqovIF8EaMMXvnnM+wEKbWQhjzzHAG8TfHMIQs4AoUZQ1NUNNZCLpZvgBuZ+SsGyMxEenmP76o4ng4oiFfKkHtkPSPZ8MVPwDfiSuwreokGknmsxdmeiJzq/8nsfGTuttQ7+nZdOSVMi6x4Qzjwd5NyV8H1cV87IsbbFNx/2uRfi+WWDw8pOVyhd1uh/V6g+12+yk2my0Ohw1+/Fzj7n6N/f7T/8R5q9Uq/QMxK1Aua2AuaAAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Screenshot of the Applications screen with the Add New Application menu expanded.\"\n        title=\"Screenshot of the Applications screen with the Add New Application menu expanded.\"\n        src=\"/static/75aefac22d0e570d4884a1a91f9fc19a/5a190/applications-screen.png\"\n        srcset=\"/static/75aefac22d0e570d4884a1a91f9fc19a/d4770/applications-screen.png 228w,\n/static/75aefac22d0e570d4884a1a91f9fc19a/379c3/applications-screen.png 455w,\n/static/75aefac22d0e570d4884a1a91f9fc19a/5a190/applications-screen.png 800w\"\n        sizes=\"(max-width: 800px) 100vw, 800px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>\n<p>When creating your OAuth client, use the following configurations:</p>\n<ul>\n<li>\n<strong>Authentication method</strong>\n: Client secret post\n</li>\n<li>\n<strong>Scopes to select</strong>\n:\n<ul>\n<li>\naudit.log:read (for the Audit Log API)\n</li>\n<li>\nplatform-adoption.tracking-events:read (for the Studio Adoption API)\n</li>\n<li>\nteam.login-history:read (for the Login History API) \n</li>\n<li>\nteam.user-group-info:read (for the Users Group Info API)\n</li>\n</ul>\n</li>\n</ul>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 521px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 115.35087719298247%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAXCAYAAAALHW+jAAAACXBIWXMAAAsTAAALEwEAmpwYAAACnUlEQVQ4y6VVyXLTQBDVx3LhJzjwH3wCB258ARdIBUilTHJwFhPFkmyto3159GtrbCnIRaqYqq7pac308nqRc726Hb5f3UBouPy5wuZpC2MM4jhBNFKSpIgT2VMj5wJZVqAolskJdiG8IBp2YQJ/FyFKMqRZro+LvEJf96LMIIxTpKaBXEFe4Oxyqqoazn10kz0+r74dz1VtuQHDsEwO3eTq+5OwHw42HgIPny6+KJ+kGe42IbZ+rHeX1kyhFcyUju/IN00rHtaoxM2p8SlpyMZkKMtSE9E0jVzu0XU92rZTatpWd8os2W9TqutWjTnXvx4QRolkzsAI2kVZo5QPXTdX8i9S4xKFc3l1h32YqrIwSpViybQN4Rz4S+FqyG1Tq4AWXgJMrAjBnJZkJ7mTi2ethJeZfMz26cLU8muWKnS3PtYPrhSzwS6MVWhXXTdiqECel0pGeCM7O+XIy27vqMJQlLA7+LjUkug1IRZkZq6Sb1XVTPh6pDnPdxJyro+ZCO1V2bVMxtBfm5QD5j3rMFeGHtJ6UVQzTI6lceTpfave6z7yFnvHffaxur2HH3BIhOrpXgYFw8hkSGy9PYIggueHSr7wZgFPRqWtx4LmdKGyvRS4xYiWLZbzjunOhssIHLYcGT7gh1OHdIstdqL2L5kq5HBgHdLL/1nHpGy9AI+/PRma5SHTQhym9ZggbUU5h9KexDaKM8GsRJrmih9xZh0eFd4/PuHix40+9MbE8CFXKPv6zoXrBpoQTdAuFqNGFXJPZI9io0OF3eXwf5GLJ9VYNixQekc8eGYH8KygT0bbAetO5JwBlsRDzkKLwQkQzKbIUlbbjgkckOUDLq4HfL0asN5MJva5QfBSbo9ldfjHrDfA2/fAm3fAh4/AH5G+Ai5QYFQ7AAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Screenshot showing Step 2 of the New OAuth Client screen.\"\n        title=\"Screenshot showing Step 2 of the New OAuth Client screen.\"\n        src=\"/static/df67a9662fa1900ad1fb5ca71119c894/bb9c5/new-oauth-client.png\"\n        srcset=\"/static/df67a9662fa1900ad1fb5ca71119c894/d4770/new-oauth-client.png 228w,\n/static/df67a9662fa1900ad1fb5ca71119c894/379c3/new-oauth-client.png 455w,\n/static/df67a9662fa1900ad1fb5ca71119c894/bb9c5/new-oauth-client.png 521w\"\n        sizes=\"(max-width: 521px) 100vw, 521px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>\n<ol start=\"3\">\n<li>\nClick \n<strong>Create</strong>\n and then copy the \n<strong>client ID</strong>\n and \n<strong>client secret</strong>\n for later use.\n</li>\n<li>\nClick \n<strong>Permissions</strong>\n and then edit the \n<strong>Team</strong>\n permissions.\n</li>\n</ol>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 500px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 41.66666666666667%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAICAYAAAD5nd/tAAAACXBIWXMAAAsTAAALEwEAmpwYAAABA0lEQVQoz42Q2W6DMBBF+f8f60uXF0jbqCEJUEobFu9gwNwOVqkSBaUd6cqWfXTG46AoCrRtC9t1MFpDCEGRtyMpjEGmCXSWQB73sFWJh8cnBLPsmH3i7j5Elp/w7xIMQ7xDmeWod3vgPcHmdYtg7qhNizT/gtLGs9M0XYVOL4Wdwfi2hYhjsE1EwhTh8wsCzoW/16YD4wpMqB8BzmTAODrUjUBZc8/NK+cScI5A55kwjBAoqSCVobELNAQwyppwZg7pBxomPHOqGGraO7p37lyoFLjQvvtS1+PSl0mNquGr33khXEZeRH/VGrOchREJGeMYhhHW9uj74WZsv8501v6+8BvABGwgHAQKFgAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Screenshot showing the Team tile with the Edit link highlighted.\"\n        title=\"Screenshot showing the Team tile with the Edit link highlighted.\"\n        src=\"/static/3539250c3b53538c0623de556086d6cd/0b533/edit-team-permissions.png\"\n        srcset=\"/static/3539250c3b53538c0623de556086d6cd/d4770/edit-team-permissions.png 228w,\n/static/3539250c3b53538c0623de556086d6cd/379c3/edit-team-permissions.png 455w,\n/static/3539250c3b53538c0623de556086d6cd/0b533/edit-team-permissions.png 500w\"\n        sizes=\"(max-width: 500px) 100vw, 500px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>\n<ol start=\"5\">\n<li>\nAssign Audit Log API, Login History API, User Group Info API, and Studio Adoption APIs permissions to your newly created application as required.\n</li>\n</ol>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 910px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 14.912280701754385%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAADCAYAAACTWi8uAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAnElEQVQI102O3Q6DIAyFff/H28Vuli0zoCgOp6CAoD0Dlv00ac7p19OkFeOC2m5A00rqpcI8GzDe5Rm87SGHEdOswZofyz2lXM7XTKARsuxztgohYtt2CuEACDiS5HI+FE9/zPuIGKn4z27fCcsavqwyeqWa9RCdIms3GOPgkl6uHGrUsNa/mQu43UX66omcWxZX9KE0TmdWbkxiL3yC5arBByJ/AAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Screenshot showing an example of the selected permissions.\"\n        title=\"Screenshot showing an example of the selected permissions.\"\n        src=\"/static/67658e403e1d6ab49163e7221e7c9bf3/c6bbc/api-permissions.png\"\n        srcset=\"/static/67658e403e1d6ab49163e7221e7c9bf3/d4770/api-permissions.png 228w,\n/static/67658e403e1d6ab49163e7221e7c9bf3/379c3/api-permissions.png 455w,\n/static/67658e403e1d6ab49163e7221e7c9bf3/c6bbc/api-permissions.png 910w,\n/static/67658e403e1d6ab49163e7221e7c9bf3/2e694/api-permissions.png 1048w\"\n        sizes=\"(max-width: 910px) 100vw, 910px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>\n<ol start=\"6\">\n<li>\nClick \n<strong>Save</strong>\n.\n</li>\n<li>\nChoose the studio for which you want to give permissions. For example, right-click on \n<strong>package > permissions > select your application > use package</strong>\n.\n</li>\n</ol>\n<p>The OAuth client now has the relevant API permissions, but you also need to request an OAuth access token.</p>\n<p><strong>Tip</strong></p>\n<p>Alternatively, you can create an application key and assign the following permissions: Audit Log API, Login History API, User Group Info API, and Studio Adoption APIs.</p>\n<p>For more information, see: <a href=\"https://docs.celonis.com/en/application-keys.html\">Creating and granting permissions to application keys</a>.</p>\n<h2 style=\"position:relative;\"><a href=\"#testing-oauth-credentials\" aria-label=\"testing oauth credentials permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"testing-oauth-credentials\"></div>Testing OAuth credentials</h2>\n<p>There are multiple ways to test Oauth credentials in Celonis:</p>\n<h3 style=\"position:relative;\"><a href=\"#testing-oauth-using-postman-or-command-line\" aria-label=\"testing oauth using postman or command line permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"testing-oauth-using-postman-or-command-line\"></div>Testing OAuth using Postman or command line</h3>\n<p>The created OAuth credentials can be best tested in Postman or via the command line tool curl (it is installed in most workstations or can be found in the machine learning workbench in Celonis).</p>\n<p>Follow the steps outlined in <a href=\"https://docs.celonis.com/en/registering-oauth-client.html#UUID-0a0e0984-8a17-1d4e-175c-aa47448f9e66_UUID-3c4c385a-5026-4307-2787-fafcdb228353\">Requesting OAuth access tokens</a> while using the required scopes.</p>\n<p>When the credentials are set up correctly you should receive a scope similiar to:</p>\n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"78460592801211270000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`    {\n        &quot;access_token&quot;: &quot;randomizedAccessToken&quot;,\n        &quot;scope&quot;: &quot;scope 1 scope 2 scopeN&quot;,\n        &quot;token_type&quot;: &quot;Bearer&quot;,\n        &quot;expires_in&quot;: 899\n    }`, `78460592801211270000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-78460592801211270000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">    {\n        \"access_token\": \"randomizedAccessToken\",\n        \"scope\": \"scope 1 scope 2 scopeN\",\n        \"token_type\": \"Bearer\",\n        \"expires_in\": 899\n    }</code></pre></div>\n      </div>\n<h3 style=\"position:relative;\"><a href=\"#testing-oauth-using-swagger-ui\" aria-label=\"testing oauth using swagger ui permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"testing-oauth-using-swagger-ui\"></div>Testing OAuth using Swagger UI</h3>\n<p>You can now test your APIs with Swagger UI. To do this, you need your team name and environment cluster and your OAuth client from the earlier procedure. You can find your team name and environment cluster from any URL, for example from the <strong>Permissions</strong> page from the procedure above.</p>\n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"75875104417109620000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`https://[teamname].[realm].celonis.cloud/ui/team/permissions`, `75875104417109620000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-75875104417109620000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">https://[teamname].[realm].celonis.cloud/ui/team/permissions</code></pre></div>\n      </div>\n<p>With your team name and environment cluster, you can then access the Swagger UI using this URL:</p>\n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"10969604130402200000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`https://[teamname].[realm].celonis.cloud/swagger-ui/index.html?configUrl=/log/v3/api-docs/swagger-config`, `10969604130402200000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-10969604130402200000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">https://[teamname].[realm].celonis.cloud/swagger-ui/index.html?configUrl=/log/v3/api-docs/swagger-config</code></pre></div>\n      </div>\n<p>Once on the Swagger UI, follow these steps to test your API:</p>\n<ol>\n<li>\nClick \n<strong>Authorize</strong>\n. \n<span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 802px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 57.01754385964912%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAYAAAB/Ca1DAAAACXBIWXMAAAsTAAALEwEAmpwYAAAByUlEQVQoz42S63KbMBCFef83avsAnTaTdJzEThNscLgJECDuYGw43V2TTtPmRzXzzVlJsFodrbXd/Vy+frvD5mG3PG6fcHu3wXb3jPuHHb7fbHDvfIKf32Aczui6Fn3fE92q7+m6DtbRV7Bfk0XFGmmqkSQEaRgqaJ2hqmu0bYemaUlb0ub3/EojWtcNxnGE5Xn+sj8cYe8d7A8uHPcVB+coMSvDa4xtO/CDCIEclkuyqqopWY2yrKjKQRLCPXpSWZYXyIk0zZBlhfyks1zWZN10SMoTClPBGCNJjClRFEbgG1hhGEGpBHGSIowUIhUjimKZM3zlaZpwOp0+hvbGFY4tLvt/xrLMuFwu/zCTb6CrMhxb+9W7IIwErlJ8WvGDECpO5Mpc6bsxz2hLDVWnUI1Gncew+GXZk4K8ePNDPFuVPSyMkZflhDMluRCsM1U4VuSfSWEocV/msLI0WRqjkWeZtMlA/TQMg/QVK/s0zxeczxMm8W38g9P1EOI8XmPr0dX4sjXLj5cIthvgGKRw/BieygVddqj6CVW30v+FrJ2pA1pULbXN7Uu8fH4e8OQXixcmlCyBS3gqEyJdQmUVFOsHvO3zt0oX+AXld0FMh9syMQAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"celonis audit log api\"\n        title=\"celonis audit log api\"\n        src=\"/static/8a1a93eadc59a1850ed5326caa1ced49/5a6dd/celonis-audit-log-api.png\"\n        srcset=\"/static/8a1a93eadc59a1850ed5326caa1ced49/d4770/celonis-audit-log-api.png 228w,\n/static/8a1a93eadc59a1850ed5326caa1ced49/379c3/celonis-audit-log-api.png 455w,\n/static/8a1a93eadc59a1850ed5326caa1ced49/5a6dd/celonis-audit-log-api.png 802w\"\n        sizes=\"(max-width: 802px) 100vw, 802px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span>\n</li>\n<li>\nWhen using an OAuth client (Recommended), enter \"Bearer\" followed by a space and then copy the client ID you obtained for the client. For example: \n<code class=\"language-text\">Bearer XxxxxxAxxxxBxxxxCxxxXBBBBX</code>\n</li>\n<li>\nClick \n<strong>Authorize</strong>\n. Once the authorization is successful, click \n<strong>Close</strong>\n .\n</li>\n<li>\nExpand the GET call for the API you want to test and click \n<strong>Try it out</strong>\n.\n</li>\n<li>\nClick \n<strong>Execute</strong>\n. \n<span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 600px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 29.82456140350877%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAGCAYAAADDl76dAAAACXBIWXMAAAsTAAALEwEAmpwYAAABJ0lEQVQY022PzU7CQBSF+8S6gYdQE9m6hxVu2Bmj6CNIEGHKXwstBdqOtJ1pQcB7vC2Kkrj48t2ce+ckY4jxjNwgAUOOH6MzmEJYHt6GDl77E5jWvMheuiO0emO0TbvI81svVJgdIE9qWF5IBheiLSzq23PMORzbDgYjiz1FpysYE6FcQWcbKJ1Bp2uk+bzeIVRbSKaw3hWlxtANSORl0RqB4qOEHWeQbD/SBclmD70lqI/PAs28pzv4XOSrgwO9hys1GcuFpDRKoI8opLE+OieSCVYyhlolJxzf8JzFCssFf/m+2cN51aFyzUapNkGpah+o/fqi4TAuyvn+H/K3Z9xx99CF8fzUpqu6QKXeIwbX31T++KYhGBOV29Pdz8w5XdZNNB9b9AVniKaI57SQWAAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Screenshot showing the location of the Execute button.\"\n        title=\"Screenshot showing the location of the Execute button.\"\n        src=\"/static/46cc2048b9a3e798074e81d5d0ceb73c/0a47e/celonis-api-execute-button.png\"\n        srcset=\"/static/46cc2048b9a3e798074e81d5d0ceb73c/d4770/celonis-api-execute-button.png 228w,\n/static/46cc2048b9a3e798074e81d5d0ceb73c/379c3/celonis-api-execute-button.png 455w,\n/static/46cc2048b9a3e798074e81d5d0ceb73c/0a47e/celonis-api-execute-button.png 600w\"\n        sizes=\"(max-width: 600px) 100vw, 600px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span>\n</li>\n</ol>\n<p>You will now see the response from the API, including the header that shows the Token and the URL.</p>\n<h2 style=\"position:relative;\"><a href=\"#migrating-your-application-to-oauth-from-applicationapi-key\" aria-label=\"migrating your application to oauth from applicationapi key permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"migrating-your-application-to-oauth-from-applicationapi-key\"></div>Migrating your Application to OAuth from Application/API key</h2>\n<p>Go to the Data Pool where your Data Connection to the Celonis API lies and click on the menu of the data connection.</p>\n<ol>\n<li>\nGo to \n<strong>Authorization</strong>\n, add additional authentication and select \"OAuth2\".\n</li>\n<li>\nSelect “Client Credentials” as the \n<strong>Grant type</strong>\n.\n</li>\n<li>\nAdd an additional \n<strong>Request Body</strong>\n parameter with the key “scope” and the value for the scopes relevant for the Celonis APIs (separated by blank space, example shows the scope \n<code class=\"language-text\">audit.log:read</code>\n) \n<strong>NOTE:</strong>\n The \"scope\" parameter must be added for OAuth. This parameter must be added in the \"Additional request parameter\" section, NOT in the \"Additional Request Header\" field. \n</li>\n<li>\nGet bearer Token with the Endpoint to /oauth2/token. \n<span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 910px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 64.91228070175438%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAANCAYAAACpUE5eAAAACXBIWXMAAAsTAAALEwEAmpwYAAAB80lEQVQ4y41Sf3OqMBDk+3+2zptpp1pprYqChB8BEoEEQrLvAj5t+/yjzCzJhWNvb3NBybk7pzlKXrlpMlgwYTIG4zg+Bn0zg4ZcrZCvNzPYWwj+9AcByziiU+6KSqIkZEWNlM447bU2hHFZx+mOgWI1oGU5JCvQ5hyKN1AUB7v3vVs/v+MUJTh8MMSRQFVfUDcthOggZA9Be844aiom6UdBxfy57AaIi0KnvGqH0QIBf34B3+4gDhF0dIKtavjHOQdnCbSfLhdUqw2ycIue8izn87mz9ppnYckmMxoijBPkxwRlnKI4xuB5iUuv50TrE/1Kntm2neHJ7TAs5/77DW5GUBMhJ0JOLfcFJ4UVbNctCnx1t6j87RM0208kuyPOnwfwJAXfRzDUNtlBbdwVeGL8K3At4r7GVwS7jz1yUqdqMpzabeimzDDefMRPIncnwgPtQc5rFA3daqtQdwrKq7qmPsQXcu+Z1g5KLauZSKGWEh3LIFNGc5XB1A2sEJia5oY5pg6s1jei74R2hjEWgYhjVxxONGMcsqxgSKVVPWx/Ry/kvE5l+X1c3ELWdW7GSIMY6KKAEu1ihn/b/yFpiPtO0/wtM/rTOut9NXbx8BiGLnldIdmE7rwJ8Qjx+g2n1zXS3R4sy8HSDIzdkVKc0oT4/V9Lj+sit4EtnQAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"celonis api authentication\"\n        title=\"celonis api authentication\"\n        src=\"/static/e448898496c6830044ecef7b19f64a02/c6bbc/celonis-api-authentication.png\"\n        srcset=\"/static/e448898496c6830044ecef7b19f64a02/d4770/celonis-api-authentication.png 228w,\n/static/e448898496c6830044ecef7b19f64a02/379c3/celonis-api-authentication.png 455w,\n/static/e448898496c6830044ecef7b19f64a02/c6bbc/celonis-api-authentication.png 910w,\n/static/e448898496c6830044ecef7b19f64a02/38124/celonis-api-authentication.png 953w\"\n        sizes=\"(max-width: 910px) 100vw, 910px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span>\n</li>\n</ol>\n<p>Go to <strong>Data Connection Test</strong>:</p>\n<ol>\n<li>\nEnter the client ID and client Secret.\n</li>\n<li>\nSelect the End point that you have also chosen for AppKey \"authentication3\".\n<ol>\n<li>\n<strong>Define Endpoints:</strong>\n Configure a new endpoint and enter an endpoint name.\n</li>\n<li>\n<strong>Endpoint Configure Request:</strong>\n In URL enter {Connection.API_URL}/ \n[Enter what is shown in the Swagger doc URL after celonis.com.cloud]\n So the final text could read: \n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"33810085460777374000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`\\\\`{Connection.API_URL}/log/api/external/audit?Request parameters and Headers can be completed after as needed).{Connection.API_URL}/log/api/external/audit?\\\\``, `33810085460777374000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-33810085460777374000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">`{Connection.API_URL}/log/api/external/audit?Request parameters and Headers can be completed after as needed).{Connection.API_URL}/log/api/external/audit?`</code></pre></div>\n      </div>\n</li>\n</ol>\n</li>\n<li>\nClick \n<strong>Save</strong>\n.\n</li>\n<li>\nClick \n<strong>Build Response</strong>\n.\n</li>\n<li>\nClick \n<strong>Test Connection</strong>\n. \n<span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 910px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 59.64912280701754%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAYAAABiDJ37AAAACXBIWXMAAAsTAAALEwEAmpwYAAAB10lEQVQoz42Se2/TMBTF8/2/DeokmEQl/tiGUNcWEKuGBoO0a5qn07zsPGwf7nXaVSviYenopLHzu+fe2tsGkfXXO2yD2FZ1g7KqIVWLvu/Rdb3zf4nPtW1H3sFbrb7j4duTfQpi+OsQP/wdglBA5BVSUSLNCkRxjiQtnOJkj9j56XcmKjRNh2Ew8IQorBAS+32LouhQlhJRJJxCBhOUEzeSpSDl+MwuVeee+36A1gbGWHhjW4BShmRdFdkoqqhQ19K18z/LWuvkFWXlKh9eu5fnixOIvHBpeFaKkh0TGXP0UV7dSOT7Cuz9oMG48fBJWmuCjK0yjEfwEmiewV7ur7G7+4rN5xXi+weYND32cNKf+/ytbS9ZfMT26j2KL3fIlp/IV5C7EJrAQ5JCC4Hu8RHx6h75ZgsVxZBhhD7LoHmfzjHWJWRgEwSQwQ4NHWzCeHQCDvTBkJLy3AHVegNFAAayGMgFhyQhENxYXMuqbW1VNXTXMro2lYvNlTTP7jA/zQnILV0HowcYcs3qunH/oIH+A6/96aPehlYFlCqm+R1neL6KchRB/ra868mFvX79BrfTqZ29nWJ2eYn57Rzz+UGLBWY3N7iaXODdqwk+TKdYLJen/TP9AgtMlrDCB7RJAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"celonis api data connection\"\n        title=\"celonis api data connection\"\n        src=\"/static/325af371b8cca4608ecdc2cffaad60b3/c6bbc/celonis-api-data_connection.png\"\n        srcset=\"/static/325af371b8cca4608ecdc2cffaad60b3/d4770/celonis-api-data_connection.png 228w,\n/static/325af371b8cca4608ecdc2cffaad60b3/379c3/celonis-api-data_connection.png 455w,\n/static/325af371b8cca4608ecdc2cffaad60b3/c6bbc/celonis-api-data_connection.png 910w,\n/static/325af371b8cca4608ecdc2cffaad60b3/14060/celonis-api-data_connection.png 949w\"\n        sizes=\"(max-width: 910px) 100vw, 910px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span>\n</li>\n<li>\nClick \n<strong>Finish</strong>\n.\n</li>\n<li>\nSee the \n<a href=\"#troubleshooting\">Troubleshooting</a>\n section below to resolve any errors.\n</li>\n</ol>\n<p>When the connection test was successful, save the connection. To run the extraction test, go to the data job and manually execute an extraction (e.g. delta extraction).</p>\n<p>When the extraction was successful, you can go back to the customization of the extractor builder and delete API Key Authentication.\n<span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 400px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 39.91228070175439%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAICAYAAAD5nd/tAAAACXBIWXMAAAsTAAALEwEAmpwYAAABT0lEQVQoz32SiW6DMBBE+f9/S9QmipQEyMkZIFzG5vJO10Zp1aoK0tMOh2fHix3PP1PxLBHFCYVxijh5GI0wSpDnT3RdByHEv9R1g7K0UF0LRFFCjutfkRcVbXce1psjNjsfn1sXq4897mGOd5fWhGla0BrUNAJOJwS9XQX6hug30zRjGBaMaVU15HSdgFLA0Z1xuc68VY3TaYbvz1w1rjfNWiPLXsbAPM/opOKq/xrCMbPguNbUwCODlEt9wZ/wop/MxnAYR5tyHI2Z5mfGsLaGpEnb4Usl0Q/KamV1D9Ur9IzkLq2QmNjMGDb8E5I4R1W2KPIKdSWQZ09yFMcahonOlxD+OUCcFrjcE6ujxOgYHmvz/uDduOkSNQgyrFZ7uO4d6/UBnhtQ/njCSdOUTHdORMZcSk5n75dUJumCspgRma2ZI9Mw9QK1TYs4iukLENlmOKlow1sAAAAASUVORK5CYII='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Authentication menu expanded to show the delete option.\"\n        title=\"Authentication menu expanded to show the delete option.\"\n        src=\"/static/294c167ecd38b48678b877aa4be014b4/e17e5/celonis-api-delete-authentication-key.png\"\n        srcset=\"/static/294c167ecd38b48678b877aa4be014b4/d4770/celonis-api-delete-authentication-key.png 228w,\n/static/294c167ecd38b48678b877aa4be014b4/e17e5/celonis-api-delete-authentication-key.png 400w\"\n        sizes=\"(max-width: 400px) 100vw, 400px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span></p>\n<h2 style=\"position:relative;\"><a href=\"#troubleshooting\" aria-label=\"troubleshooting permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"troubleshooting\"></div>Troubleshooting</h2>\n<p>The most common errors during authentication and how to fix them.</p>\n<ul>\n<li>\nWrong / missing scope\n<ul>\n<li>\nPostman \n<span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 600px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 28.50877192982456%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAGCAYAAADDl76dAAAACXBIWXMAAAsTAAALEwEAmpwYAAAA80lEQVQY062QWY7EIAxEc//r9Zwge0Ig7EtCqDb0jDQ/8zeWnlwWuGS7e329ME1TkVJi3zbSI/q+h1IKwzBgIF3reV6gtYYxBs45WEtQ/mhbYowYx7F0d86FAv8Q5RQCXQgBOWcEmtALDscZLGPwlP1xIFmDmC6s3OA0HtpGHNK1ejkMhAlQNmCTAeO8li7R5+d5yGSHniYEJSGlxrxyLNsJJgymQ4OdFtedGzHdCPFqpCsTN1Iu2HeGru5eDT2Na+mG1dBrBesTltNhI1Zh4amZtsLnPL+gulB/Dc55NQzNsEGrN0jXxprz99tP/Rc1DjrRG63M0OT1zZ/7AAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"celonis api troubleshooting wrong scope\"\n        title=\"celonis api troubleshooting wrong scope\"\n        src=\"/static/49b4988cad9e4b6f3cb7ab3c98efdd7c/0a47e/celonis-api-troubleshooting-wrong-scope.png\"\n        srcset=\"/static/49b4988cad9e4b6f3cb7ab3c98efdd7c/d4770/celonis-api-troubleshooting-wrong-scope.png 228w,\n/static/49b4988cad9e4b6f3cb7ab3c98efdd7c/379c3/celonis-api-troubleshooting-wrong-scope.png 455w,\n/static/49b4988cad9e4b6f3cb7ab3c98efdd7c/0a47e/celonis-api-troubleshooting-wrong-scope.png 600w\"\n        sizes=\"(max-width: 600px) 100vw, 600px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span>\n</li>\n<li>\nExtractor Builder \n<span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 300px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 58.333333333333336%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAYAAABiDJ37AAAACXBIWXMAAAsTAAALEwEAmpwYAAACOElEQVQoz12TW2/aQBCF/fcq9Q/2qb+hT32q1IdKhDYJBBLAd3zj4jWs7bWBYrynM9tAmloasR6vP59zZrGqwXfIH990KQRkWUGp2lRdVaioyrK8VV3X7+65eI8QhZayxHg81ham91qPh+hPJyy8BJMXD9O5j9HUhe0nmDlLLNwIT9QfPszw+9zh/6uqG9TqoMMwgNU//UT3MMDlcEC6EfCXKYJoBT9MsaL7IMoQpxs4fowo2VCvQJxtsduX2OQ7JLSuVaMZbNuOtvrRHS6PA3QEdMMMjheTGhfBMjPwmRPeFC7jNbwgwf14YVzM7BDTmY+2PRiljuPAgjvFhSwz0CMIg2wvgkcKGcAwmz7iUz9bC6OU+y6BeQ8/XyZrA3RdF5b8/AlnGsyFMpwuAvMCb5q7S7K6NWvu8csTUsMZs9owXuGZ9jOMrWv9CrQ/fkD79Qt0f6GhkBoCPM8DvJCdkLJk+5zd4XhCXkjKq4XYSTOI3b7CkfrXy1jux3foHinHIw+lMAPgL14tsRq2zAAGsW0DkxXOrxPvuu7Nsp78ug3FJgjnx8WhM5hViF1JwR8NhCdf1sr0ryBA/6twaI4NA32yOKepsqI5nT9BFlXTGtBmu6ODXxvLebHHnta52KOgj5WV0n2vWeH7gx1luQmeg05XOQ0jIYhCQWoSerYVklTvkdAzWSmTKStlKMv0fR/W218vp82CBpHQoY7Nb5KuIKUku42pplGmeK3U33VDv6quddu2GI1G+g9EqHdwejaMmwAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"celonis api troubleshooting test failed\"\n        title=\"celonis api troubleshooting test failed\"\n        src=\"/static/b3d6907a4778a41fa3db651755dbd7e6/5a46d/celonis-api-troubleshooting-test-failed.png\"\n        srcset=\"/static/b3d6907a4778a41fa3db651755dbd7e6/d4770/celonis-api-troubleshooting-test-failed.png 228w,\n/static/b3d6907a4778a41fa3db651755dbd7e6/5a46d/celonis-api-troubleshooting-test-failed.png 300w\"\n        sizes=\"(max-width: 300px) 100vw, 300px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span>\n</li>\n</ul>\n</li>\n<li>\nMissing permission / 401 unauthorized\n<ul>\n<li>\nPostman \n<span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 400px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 34.21052631578947%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAHCAYAAAAIy204AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAw0lEQVQoz42P6w6DIAyFff9nNPGHiZt4Y0wFC/QMyFzm4mUnOWnTNh+HrCgKLssSeZ7z/XaDlBJd16FpGgghoJRCVVWpr+s67Po0G8dx11nbthgGyUI0aeCZYZ2DMQbTNCFqDtVoneqyEDjcHCkjIraO4QKEvYcP1VubeucZZB3ifvWqCN1zFpMYsuHlJaWjkHLue9jFYNSEVs7olUb30Bie+p1uC9kkjEAXQUTwIdU/Ov1yBP4eX/kM+gEeHcf221d6AahgJdBxaKKPAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"celonis api troubleshooting unauthorized\"\n        title=\"celonis api troubleshooting unauthorized\"\n        src=\"/static/daba15babd339c72e03aabcb190a5523/e17e5/celonis-api-troubleshooting-unauthorized.png\"\n        srcset=\"/static/daba15babd339c72e03aabcb190a5523/d4770/celonis-api-troubleshooting-unauthorized.png 228w,\n/static/daba15babd339c72e03aabcb190a5523/e17e5/celonis-api-troubleshooting-unauthorized.png 400w\"\n        sizes=\"(max-width: 400px) 100vw, 400px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span>\n</li>\n<li>\nExtractor Builder \n<span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 300px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 46.929824561403514%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAJCAYAAAAywQxIAAAACXBIWXMAAAsTAAALEwEAmpwYAAABy0lEQVQoz21SyXLaQBDV96Uq/5VD/iWn5OIcAqkKmGCzaEFoQQtos9EKEthVzEt3c/AlU9XVM9Pz3rxetGL0oIbZGP1qrk6nM45ljbbrUDctqqoRX1a12OuxRF03OPc9hmEQ6+9e1U0Ha2MrrZuOgdWjgmtS8IqF7uB57WD6ZGK22MAPUzytt1gaHkZ/lhL73+ovb8r1dtDa6VhBn+Nmr3G5viHcZ4jI2PtBgn36gjgpxFtOgDR/hRscsHFCZMURHu23XqxuN4WiyJVWjx/wTqYcA8PlirXl0YMIuuXD8fdEEtKdD2OzE88fEYEo1eXOg7UNRGWWZdDCr1/gfP4EeJYQmnaAjRsKAQMdPxaQTZ/wmRV9xPaw3QgmEcbJC5IkgVb+/IHL92+AQzXsL1iZHqJDLsqCOKX0c/KZnBnMqa5MF/GhoPomoo4J21OPNE2phrPfgPUMZetSQwaxCvYMYgJWyUDD3lEGd3W7KEVHJIzhzHgJYTP5BbWYQG11av+V0o0wX9pCwMTc9b/UbVY1mRuYr2y54zJwPCT17m4vE1LkOXd5xGMjXeZOcYB/PlP6p/NAM3mWc9OeUNat7Nk4VtHsHSue0xZK3ZvyD85+kQ5WlafbAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"celonis api troubleshooting test failed2\"\n        title=\"celonis api troubleshooting test failed2\"\n        src=\"/static/511667f50afd40630e36a7fd16932d97/5a46d/celonis-api-troubleshooting-test-failed2.png\"\n        srcset=\"/static/511667f50afd40630e36a7fd16932d97/d4770/celonis-api-troubleshooting-test-failed2.png 228w,\n/static/511667f50afd40630e36a7fd16932d97/5a46d/celonis-api-troubleshooting-test-failed2.png 300w\"\n        sizes=\"(max-width: 300px) 100vw, 300px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span>\n</li>\n</ul>\n</li>\n<li>\nIncorrect client ID / secret\n<ul>\n<li>\nPostman \n<span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 388px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 28.50877192982456%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAGCAYAAADDl76dAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAvklEQVQY042P7WrDMAxF8/5P2P0JJG2SdvlySFPXtuwzOVDYYCkVXAsJ6ei6KMuSr9Mp1VXFMAzcblcu5zNd19H3PXVd07YtTdPs9TRNzPN8qMIsSxrHkW3bSECMEeccwXtSStjHAwlea8cnUUSlhBB2UNQsGaTNIBEfBOuE5f7EqHIPPZsPHalwXpesRbKzdcUao24Cd+sxq2UwG5fvhepqeOpsjtfyvw7zIyK7w0/iCPQH+Bp695Xfrt5BfwBZKdW5gfOw6AAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"celonis api troubleshooting invalid client\"\n        title=\"celonis api troubleshooting invalid client\"\n        src=\"/static/5f7674648a9bcf2fe173ece340e064ca/96c67/celonis-api-troubleshooting-invalid-client.png\"\n        srcset=\"/static/5f7674648a9bcf2fe173ece340e064ca/d4770/celonis-api-troubleshooting-invalid-client.png 228w,\n/static/5f7674648a9bcf2fe173ece340e064ca/96c67/celonis-api-troubleshooting-invalid-client.png 388w\"\n        sizes=\"(max-width: 388px) 100vw, 388px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span>\n</li>\n<li>\nExtractor Builder \n<span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 300px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 35.526315789473685%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAHCAYAAAAIy204AAAACXBIWXMAAAsTAAALEwEAmpwYAAABaklEQVQoz32RS1PCMBSF+/ccf6Yb3bhz4bhgcESRkUdpCzR9WhrebUqhDxByTNKtY2a+yc1N7snJjRa9PPH9ewvpR5uzzQa7JAVjTJGIuCHBbteQps1+lmUKJmGM7xIGwzC4lnfbgDXgsIa4VBUs8o3B2MbIcsVM4AYxRqYLcxag0zMwNB38NfJjyV3Ph8Y6LX7pveFi9HEuCsTLLRx/roQkVKy9kCKKV7DsABFdI4gW6sx6myKcL+GHlHMOLCjl2urhDuT2BufuK05lCduLYE594coB8eaYkhCWcCdzxsQTYkuV6w2nwrWP8cTFhATKJaUUWtp6RvF4j4vew48SnMN2I0ydULmQsXRGxEVyLWlEQoXc08Xli3XSCGayh2SMqzlQT7bsECODQBc9lIW65QiRWLnr6zOkWY5jUaGsatSns5rzQyFydSPIxA/z0afo4ReudY2yPmGfH3E4FqpQxlV1UkWS/0Ycx/gFe2MBgwsngh0AAAAASUVORK5CYII='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"celonis api troubleshooting test failed3\"\n        title=\"celonis api troubleshooting test failed3\"\n        src=\"/static/5d6dce6a97664ba83f323751ccbcf1a7/5a46d/celonis-api-troubleshooting-test-failed3.png\"\n        srcset=\"/static/5d6dce6a97664ba83f323751ccbcf1a7/d4770/celonis-api-troubleshooting-test-failed3.png 228w,\n/static/5d6dce6a97664ba83f323751ccbcf1a7/5a46d/celonis-api-troubleshooting-test-failed3.png 300w\"\n        sizes=\"(max-width: 300px) 100vw, 300px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span>\n</li>\n</ul>\n</li>\n<li>\nTo send as params / request body\n<ul>\n<li>\nWhile creating Application based on the choice \n<span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 550px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 34.21052631578947%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAHCAYAAAAIy204AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAvElEQVQoz6XQzXKCMBSG4dz/nXW67WiLIpUIOhAQQyU/hLyF1gvAdvHMuznf5og0O8bDp0Q1bdRa8z89ojxfkMU5FnOvXYf3lmG4Y8zwlGVjrUXIooqybMgLRZZXVI3G+YixAevWW+6dmxDbXc0+a0jSmsPximo9Nz3RPWnZXGqHSGTPy7vmNfm1KcJsenSd7eztNJHXYf6h0nzIjt2pIy1vqK9IO0BzX699tLcRYY0hhJHRO8LogfhH/PQbcVQZLPVmPkcAAAAASUVORK5CYII='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"celonis api troubleshooting grant type\"\n        title=\"celonis api troubleshooting grant type\"\n        src=\"/static/b1f8fda50f6375f6a5081d7ce03dd725/dd45a/celonis-api-troubleshooting-grant-type.png\"\n        srcset=\"/static/b1f8fda50f6375f6a5081d7ce03dd725/d4770/celonis-api-troubleshooting-grant-type.png 228w,\n/static/b1f8fda50f6375f6a5081d7ce03dd725/379c3/celonis-api-troubleshooting-grant-type.png 455w,\n/static/b1f8fda50f6375f6a5081d7ce03dd725/dd45a/celonis-api-troubleshooting-grant-type.png 550w\"\n        sizes=\"(max-width: 550px) 100vw, 550px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span>\n</li>\n<li>\nPostman\n<ul>\n<li>\nIf Client basic, send as request params \n<span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 555px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 30.701754385964914%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAGCAYAAADDl76dAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAtUlEQVQY042QSw+CMBCE+///m8Yb3JSLVF62pQUEumMX7YWHcZJJk87ul90VD5mTNhpKKaqfDUxr0IRXtxrGGGgdsk8O5xy6rts4/JNyE07nC4m6LFAWBXnvEUVEWGueZxzpm1GaphD3PKfr9YZpmsBQhq3N6vsetrUYhtcmH8dxKUqShISUElmWLQ2/gC6sVpUVrLWbPG4XgBB8Ax45Nu4Cg7nGk9+tiedYgDzZEehfxwn5hm/KidSs3hvYGQAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"celonis api troubleshooting request params\"\n        title=\"celonis api troubleshooting request params\"\n        src=\"/static/cb07c20a823fd21c124b4edbf1fe8625/cd039/celonis-api-troubleshooting-request-params.png\"\n        srcset=\"/static/cb07c20a823fd21c124b4edbf1fe8625/d4770/celonis-api-troubleshooting-request-params.png 228w,\n/static/cb07c20a823fd21c124b4edbf1fe8625/379c3/celonis-api-troubleshooting-request-params.png 455w,\n/static/cb07c20a823fd21c124b4edbf1fe8625/cd039/celonis-api-troubleshooting-request-params.png 555w\"\n        sizes=\"(max-width: 555px) 100vw, 555px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span>\n</li>\n<li>\nIf Client Post, send as request body \n<span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 385px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 59.210526315789465%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAYAAABiDJ37AAAACXBIWXMAAAsTAAALEwEAmpwYAAABuUlEQVQoz31SSw7TQAzNfZG4CxILOAQrWMIBWHOAljRNm7ZJmpkk85+H7STQqoAla34e+71nF1W5z33Xouu63DQNzuczLpeLrOKnE67XK/q+55gXv7Ud3n2t89tPF7z/8iMXWvUAco4xwTmLeZ5haTXGYDaznL33+Jdl8o/fDd589vnDt58o2rbL1loMwx16nDHoEXrSUEMPrRUVcZJ0mibZc1FJlPNvX/OiqY+52BCwOx/E5UyfA+1jjEgpLYgpNoTwktDyn5BQHioUh8OBtDpJ9bXaM6X1jlkopTCO01Mc77koW3U8otjv9yjLUirzI6N5rM5nNkPobrcbyaAXNgTAUJHtne3ICXe7HaqqIkr2JdmDRkKZO63UgPu9J7+jbVuMVID1ZavrGgUH8UWgqv+jLIjMondkbUVvv06G+ZOQKfAn550EW2+XleiwDCk9I2VTYYYORt4jsdoaxUyLhrIySruOB8/eNI1wlPBviIV+crCJGEkyLyMXYwA3uBioc9Y6okCjwqhoNc5jtow20j6Iu8e9iwQg0qhEGTNF85u2prDYotVTQyBUmc7ieT1vvtzzXcrLedPwF7GXo0fNJO3vAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"celonis api troubleshooting request body\"\n        title=\"celonis api troubleshooting request body\"\n        src=\"/static/69d9f6a0d995372e78870b18afdc5c4e/409e6/celonis-api-troubleshooting-request-body.png\"\n        srcset=\"/static/69d9f6a0d995372e78870b18afdc5c4e/d4770/celonis-api-troubleshooting-request-body.png 228w,\n/static/69d9f6a0d995372e78870b18afdc5c4e/409e6/celonis-api-troubleshooting-request-body.png 385w\"\n        sizes=\"(max-width: 385px) 100vw, 385px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<h2 style=\"position:relative;\"><a href=\"#additional-info-on-creating-an-extractor-and-an-extraction-for-api-endpoints\" aria-label=\"additional info on creating an extractor and an extraction for api endpoints permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"additional-info-on-creating-an-extractor-and-an-extraction-for-api-endpoints\"></div>Additional info on Creating an Extractor and an Extraction for API Endpoints</h2>\n<p>If you are not familiar with how to create an extractor for Celonis APIs or how to create an extraction, refer to the sections below. </p>\n<h3 style=\"position:relative;\"><a href=\"#creating-an-extractor-builder-for-apis\" aria-label=\"creating an extractor builder for apis permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"creating-an-extractor-builder-for-apis\"></div>Creating an extractor builder for APIs</h3>\n<p>After testing your APIs, you now need to create an extractor. This extractor pulls detailed information from your team (via the API), allowing you to add this to your Studio views.</p>\n<p>The extractor you create in the following steps is without both pagination and headers:</p>\n<ol>\n<li>\nFrom your team, click \n<strong>Data - Data Integration</strong>\n.\n</li>\n<li>\nClick \n<strong>New Data Pool > Create from scratch</strong>\n, add a name, and then click \n<strong>Save</strong>\n.\n</li>\n<li>\nFrom the data integration diagram, click \n<strong>Connect to Data Source</strong>\n and then select \n<strong>Connect to Data Source</strong>\n. \n<span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 802px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 38.59649122807018%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAICAYAAAD5nd/tAAAACXBIWXMAAAsTAAALEwEAmpwYAAABXklEQVQoz4VSOVLEMBD0a3gMX+AXpKSEhFSR8gAiXkJIsuwuWzbUHl7bsiTrbHpkbwIBrupqWzPTmp5xtVrXaNs+180B622D46lD349yhvN5+Bddp/C5+8bHpsb+0KIyNmTvE5yL2NVHrDZf0NohRSCEDIn9hpxfYsLWBoyscS6hCgGYplgEu0EzYDG5gEFpCluklP9AcnyIiDGxNizC82UVmMBICSAT4DcSul5hHDUTpcCTicKhCMmTcy6NXDqX96ppE96biGw0bp8Vrh8mPL528OqElqJaGwqPZF3YGAtN9Iw554uINo4N+dJ1td0HvG0cYA1uniyu7iLuX0bOoUevTOlSqRGKPAyKhRNtS0dhsRxh6c7aWXy2zA043gBnKUS4qdgRWDuh5TZTTKWjEGIROxzPhWVUgov1ynsWLUsR7Sz6MtZlAY5FxkzFTsffqefiLC+X8xDnuV3EhH8A6ohpBSGdkaMAAAAASUVORK5CYII='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"connect to data source\"\n        title=\"connect to data source\"\n        src=\"/static/025364107a4b1527af6aea56142cecb8/5a6dd/connect-to-data-source.png\"\n        srcset=\"/static/025364107a4b1527af6aea56142cecb8/d4770/connect-to-data-source.png 228w,\n/static/025364107a4b1527af6aea56142cecb8/379c3/connect-to-data-source.png 455w,\n/static/025364107a4b1527af6aea56142cecb8/5a6dd/connect-to-data-source.png 802w\"\n        sizes=\"(max-width: 802px) 100vw, 802px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span>\n</li>\n<li>\nClick \n<strong>Custom</strong>\n and then click the plus icon. Here you have three options:\n<ul>\n<li>\nBuild a new Extractor \n<span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 788px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 30.263157894736842%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAGCAYAAADDl76dAAAACXBIWXMAAAsTAAALEwEAmpwYAAAA+ElEQVQY051Q2U7EMAzs/38bQisQqByrPQrtptc2R880HhyzfQDesDSyM4nGk0le3w90/5DiKd3T3e4Zu8cX7A8ZrHPQ2sAY+wfWOhh763zWxsjsXI+kalpcypbK+opCNXFG1XTIL7VAVa0g3hU3rqyuwsW3haq5N7ygh+tHJOyCpmkGESGWNg7Zp0IIAf+ppOVvdaw++1WIuElcsONOW+H8MGCpK3it4Zsa5BfE9dHEbyQ2zzGyfeLMIuFvwsesQPp2knngnKrjGer8gZYxclb0rfhDTBw6VWLWA6jvhVzXID0Ekm/HeV48DOej3YCJF8bzFskmtNUX96zO0yvBIIUAAAAASUVORK5CYII='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"build new extractor\"\n        title=\"build new extractor\"\n        src=\"/static/ee813b74210e7b4047ade682f6c65d3e/ea7fb/build-new-extractor.png\"\n        srcset=\"/static/ee813b74210e7b4047ade682f6c65d3e/d4770/build-new-extractor.png 228w,\n/static/ee813b74210e7b4047ade682f6c65d3e/379c3/build-new-extractor.png 455w,\n/static/ee813b74210e7b4047ade682f6c65d3e/ea7fb/build-new-extractor.png 788w\"\n        sizes=\"(max-width: 788px) 100vw, 788px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n    </span>\n</li>\n<li>\nCustomize a Celonis extractor\n</li>\n<li>\nImport from File (For Audit logs with pagination, use this \n<a href=\"https://docs.celonis.com/downloads/audit%20log%20api%20extractor%20template_export.json\">JSON template</a>\n, this template can also act as the foundation for the Login Log API and the Adoption API).\n</li>\n</ul>\n</li>\n<li>\nWhen building a new extractor using the four stage wizard, enter the following information:\n<ul>\n<li>\n<strong>Extractor name:</strong>\n This can be custom to your extractor.\n</li>\n<li>\n<strong>Connection Parameters - Edit API URL:</strong>\n Enter your Celonis team URL in the following format - https:// \n[Your Team]\n.celonis.cloud\n</li>\n</ul>\n</li>\n</ol>\n<h3 style=\"position:relative;\"><a href=\"#creating-an-extraction\" aria-label=\"creating an extraction permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"creating-an-extraction\"></div>Creating an extraction</h3>\n<p>Once your extractor is built, you can configure delta loads by following these steps:</p>\n<ol>\n<li>\nClick \n<strong>Add Extraction</strong>\n.\n</li>\n<li>\nClick on the \n<strong>Parameters</strong>\n tab.\n</li>\n<li>\nClick \n<strong>New Parameters</strong>\n and populate and save the parameters as follows:\n<ul>\n<li>\n<strong>Placeholder:</strong>\n LastUpdated\n</li>\n<li>\n<strong>Name:</strong>\n Last Updated\n</li>\n<li>\n<strong>Type:</strong>\n Dynamic\n</li>\n<li>\n<strong>Table:</strong>\n AuthenticationEvents\n</li>\n<li>\n<strong>Column:</strong>\n timestamp\n</li>\n<li>\n<strong>Default value:</strong>\n 01/01/2000, 00:00:00\n</li>\n</ul>\n</li>\n<li>\nClick on the \n<strong>Tab</strong>\n configuration tab, scroll to \n<strong>Delta Filter Statement</strong>\n and add the following: \n<code class=\"language-text\">= from = &lt; %=LastUpdated%></code>\n</li>\n<li>\nNow add a data model, a data model load and a schedule following the user interface.\n</li>\n</ol>","headings":[{"value":"Migrating to OAuth 2.0","depth":1},{"value":"Celonis APIs that currently support OAuth 2.0:","depth":2},{"value":"Migrating applications calling Celonis APIs to OAuth 2.0 from API/Application keys","depth":2},{"value":"Connecting audit log, login history, members, and Studio adoption APIs to Celonis Platform using OAuth 2.0","depth":2},{"value":"Creating an application and granting it API permissions","depth":2},{"value":"Testing OAuth credentials","depth":2},{"value":"Testing OAuth using Postman or command line","depth":3},{"value":"Testing OAuth using Swagger UI","depth":3},{"value":"Migrating your Application to OAuth from Application/API key","depth":2},{"value":"Troubleshooting","depth":2},{"value":"Additional info on Creating an Extractor and an Extraction for API Endpoints","depth":2},{"value":"Creating an extractor builder for APIs","depth":3},{"value":"Creating an extraction","depth":3}]},"contentItem":{"data":{"lastModified":"2025-10-07T16:52:38.000Z","enableToc":null,"disableLastModified":null,"tocMaxDepth":null,"requestLogin":false}},"siteConfig":{"enableToc":false,"disableLastModified":false,"tocMaxDepth":4}},"pageContext":{"matchPath":"","id":"431e43d2-9933-5d30-aa29-2724a7cc3a37__redocly content/celonis-apis/migrating-to-oauth/","seo":{"title":"Migrating to OAuth 2.0","description":null,"image":"","keywords":null,"jsonLd":null,"lang":null,"siteUrl":null},"pageId":"celonis-apis/migrating-to-oauth.md","pageBaseUrl":"/celonis-apis/migrating-to-oauth","type":"markdown","toc":{"enable":true,"maxDepth":4,"headings":[{"depth":1,"value":"Migrating to OAuth 2.0","id":"migrating-to-oauth-20"},{"depth":2,"value":"Celonis APIs that currently support OAuth 2.0:","id":"celonis-apis-that-currently-support-oauth-20"},{"depth":2,"value":"Migrating applications calling Celonis APIs to OAuth 2.0 from API/Application keys","id":"migrating-applications-calling-celonis-apis-to-oauth-20-from-apiapplication-keys"},{"depth":2,"value":"Connecting audit log, login history, members, and Studio adoption APIs to Celonis Platform using OAuth 2.0","id":"connecting-audit-log-login-history-members-and-studio-adoption-apis-to-celonis-platform-using-oauth-20"},{"depth":2,"value":"Creating an application and granting it API permissions","id":"creating-an-application-and-granting-it-api-permissions"},{"depth":2,"value":"Testing OAuth credentials","id":"testing-oauth-credentials"},{"depth":3,"value":"Testing OAuth using Postman or command line","id":"testing-oauth-using-postman-or-command-line"},{"depth":3,"value":"Testing OAuth using Swagger UI","id":"testing-oauth-using-swagger-ui"},{"depth":2,"value":"Migrating your Application to OAuth from Application/API key","id":"migrating-your-application-to-oauth-from-applicationapi-key"},{"depth":2,"value":"Troubleshooting","id":"troubleshooting"},{"depth":2,"value":"Additional info on Creating an Extractor and an Extraction for API Endpoints","id":"additional-info-on-creating-an-extractor-and-an-extraction-for-api-endpoints"},{"depth":3,"value":"Creating an extractor builder for APIs","id":"creating-an-extractor-builder-for-apis"},{"depth":3,"value":"Creating an extraction","id":"creating-an-extraction"}]},"data":{"title":""},"catalogInfo":null,"link":"/celonis-apis/migrating-to-oauth/","sidebarName":"celonis","isLanding":false,"showPrevButton":null,"showNextButton":null,"apiVersions":null,"apiVersionId":null,"isDefaultApiVersion":null}},"staticQueryHashes":["1123603147","1302185487","1344209882","1398840060","1520077861","1975142765","2667623876","2950305614","3240152602","3743992808","561138138"]}