Skip to content

AIHR API Authentication

Authentication is the most important step before you can interact with the AIHR API.
AIHR provides API key authentication method to help our partners establish a fast and secure communication to access our resources.


  1. You need to have an active AIHR license
  2. You need to get an API key. Reach out to your AIHR contact or AIHR Support for more details.

To authenticate with an API key, add a header named X-AIHR-API-Key to your request and set its value to your API key.

Example Request:

Terminal window
curl https://prod.burnwood.aihr.com/lms/external/api/v1/learningcatalog/search \
--header 'X-AIHR-API-Key: YOUR_API_KEY'

Or using JavaScript:

fetch(
"https://prod.burnwood.aihr.com/lms/external/api/v1/learningcatalog/search",
{
headers: {
"X-AIHR-API-Key": "YOUR_API_KEY",
},
}
);

For all endpoints, you can find the required header in Scalar. This means the endpoint expects you to provide a valid API key.

scalar-preview


  • Store API keys and tokens in environment variables or secure vaults.
  • Never commit your API key to version control.