---
title: "Puzzle Generator API"
slug: playsocket-game-generator
url: https://apyverse.com/pankajretestflows/service/playsocket-game-generator
provider: External Providers
categories: [Developer Tools, Smart Generation]
tags: [graphql, sudoku, schulte-table, puzzle-generation, game-content]
auth: api_key
---

# Puzzle Generator API 

Generate Sudoku puzzles and Schulte tables via GraphQL. Returns puzzle grids, solutions, difficulty, and randomized board layouts for game apps.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `` | What it does Executes a GraphQL query against the PlaySocket GraphQL Gateway and returns the matchi… | 1000 |

## About

## What it does
PlaySocket Game Generator gives you a GraphQL endpoint that creates puzzle boards for Sudoku and Schulte table use cases. Send a query in `body.query`, and optionally pass `body.variables` and `body.operationName` when your GraphQL document uses variables or multiple named operations.

For Sudoku, `newSudokuBoard` returns a wrapper with `results`, `message`, and `grids`. Each grid includes a `value` 2D array for the puzzle, a `solution` 2D array for the solved board, and a `difficulty` value of `EASY`, `MEDIUM`, or `HARD`. That makes it useful when you need reproducible puzzle content for games, training exercises, or quiz-style experiences.

For Schulte tables, `newSchulteTable` returns a `message` and a randomized `schulteBoard` 2D integer grid sized according to the request. You can use it anywhere you need a generated layout for attention, timing, or brain-training gameplay.

The response is GraphQL-shaped: successful payloads come back under `data`, and validation or execution issues appear in `errors` with optional `path` and `locations`. Use it when your app needs generated game boards without building the puzzle logic yourself.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyverse.com/pankajretestflows/service/playsocket-game-generator
