---
title: "Create Match"
method: POST
path: "/api/v1/competitions/{competition_id}/matches"
tags: ["Competitions", "competitions"]
---

# Create Match

`POST /api/v1/competitions/{competition_id}/matches`

## Request

- Base URL: `https://app.aimrank.io` (the document declares no server; this is the origin it was published from)
- URL: `https://app.aimrank.io/api/v1/competitions/{competition_id}/matches`
- Auth: none declared

Add a match to a competition.

## Path parameters

- `competition_id` string, required

## Request body

- CreateMatchRequest
  - `entity_a_id` string, required
  - `entity_b_id` string, required
  - `match_number` integer, nullable
  - `card_position` string, nullable
  - `scheduled_rounds` integer
  - `weight_class` string, nullable
  - `is_title_fight` boolean
  - `scheduled_at` string, date-time, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aimrank/apis/aimrank-api.md) · [All operations](https://skmtc.dev/aimrank/apis/aimrank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aimrank/apis/aimrank-api/revisions/3574d0aff459?raw)
