Edit Twitch Viewers
Edit settings for a Twitch Viewers order. Only works for orders where order_type is ‘viewers’ and service is ‘twitch’.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The language of the response
en, ru Path Parameters
The ID of the order
Body
All parameters are optional. Only pass the parameters you want to change. When online_mode is "manual" (or the order is already in manual mode), the manual_chart, manual_chart_randomization, manual_chart_end_action and manual_chart_end_param fields become required.
Twitch channel name (without https://www.twitch.tv/ prefix)
"twitch"
Number of viewers (cannot exceed the originally purchased amount)
x >= 1100
Stream views multiplier (1-10, or 1-30 if customX is enabled). Final value = stream_views * threads
1 <= x <= 305
Unique viewers multiplier (1-10, or 1-30 if customX is enabled). Final value = uniq_viewers * threads
1 <= x <= 303
Enable raid mode
false
Raid duration in minutes
5 <= x <= 6010
Viewer connection time in minutes (1 to min(60, threads))
1 <= x <= 605
Online mode (replaces the removed floating_online flag). "smooth_only" — smooth connection only (equivalent of the old floating_online: false). "smooth_floating" — smooth connection plus floating viewers (equivalent of the old floating_online: true). "manual" — custom online chart, requires the manual_chart_* fields.
smooth_only, smooth_floating, manual "smooth_floating"
Custom online chart. Required when online_mode is "manual" (or the order is already in manual mode). Map where keys are minutes (integers) and values are viewer counts. Must contain at least 2 points, the first point must be at minute 0, and the chart duration (largest minute key) must be between 10 and 180 minutes.
{ "0": 20, "5": 100, "30": 80 }Randomization percentage for the custom chart. Required when online_mode is "manual" (or the order is already in manual mode).
0 <= x <= 10015
Action performed when the custom chart ends. Required when online_mode is "manual" (or the order is already in manual mode). "max_work" — keep running, "repeat" — replay the chart, "shutdown" — finish the order.
max_work, repeat, shutdown "repeat"
Duration in minutes of the end action. Required when online_mode is "manual" (or the order is already in manual mode). For "repeat" it must not exceed the chart duration. When manual_chart_end_action is "max_work" and this field is omitted, it defaults to 0.
0 <= x <= 6010
Country code for geo targeting
auto, us, br, ru, mx, tr, de, gb, it, ca, ua, by, pt, ar, es, ae, pl, fr, ch, kz, ge, eg, sa "auto"
Geo percentage
0 <= x <= 10050
Chatlist percentage
0 <= x <= 10030
Response
Action Success
The status of the action
"ok"