Start matchmaking
Host only. Enters the lobby into the matchmaking queue for the specified mode.
The mode must be a matchmaking mode defined in the lobby config (e.g. "ranked_2v2", "casual_ffa").
How it works:
- Lobby status transitions to
in_queue - The matchmaking system immediately attempts to find compatible opponents
- If no immediate match, the lobby waits in the queue
- When matched, status transitions to
match_foundand a game server is started
Queue stats: The response includes matchmaking.queueStats with the number of players searching and average wait time. Players receive live updates via SSE (queue_stats events every 10 seconds).
Cancel: Use DELETE /{config}/me/matchmaking to leave the queue and return to waiting.
Documentation Index
Fetch the complete documentation index at: https://docs.playflowcloud.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Headers
Unique player identifier. Must be the lobby host.
Path Parameters
Lobby configuration name or ID.
Body
Start matchmaking. The lobby enters the queue and is matched with compatible opponents.
Matchmaking mode name from the lobby config (e.g. "ranked_2v2", "casual_ffa").
1Response
Matchmaking started. Status is in_queue. The matchmaking field includes mode, startedAt, and queueStats.
Full lobby state including players, server, and matchmaking info.
Lobby ID.
Invite code for joining (null if private mode is disabled).
Lobby config name.
Current lobby status.
waiting, in_queue, starting, matched, match_found, in_game Player ID of the host.
Maximum player capacity.
Current number of players.
Preferred game server region.
Whether the lobby is hidden from browsing.
Whether players can join mid-game.
Custom game settings.
Players in the lobby with their state.
Game server info (null when no game running).
Matchmaking info (null when not searching).
ISO 8601 creation timestamp.
ISO 8601 last update timestamp.