---
title: "Open a tournament to follow along on a venue TV"
method: POST
path: "/v1/tournaments/follow_along/join"
tags: ["Tournament Follow Along"]
---

# Open a tournament to follow along on a venue TV

`POST /v1/tournaments/follow_along/join`

## Request

- Base URL: `https://api.hify.club`
- URL: `https://api.hify.club/v1/tournaments/follow_along/join`
- Auth: API key in header `X-User-Token`

Accepts a tournament's viewer code (or, for TVs set up before viewer codes, its referee code) and returns what a TV needs to follow it live: the tournament, its facility, and each court with its time slots. Each slot's game_id is the GameScoreChannel to subscribe to while that slot is running. Read-only — the caller does not become a referee. Fails if the code has expired.

## Request body

- object
  - `follow_along` object, required
    - `access_code` string, required: The tournament's viewer code, or for now its referee code (TVs set up before viewer codes), with or without the HIFY- prefix, in any case

## Response `200`

Tournament found

- TournamentFollowAlong
  - `viewer_code` string: The code for watching scores; a client keeps it in place of the code it sent.
  - `tournament` object
    - `id` string, uuid
    - `name` string
  - `facility` object
    - `id` integer
    - `name` string
    - `time_zone` string
    - `icon_url` string, nullable
  - `courts` object[]: Courts with a game in the tournament, ordered by in_facility_id
    - `in_facility_id` integer
    - `name` string: Court name, or "Court <in_facility_id>" when unnamed
    - `slots` object[]: The court's tournament games, ordered by start_time
      - `game_id` integer
      - `start_time` string, date-time
      - `end_time` string, date-time

## Other responses

- `400`: Missing, blank or non-text access code
- `401`: Unauthorized
- `404`: Invalid access code — no tournament found
- `422`: Access code has expired

---

[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)
