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
- Sign in to your Starhunter system
- Click your profile picture in the top right
- Select Edit profile -> Login -> API Tokens
- Click the plus icon (+) to create a new token
- Enter a meaningful name for the token, for example "GraphQL Integration", and an expiration date
- Click Add
- Copy the generated token immediately and store it securely
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
Feedback sent
We appreciate your effort and will try to fix the article