---
title: "/:channel"
method: POST
path: "/giveaways/{channel}"
tags: ["giveaways"]
---

# /:channel

`POST /giveaways/{channel}`

## Request

- Base URL: `https://api.streamelements.com/kappa/v2`
- URL: `https://api.streamelements.com/kappa/v2/giveaways/{channel}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://api.streamelements.com/oauth2/authorize`
    - Token URL: `https://api.streamelements.com/oauth2/token`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/streamelements/apis/se-api-docs/docs/giveaways/:channel/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a new Giveaway This endpoint is available only in the API version 3. Make sure to use the v3 base URL: https://api.streamelements.com/kappa/v3.

## Path parameters

- `channel` string, required

## Headers

- `Accept` string, required

## Request body

- object

## Response `200`

- Giveaway
  - `subscriberLuck` integer, required
  - `subscriberOnly` boolean, required
  - `totalAmount` integer, required
  - `totalUsers` integer, required
  - `botResponses` boolean, required
  - `_id` string, required
  - `winners` string[], required
  - `channel` string, required
  - `createdAt` string, required
  - `updatedAt` string, required
  - `startedAt` string
  - `state` string
  - `endedAt` string

## Changes

- **2021-02-08** `8421cd25897f`: 1 breaking, 3 info
  - removed the required property `entrants` from the response with the `200` status
  - added the optional property `endedAt` to the response with the `200` status
  - added the optional property `startedAt` to the response with the `200` status
  - added the optional property `state` to the response with the `200` status
- **2021-02-07** `8c745ed2e9e4`: 11 warning
  - the optional response header `Access-Control-Allow-Credentials` removed for the status `200`
  - the optional response header `Access-Control-Expose-Headers` removed for the status `200`
  - the optional response header `ETag` removed for the status `200`
  - the optional response header `Server` removed for the status `200`
  - …7 more

[Operation history](https://skmtc.dev/streamelements/apis/se-api-docs/changes/giveaways/:channel/post.md)

---

[API](https://skmtc.dev/streamelements/apis/se-api-docs.md) - [All operations](https://skmtc.dev/streamelements/apis/se-api-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/streamelements/apis/se-api-docs/revisions/aa13169b9373?raw)
