GraphQL Interface in Starhunter

Modified on Tue, 4 Aug at 5:20 PM

Overview

The GraphQL interface allows you to query data from your Starhunter system and integrate it into other applications.

Endpoint

/Api/graphql

Example: https://your-company.starhunter.software/Api/graphql

Authentication

The GraphQL API requires an API token for authorization. It is sent with every request as an Authorization header:

Authorization: Bearer [YOUR_API_TOKEN]

Create an API token

  1. Sign in to your Starhunter system
  2. Click your profile picture in the top right
  3. Select Edit profile -> Login -> API Tokens
  4. Click the plus icon (+) to create a new token
  5. Enter a meaningful name for the token, for example "GraphQL Integration", and an expiration date
  6. Click Add
  7. Copy the generated token immediately and store it securely
⚠️ Important: The token is shown only once and cannot be viewed again afterwards. If it is lost, a new token must be created.

Tip: Delete tokens regularly when they are no longer needed.

Documentation

Detailed documentation for the available GraphQL queries and types is available directly in your Starhunter system at:

/Api/docs

This interactive documentation lists all available queries and fields.

Additional Resources

If you would like to use the GraphQL interface in automated workflows, we recommend our setup guide for the Starhunter n8n Node.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article