Skip to content
GridCraft
FeaturesPricingGamesDocsEditor
FeaturesPricingGamesDocsEditor
GridCraft

A tile map editor for game developers.

Product

  • Features
  • Pricing
  • Editor

Resources

  • Documentation
  • Get Started
  • Sign In
  • Dashboard

Community

  • Send feedback
  • Discord

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy
© 2026 GridCraft. A product of OmniaDev Inc.
Documentation menu
  • Getting started

    • Introduction
  • Editor concepts

    • Tile layers
    • Object layers
    • Tilesets
    • Variable-sized tiles
    • Terrain brushes
    • AutoMap rules
    • Plugins
  • Workflows

    • Open a Tiled file
    • Convert to GridCraft
    • Real-time collaboration
    • Edit with AI agents
    • Save to cloud
    • Use the desktop app
  • Export formats

    • Tiled JSON
    • LDtk
    • Godot 4
    • GameMaker
    • Defold
    • LOVE2D (Lua)
    • CSV
    • Binary (server-ready)
  • Account & cloud

    • Cloud sync, devices, Discord
  • Admin

    • Audit log
  • API reference

    • Overview
    • Auth
    • Maps
    • Billing
    • Admin
    • Discord linking
    • Devices
  • Legal

    • Legal index
  • Getting started

    • Introduction
  • Editor concepts

    • Tile layers
    • Object layers
    • Tilesets
    • Variable-sized tiles
    • Terrain brushes
    • AutoMap rules
    • Plugins
  • Workflows

    • Open a Tiled file
    • Convert to GridCraft
    • Real-time collaboration
    • Edit with AI agents
    • Save to cloud
    • Use the desktop app
  • Export formats

    • Tiled JSON
    • LDtk
    • Godot 4
    • GameMaker
    • Defold
    • LOVE2D (Lua)
    • CSV
    • Binary (server-ready)
  • Account & cloud

    • Cloud sync, devices, Discord
  • Admin

    • Audit log
  • API reference

    • Overview
    • Auth
    • Maps
    • Billing
    • Admin
    • Discord linking
    • Devices
  • Legal

    • Legal index

API reference

The GridCraft API is JSON over HTTPS. Authenticated endpoints take a JWT in the Authorization header. Errors come back with a stable code string so you can branch on them.

Base URL

https://api.gridcraft.dev

Authentication

Call POST /auth/login (or /auth/register) and you get back a JWT. Pass it on every authenticated request:

Authorization: Bearer <token>

The token expires 24 hours after it is issued, so request a fresh one when it lapses. There is no server-side revocation yet; signing out clears the token locally, so treat it like a password and keep it private.

Errors

Errors have a standard shape. Use code for branching; message is for humans.

{
  "error": "Map not found",
  "code":  "MAP_NOT_FOUND"
}

Sections

  • Auth: register, login, profile, password change, admin activity feed.
  • Maps: list, read, create, update, delete your maps.
  • Billing: Stripe checkout, customer portal, status, invoices.
  • Admin: user management and audit log. Admin-only.
  • Discord linking: OAuth start, callback, unlink.
  • Devices: register, list, unlink desktop devices.

The Stripe webhook (POST /billing/webhook) is internal. Stripe calls it directly with a signed payload. Not documented here.