Creating a token in KASAP and getting a URL for API requests

May 15, 2024

ID 260976

Creating a token

To authorize API requests from KUMA to KASAP, the requests must be signed with a token created in KASAP.

Only the company's administrator can create a token.

To create a token:

  1. Sign in to the KASAP web interface.
  2. In the Dashboard section, select the Import and sync section, and then open the OpenAPI tab.
  3. Click the New token button.
  4. In the window that opens, select the token rights available during integration:
    • GET /openapi/v1/groups
    • POST /openapi/v1/report
    • PATCH /openapi/v1/user/:userid
  5. Click the Generate token button.

    The generated token is displayed on the screen.

  6. Copy the token and save it in any convenient way. This token is required to configure integration between KASAP and KUMA.

    The token is not stored in the KASAP system in the open form. After you close the Create token window, the token is unavailable for viewing. If you close the window without copying the token, you will need to click the Reissue token button for the system to generate a new token.

The issued token is valid for 12 months.

Getting a URL for API requests

The URL is used for interacting with KASAP via OpenAPI. You have to specify this URL when configuring integration between KASAP and KUMA.

To get the URL used in KASAP for API requests:

  1. Sign in to the KASAP web interface.
  2. In the Dashboard section, select the Import and sync section, and then open the OpenAPI tab.
  3. In the OpenAPI URL field, copy the URL, and then save it in any convenient way.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.