Authentication
The API is only accessible using secure HTTPS-connections.
A Client ID and API Token are required for accessing API resources. Users with an administrative role are able to view, create and remove these company-wide API credentials in the HappyOrNot reporting service Admin. If you don’t have access to the HappyOrNot Reporting service you should ask your HappyOrNot contact or our support at support@happy-or-not.com.
In authentication error cases the API will return appropriate response (HTTP 401 Unauthorized).
The API provides two authentication methods:
HTTP Basic Authentication
When using Basic Authentication, use the client identifier as username and API token as password.
HTTP Headers
The API has two headers reserved for authentication: X-HON-Client-Id and X-HON-API-Token.