Reply To: API call is showing 403 error message

#13343
Zach GoodmanZach Goodman
Moderator
5 pts

Like @muhammed mentioned, you might have missed the Authentication key while initiating the request. HTTP 403 error code is returned when access to the requested resource is forbidden. In your case, the key required to authenticate the request is missing; the other reasons to get this error code could be an invalid key or an unsupported Hexnode UEM plan.

If you’re using Postman, you can add the Authorization key by going to the Authorization sub-tab and selecting the Authentication Type as API Key. Now, go to the Admin tab on your portal and find your API key under the API sub-tab. You can copy the code from there and paste it on the Postman app. The configuration on the Postman side under Authorization should be as –

Key: Authorization

Value: {Your API key}

Add to: Header

Next time you try the API request, the 403 shouldn’t appear if the API key you provided is correct.

Cheers!
Zach Goodman
Hexnode UEM