API authentication using API tokens

This update affects administrators of company accounts with at least two users.

Previously, integrations with the portatour® API authenticated using the credentials of an API/OData user or administrator user. From now on, API tokens are available as an alternative. You can create these yourself with a configurable validity period and revoke them at any time.

How to create an API token:

  1. In the Workspace Organization, open Options.
  2. Under Security, click API tokens.
  3. Click New API token.
  4. Fill in the fields:
    • Name: what the API token is used for, for example „CRM-Connector“
    • Email recipient: receives summaries of errors from API requests made using this API token and any notifications before expiration
    • Valid until: 180 days after last use (recommended) or a fixed validity period, for example 90 days
    • Email notification before expiration: when the email recipient starts receiving weekly reminders about expiration
  1. Click Create…
  2. Copy the API token using Copy to clipboard and use it in your application. The complete token will only be displayed this once.

The API manual describes how to use the API token in your integration with the portatour® API.

To revoke an API token you no longer need, right-click it and select Revoke. Integrations that use it will no longer have access.

Notes:

  • The validity period of an API token cannot be changed retroactively.
  • A maximum of 20 API tokens can be active for your organization at the same time.
  • The OData interface does not support API tokens.
  • This function is not available if portatour® is connected to Dynamics CRM as the data source system.