---
title: "POST /api/v1/Bots/popup-campaign/newsletter"
method: POST
path: "/api/v1/Bots/popup-campaign/newsletter"
tags: ["Bots"]
---

# POST /api/v1/Bots/popup-campaign/newsletter

`POST /api/v1/Bots/popup-campaign/newsletter`

## 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/popup-campaign/newsletter`
- Auth: none declared. Required headers: `APIKey`

## Headers

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

## Request body

- GameBallBLLViewModelsSubmitPopupViewModel
  - `challengeId` integer
  - `definitionId` string, nullable
  - `playerId` integer, nullable
  - `email` string, nullable

## Response `200`

OK

- GameBallBLLHelperBussinessCustomResponse1GameBallBLLViewModelsSubmitPopupResponseViewModel
  - `response` GameBallBLLViewModelsSubmitPopupResponseViewModel
    - `showCouponDetails` boolean
    - `multipleSuccessImages` boolean
    - `logoUrl` string, nullable
    - `channelType` 1 | 2 | 3
    - `setupMode` 0 | 1
    - `currentStep` string, nullable
    - `type` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -1
    - `definition` GameBallCommonModelChallengeConfigurationsPopupConfigurationsDefinition
      - `id` string, nullable
      - `name` string, nullable
      - `order` integer
      - `reward` boolean
      - `definition` GameBallCommonModelChallengeConfigurationsPopupConfigurationsElement
        - `type` string, nullable
        - `name` string, nullable
        - `id` string, nullable
        - `styles` object, nullable
        - `classes` string[], nullable
        - `properties` object, nullable
        - `mediaQueries` object, nullable
        - `elements` GameBallCommonModelChallengeConfigurationsPopupConfigurationsElement[], nullable
    - `delay` integer
    - `enableOverlay` boolean
    - `analyticsAction` string, nullable
    - `frequency` integer, nullable
    - `frequencyPeriodDays` integer, nullable
    - `scrollPercentage` number, double, nullable
    - `challengeId` integer
    - `locales` object, nullable
    - `validation` GameBallBLLViewModelsSubmitPopupValidationViewModel
      - `elementId` string, nullable
      - `error` string, nullable
  - `success` boolean
  - `errorMsg` string, nullable
  - `errorCode` integer
  - `liveMode` boolean, nullable

## Changes

- **2026-11-11** `a267d72303bc`: 6 info
  - added the optional property `response/currentStep` to the response with the `200` status (media type: text/plain)
  - added the optional property `response/currentStep` to the response with the `200` status (media type: application/json)
  - added the optional property `response/currentStep` to the response with the `200` status (media type: text/json)
  - added the optional property `response/setupMode` to the response with the `200` status (media type: text/plain)
  - …2 more
- **2026-11-08** `9fd461f996b3`: 3 warning
  - added the new `22.00` enum value to the `response/type` response property for the response status `200` (media type: text/plain)
  - added the new `22.00` enum value to the `response/type` response property for the response status `200` (media type: application/json)
  - added the new `22.00` enum value to the `response/type` response property for the response status `200` (media type: text/json)
- **2026-10-20** `2271b0c49faf`: 3 warning
  - added the new `23.00` enum value to the `response/type` response property for the response status `200` (media type: text/plain)
  - added the new `23.00` enum value to the `response/type` response property for the response status `200` (media type: application/json)
  - added the new `23.00` enum value to the `response/type` response property for the response status `200` (media type: text/json)

[Operation history](https://skmtc.dev/gameballers/apis/gameball-api-2/changes/api/v1/Bots/popup-campaign/newsletter/post.md)

---

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