To perform API calls using a specific Centreon user, you need permissions to do so. You have to edit user settings on the menu Configuration > Users > Contacts/Users, edit user and on second tab check box Reach API.

How to authenticate

Using POST method and the URL below:


Body form-data:

Parameter Type Value
username Text The user name you use to login on Centreon
password Text Your Centreon password

The response is a json flow getting back the authentication token

"authToken": "NTc1MDU3MGE3M2JiODIuMjA4OTA2OTc="

This token will be used later on the other API actions.


Token is available 1 hour and is refreshed after each request. If no request is sent during 1 hour, you must authenticate again to get a new token