Create API token

Create API token

For the most part, the data stored in BrynQ can also be retrieved via REST APIs. Of course, authorization also applies here. This article describes how to create an API token. The article "REST API" describes how the REST API can actually be used.

Creating a token

  1. A token gives rights to retrieve data from certain parts of BrynQ. For example, it is possible to retrieve data with all users, or data from connectors, etc. The token required for this is created as follows:
  2. Navigate to Settings > General > API Access;
  3. At the top right of the screen, click Add API token;
  4. Give the token a clearly identifiable and descriptive label;
  5. Under "Page Rights," specify the pages from which the token can retrieve data. The token only gives Read rights to these pages. Note that only pages to which the user currently has access can be chosen here.
  6. If there are multiple clients (which will almost never be the case), possibly specify which clients this token applies to;
  7. For security, it may be desirable to give the token an end date and time when the token loses its validity;
  8. Click on "Save."
  9. Save the token that now appears on the screen somewhere. It cannot be requested again. Click on Ok.
The token can be used in the Authorization header. The key must be provided with SalureToken. If the token would be abcd1234 the header will look like this: { "Authorization": "SalureToken abcd1234"}.
    • Related Articles

    • REST API

      Data die in BrynQ is opgeslagen, is via REST API’s op te vragen. Dit artikel bevat een beschrijving hoe de REST API’s aangeroepen kunnen worden en wat de mogelijke endpoints zijn. Autorisatie Voordat het mogelijk is om de REST API aan te roepen, ...
    • Create Your First Interface

      Summary: Create your first BrynQ interface by choosing a template or starting a custom interface with BrynQ support. Requirements: - You need Create interfaces permission. - The source and target apps must be active before you can use a template. - ...
    • Create an Interface from a Template

      Summary: Create a new BrynQ interface by selecting a ready-made template and, when needed, activating the apps used by that template. Requirements: - You need the Create interfaces permission. - Your plan must have space for another interface. - If ...
    • Create a Custom Interface and Define the Scope

      Summary: Create a custom interface in BrynQ and add the first scope details so BrynQ knows what needs to be built. Requirements: - You need access to Interfaces. - You need permission to create interfaces. - The source and target apps you want to use ...
    • Setup an automated data interface between Factorial and Sage

      What is this guide for? This guide walks you through setting up an automated data interface between Factorial and Sage 100. Once complete, employee data will flow from Factorial into Sage automatically — no manual exports, no copy-pasting, no ...