POST
/
matchmaker
/
tickets
curl --request POST \
  --url https://backend.computeflow.cloud/matchmaker/tickets \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "matchmaker_name": "default_matchmaker",
  "player_id": "player123",
  "matchmaker_id": "c0c17d62-890e-4788-83e0-f16be8db4901",
  "regions": [
    "us-east",
    "us-west"
  ],
  "elo": 1000,
  "preferred_modes": [
    "capture_the_flag",
    "deathmatch"
  ],
  "gameBuild": "Build_1.2.3"
}'
{
  "ticket_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
  "player_id": "player_123",
  "matchmaker_id": "c0c17d62-890e-4788-83e0-f16be8db4901",
  "status": "In Queue",
  "created_at": 1678886400000,
  "elo": 1250,
  "gameBuild": "Build_1.2.3",
  "regions": [
    "NA-East",
    "EU-West"
  ],
  "match": {}
}

Authorizations

api-key
string
header
required

Headers

api-key
string
required

API key for authentication

client-auth-token
string

Optional client authentication token for player validation

Body

application/json

Response

201
application/json

Ticket created successfully

The response is of type object.