Skip to main content
GraphQL is the main Kralis product API. It provides onboarding, authentication, queries, mutations, schema discovery, filters, pagination, and typed responses. Kralis Web uses this GraphQL lifecycle too. REST authentication remains available as a compatibility surface.

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. This surface exists for compatible clients; new integrations should normally use the GraphQL lifecycle. 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/.