GoTak API

A Tak game server API providing endpoints for game management and gameplay.

📚 View Swagger Documentation

Available Endpoints

post
/auth/register
Register with email and password
auth
get
/game/new
Creates a new Tak game with the specified board size
game
post
/game/new
Creates a new Tak game with the specified board size
game
post
/game/{slug}/join
Join a game that is waiting for a second player (as black player)
game
post
/game/{slug}/move
Submit a move for a specific game
game
get
/healthz
Returns service health status
health
get
/
Returns basic API information and available endpoints
info
post
/auth/confirm-reset
Reset password with token
auth
post
/auth/logout
Logout current user (client should discard token)
auth
get
/auth/profile
Get current user profile information
auth
put
/auth/profile
Update current user profile information
auth
post
/auth/reset-password
Send password reset token for email
auth
get
/game/{slug}
Returns the current state of a game
game
get
/game/{slug}/{turn}
Returns the state of a game at a specific turn
game
post
/auth/login
Login with email and password
auth