Skip to main content

Retrieving an API User Key from Tripletex

Written by Olav Harald Våge

This guide explains how to create an employee token in Tripletex. The token is shared with Brevio to activate the integration.
​

Recommended: a dedicated user for the Brevio integration

We recommend creating a separate user in Tripletex that is used only by Brevio, for example “Brevio Integration”. The user is given exactly the access the integration needs, and the token is created on this user.


This means you don’t have to change the access rights of regular employees, and the integration keeps working even if an employee leaves or changes role. Users cost nothing extra in Tripletex, so this is the standard recommendation for integrations.


​Before you start: You must be a user administrator to create users and see the “API access” tab. A token can never have more access than the user it is created on.
​

Part 1: Create the integration user

  1. Log in to Tripletex and go to Salary and then Employees.

  2. Select New employee.

  3. Fill in the contact details:

    • First name: Brevio

    • Last name: Integration

    • Email address: an address your company has access to, for example a shared mailbox

  4. Under Employee details, set Date of employment to today’s date. The other fields can be left as they are.

  5. Under What is the employee’s role in the company?, choose Different role and then Auditor.

  6. Save the new employee.

Part 2: Create the token

  1. Open the new employee “Brevio Integration” and go to the API access tab. You will now see the overview of API employee tokens.

  2. Select New token. A creation window opens.

  3. Search for “Brevio_revisjon” in the application list and name the token “Brevio_revisjon”, as shown below:

  4. Click Create token. Tripletex now displays the token itself. Copy it and add it in Brevio.

Important! The token is only displayed when it is created. If the token is lost, a new one must be created.
​

Alternative: use an existing employee

You can also create the token on an existing employee. Go to Salary and Employees, select the relevant employee and follow Part 2. Note that the token will then have the same or less access than that employee, and the integration may stop working if the employee is deactivated or their access is changed.

Did this answer your question?