Hey team, I am trying to send an API request to pull some details, but it keeps coming back with 401 (invalid credentials) error. I do not see any “enable” option either. Is there something I need to turn on, or how do I fix this?
- Home
- Hexnode MDM API
- How to enable API
How to enable APISolved
Replies (3)
Marked SolutionPending Review
Participant
23 hours ago
Jan 12, 2026
Marked SolutionPending Review
It sounds like the token might not be valid anymore. I’ve had that happen when mine expired. Did you check if the credentials you’re using are correct?
Marked SolutionPending Review
Hexnode Expert
19 hours ago
Jan 12, 2026
Marked SolutionPending Review
Hello everyone, thanks for raising this.
The 401 (invalid credentials) error typically occurs if the API token is incorrect or has been revoked. Please verify that the credentials you entered are accurate. If the issue persists, you can reset the token as follows from within the Hexnode UEM console:
- Navigate to Admin → API.
- Use the Revoke option to revoke the old token.
- Click Reset to generate a new token.
- Finally, click Enable to activate the new token.
Once you update your request with the new token, the API should respond correctly.
Regards,
Simon Scott
Hexnode UEM
Marked SolutionPending Review
Participant
18 hours ago
Jan 12, 2026
Marked SolutionPending Review
Ah, I see now. some brackets were not in the right place in my request formatting!
Thanks, @simon_scott !
Save