# Matchmaking

## Motivation

coherence provides a powerful matchmaking API with various different setups (multiple teams, team sizes, etc.).

## Configuration

Before using the matchmaking service you have to configure it on the developer portal. Currently there are two things to setup: the timeout and the teams.

![](/files/-Mae3SwKUKLNdHnvgS8Y)

The timeout is in seconds. There can be any number of teams and any number of players per team.

For example, a chess game would need only one team with two players, while in a socker game you'd need two teams with eleven players per team.

## Using the matchmaking

Please refer to the [**Cloud API: Matchmaking.**](/0.5.2/api-reference/cloud-api/matchmaking.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.coherence.io/0.5.2/game-services/matchmaking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
