Ask the Community
Groups
HTTP ERROR 403 error when using the KNM API - Connect IT Community | Kaseya
<main> <article class="userContent"> <p><strong>Problem:</strong></p> <p>After the recent changes to the KNM API calls when trying to access the API as per the below help link, we are getting the below error.</p> <p> </p> <p><img src="https://us.v-cdn.net/6032361/uploads/migrated/ZZ59H6ZQJ3OW/mceclip0.png" alt="image" class="embedImage-img importedEmbed-img"></img></p> <p> </p> <p><strong>Resolution:</strong></p> <p>To overcome this issue it is recommended that you use the API key.</p> <p>Create an API key for your username by going to Network Monitor=>User=>My Settings->Basic properties and click new if there is no entry or copy the entry that already exists in the API Key: field.<br><br>Once you get the API key there would be a change in the URL's which would allow you to access the KNM API.<br><br>For example:<br> <server url>/knm/extract.xsi?cmd=version&user=kadmin<br>becomes:<br> <server url>/knm/extract.xsi?cmd=version&user=kadmin<strong>&apikey=7779F00A07A14A1C58581262ADD250C8</strong></p> <p> </p> <p><strong>Note:</strong> The API key generated is user-specific.</p> </article> </main>