How to Obtain an Access Token

To authenticate with our GraphQL API, you can obtain a JWT access token by using the following GraphQL mutation:

mutation {
  authentication {
    login(
      username: "your-username",
      password: "your-password",
      strategy: "local"
    ) {
      jwt
    }
  }
}

Replace your-username and your-password with your actual credentials.

Once you execute this mutation on the GraphQL endpoint, it will return a JWT access token, which you can use for authentication in further requests.