The State Tool API requires either a JWT and/or an API key, depending on your use case. This article will help you generate those authentication credentials.
Authentication requires the following:
state auth command.After authenticating with the State Tool CLI, you can authenticate with the GraphQL console using either:
Never share or publicly display sensitive authentication credentials to protect your account.
state export jwt
state export new-api-key <orgname/projectname>
In the “Header” section of the GraphQL console, enter your token:
{
"Authorization": "Bearer <token-here>"
}
For complete schema documentation, visit our API Reference guide.