Skip to main content
GraphQL is the main Kralis product API. It provides authentication, queries, mutations, schema discovery, filters, pagination, and typed responses. REST remains available for Kralis Web and compatible authentication clients.

Choose an API

GraphQL requests

Send a JSON body containing query, optional variables, and optionally operationName.
Prefer variables over interpolating user input into query strings. Request only fields your client uses, give operations meaningful names, and generate types from the live schema where your toolchain supports it.

REST authentication requests

Use the method, path, body, and response documented for /auth/ in the live OpenAPI surfaces. Do not infer that a GraphQL product mutation has an equivalent REST endpoint.

Response differences

GraphQL and REST authentication issue the same SimpleJWT token family. Use one lifecycle consistently and send product operations to /graphql/.