Using API Tokens for GraphQL and REST APIs in Panther
Last updated: June 30, 2025
QUESTION
How do I use API tokens to access Panther's GraphQL and REST APIs? Are separate tokens needed for each API?
ANSWER
The same API token works for both Panther's GraphQL and REST APIs. However, there are two key requirements for successful API access:
Appropriate Permissions: Ensure your API token has the necessary permissions for the specific queries or operations you want to execute.
Correct URL Format: Each API requires a different URL format:
GraphQL API URL format:
https://api.your-panther-instance.runpanther.net/public/graphqlREST API URL format:
https://api.your-panther-instance.runpanther.net
For detailed information about API URLs and usage, refer to: