Skip to content
Deal Night
Menu

API reference

Games API

Create, update and run games: status, blind levels, co-hosts, invitations, photos, results.

Access. Signed-in user. Changes need host rights on the game (the host, a co-host or an admin).

Base URL https://api.dealnight.app

MethodPathOperation
POST/api/gamesCreate a game
GET/api/gamesList your games
GET/api/games/discoverDiscover public games
GET/api/games/{id}Get a game
PATCH/api/games/{id}Update a game
DELETE/api/games/{id}Delete a game
POST/api/games/{id}/statusChange the game status
PUT/api/games/{id}/blind-levelsReplace the blind levels
GET/api/games/{id}/cohostsList co-hosts
POST/api/games/{id}/cohostsAdd a co-host
DELETE/api/games/{id}/cohostsRemove a co-host
POST/api/games/{id}/cohosts/bulkAdd several co-hosts
POST/api/games/{id}/invitationsAdd invitees
GET/api/games/{id}/invitationsList invitations
POST/api/games/{id}/invitations/sendSend invitations
POST/api/games/{id}/invitations/{invitationId}Update an invitation
DELETE/api/games/{id}/invitations/{invitationId}Remove an invitation
GET/api/games/{id}/photosList photos
POST/api/games/{id}/photosUpload a photo
DELETE/api/games/{id}/photosDelete a photo
GET/api/games/{id}/resultsGet the results
POST/api/games/{id}/resultsRecord the results
POST/api/games/{id}/remindersResend invitations to invitees