single giveaway
giveaways
/:channel/:giveawayId/start
Changed onStart a 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.
put/giveaways/{channel}/{giveawayId}/start
Request
- Base URLhttps://api.streamelements.com/kappa/v2
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://api.streamelements.com/oauth2/authorizeToken URLhttps://api.streamelements.com/oauth2/token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
channelstring required
Example:5b2e2007760aeb7729487dab
guid - Channel id
giveawayIdstring required
guid - Giveaway id
Headers
Acceptstring required
Example:application/json; charset=utf-8
Response
Example response
{
"subscriberLuck": 1,
"subscriberOnly": false,
"totalAmount": 0,
"totalUsers": 0,
"botResponses": false,
"_id": "5c0a6c00de9a4c3a70a14da6",
"winners": [],
"channel": "5b2e2007760aeb7729487dab",
"createdAt": "2018-12-07T12:48:00.133Z",
"updatedAt": "2018-12-07T12:48:00.133Z"
}Changes
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
removed the required property
from the response with the status - info
added the optional property
to the response with the status
- breaking
- info
api tag
giveawaysadded
- info