Create Authentication Token

Create access token required for all other APIs

Kayzen API supports standard OAuth with password grant type.

You are required to pass the Authorization: Basic ... header by deriving values from base64 encoded string <API_Key>:<API_Secret_Key>, which you can get in the Audience & Reporting API Integration settings in the Console UI. Refer to this link to learn how to get your API Key and API Secret Key.

For example, if your API Key is aaa and your API Secret Key is bbb, the base64 encoded string would be base64('aaa:bbb') = YWFhOmJiYg==. The full header would be:

Authorization: Basic YWFhOmJiYg==

If you want to create a token using the "Try It" tab on the right, use the 'Credentials' section as follows:

  • Enter your API Key as the username
  • Enter your API Secret Key as the password
    This will automatically handle the base64 encoding and populate the Authorization: Basic ... header.

You also need to provide your Kayzen login email and password in the request body, under the username and password fields.
(Refer to the BODY PARAMS section below.)

The response is a JSON object containing access_token, which is an OAuth token. You must include it in the header of all future requests as:

Authorization: Bearer <access_token>

The token expires in 30 minutes, after which you'll need to make a new authentication call using the same steps.

Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!