GLPI
Configure the GLPI API connector to retrieve information via the GLPI API
This document describes the procedure for configuring the GLPI API connector to retrieve information via the GLPI API.
Objective
The purpose of this connector is to provide a method for configuring the GLPI API to retrieve necessary information using User Token and App-Token authentication.
Prerequisites
- Administrator access to GLPI
- GLPI REST API enabled
Procedure
Enable API
- Access API configuration:
- Navigate to Setup > General > API.
- Enable the required options:
- Enable "External token" to allow external token authentication.
- Enable "Credentials" to allow username/password authentication.
- Click Save.
Create API Client
- Access API Client Configuration:
- Navigate to Setup > General > API.
- Add an API client:
- Click Add API Client.
- Configure the API client:
- Give the client a name (e.g., "OverSOC Integration").
- Set "Active" to "YES".
- Configure IP restrictions (optional).
- Click Add.
- Retrieve the App-Token:
- The App-Token will be displayed after creation.
- Copy and store the App-Token securely (save it immediately).
Get User-Token
- Generate User API Token:
- Log in to GLPI as the user who will authenticate API requests.
- Click on your User Profile (top-right).
- Navigate to Remote access keys section.
- Click Regenerate to generate a new API token.
- Copy and store the User-Token securely.
API Tokens Required
To configure the GLPI connector in OverSOC, you need:
- App-Token: Retrieved from Setup > General > API (client configuration)
- User-Token: Retrieved from user's Remote access keys section under Administration > Users
Both tokens are required for full API access to GLPI.
Official Documentation
For more information, see the GLPI API Documentation