DocStarBuilt with DocStar

Introduction

Visit DocStar, and follow these steps to Generate Token

How to Generate Token

You can create and use an API token to securely access your workspace. Follow these steps:

  1. Click on your workspace name
    – Located in the top-left corner of the interface.

  2. Select "Generate Token" from the dropdown menu.

image.png

  1. Enter a token name
    – Choose any name that helps you identify the purpose of this token.

  2. Click on "Generate Token"
    – The system will create a unique token for you.

    image (2).png

  3. Copy the token code
    – Keep it secure. This code acts as your authentication key.

image (1).png

  • If a token is no longer needed, simply click on the "Revoke" button next to it.

  • Once revoked, the token will stop working immediately.

image (4).png

Now you can use this token when making API requests to your workspace.

⚠️

⚠️

Note: Treat tokens like passwords. Do not share them publicly.




Using the Token in API Requests

Add the token to your API request's header.

image.png