---
title: "/games/hq/sessions/{id}/guess"
method: POST
path: "/v1/games/hq/sessions/{session_id}/guess"
tags: ["internal"]
---

# /games/hq/sessions/{id}/guess

`POST /v1/games/hq/sessions/{session_id}/guess`

## Request

- Base URL: `https://api.companydata.dk` (the document declares no server; this is the origin it was published from)
- URL: `https://api.companydata.dk/v1/games/hq/sessions/{session_id}/guess`
- Auth: HTTP bearer

Score the next round of a session and reveal the actual location.

## Path parameters

- `session_id` string, required

## Request body

- HqGuessRequest
  - `lat` number, required
  - `lng` number, required

## Response `200`

Successful Response

- HqGuessResponse
  - `round_index` integer, required
  - `lat` number, required: Actual HQ latitude
  - `lng` number, required
  - `city` string, nullable
  - `street` string, nullable
  - `distance_km` number, required
  - `points` integer, required
  - `total_score` integer, required
  - `done` boolean, required
  - `stats` HqDailyStats
    - `date` string, required
    - `plays` integer, required
    - `percentile` integer, nullable: Share of today's plays this score beats (0-100)
    - `avg_score` integer, nullable
    - `hardest` HqHardestCompany
      - `cvr` string, required
      - `name` string, nullable
      - `avg_distance_km` number, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/companydata/apis/companydata-dk-api.md) · [All operations](https://skmtc.dev/companydata/apis/companydata-dk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companydata/apis/companydata-dk-api/revisions/1cc6c361ae64?raw)
