Run the DocStar API with an Auth Key

Use an Auth Key when your AI assistant can't connect to the DocStar MCP server. The assistant then calls the DocStar API directly.

#

1. Create an Auth Key

Only the workspace Owner can create one.

  1. Click your workspace name at the bottom of the left sidebar.
  2. Click Auth Key.
  3. Enter a Token Name and click Generate Token.
  4. Copy the token. It starts with hm_ and is shown only once.

The key works only for that workspace. To revoke it, see API Tokens.

#

2. Call the API

Send the key with every request:

Authorization: Bearer hm_your_token
  • Workspace id: POST https://api.docstar.io/proxy/decode-token returns the key's workspace name and id (orgDetails).
  • All APIs: https://developers.docstar.io/module.json lists every module. Each module's endpoints, with method, URL, params, body and sample responses, are at https://developers.docstar.io/<module path>/module.json.