---
title: "Create a sponsor for a tournament"
method: POST
path: "/v1/tournaments/{tournament_id}/sponsors"
tags: ["Tournament Sponsors"]
---

# Create a sponsor for a tournament

`POST /v1/tournaments/{tournament_id}/sponsors`

## Request

- Base URL: `https://api.hify.club`
- URL: `https://api.hify.club/v1/tournaments/{tournament_id}/sponsors`
- Auth: API key in header `X-User-Token`

Admin only.

## Request body

- object
  - `tournament_sponsor` object, required
    - `name` string
    - `position` 'top_right' | 'bottom_left' | 'bottom_right', required
    - `display_order` integer
    - `s3_bucket` string
    - `s3_path` string

## Response `201`

Sponsor created

- TournamentSponsor
  - `id` string, uuid
  - `tournament_id` string, uuid
  - `name` string
  - `s3_bucket` string: S3 bucket that holds the sponsor logo, derived from media_assets_bucket setting
  - `s3_path` string: S3 key path for the logo (e.g. /tournaments/{id}/sponsors/logos/{id}.jpeg)
  - `position` 'top_right' | 'bottom_left' | 'bottom_right'
  - `display_order` integer

## Other responses

- `401`: Unauthorized
- `403`: Forbidden — admin access required
- `404`: Tournament not found
- `422`: Unprocessable entity

---

[API](https://skmtc.dev/hify/apis/hify-apis.md) - [All operations](https://skmtc.dev/hify/apis/hify-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/hify/apis/hify-apis/revisions/b5920403538d?raw)
