---
title: "Streak protection (story #24918): pauses a customer's live check-in streak for the configured days, or until they unfreeze."
method: POST
path: "/api/v1/Bots/streak-protection/freeze"
tags: ["Bots"]
---

# Streak protection (story #24918): pauses a customer's live check-in streak for the configured days, or until they unfreeze.

`POST /api/v1/Bots/streak-protection/freeze`

## Request

- Base URL: `https://api.gameball.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gameball.co/api/v1/Bots/streak-protection/freeze`
- Auth: none declared. Required headers: `APIKey`

## Headers

- `Authorization` string
- `lang` string
- `APIKey` string, required
- `SecretKey` string

## Request body

- GameBallBLLViewModelsStreakStreakProtectionActionViewModel
  - `playerUniqueId` string, nullable
  - `playerId` integer, nullable
  - `challengeId` integer
  - `nextEvaluationAt` string, date-time, nullable

## Response `200`

OK

- GameBallBLLHelperBussinessCustomResponse1GameBallBLLViewModelsStreakStreakProtectionActionResultViewModel
  - `response` GameBallBLLViewModelsStreakStreakProtectionActionResultViewModel
    - `protectionType` 1 | 2
    - `status` 1 | 2 | 3
    - `streakLength` integer
    - `ongoingStreak` integer
    - `usedAt` string, date-time
    - `frozenUntil` string, date-time, nullable
    - `nextEvaluationAt` string, date-time, nullable
    - `streakBreaksAt` string, date-time, nullable
  - `success` boolean
  - `errorMsg` string, nullable
  - `errorCode` integer
  - `liveMode` boolean, nullable

---

[API](https://skmtc.dev/gameballers/apis/gameball-api-2.md) - [All operations](https://skmtc.dev/gameballers/apis/gameball-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/gameballers/apis/gameball-api-2/revisions/91732ad54d20?raw)
