Skip to main content
POST
/
purchases
/
{orderId}
/
edit-twitch-viewers
Edit Twitch Viewers
curl --request POST \
  --url https://api.streamskill.pro/v1/purchases/{orderId}/edit-twitch-viewers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "channel": "twitch",
  "threads": 100,
  "stream_views": 5,
  "uniq_viewers": 3,
  "raid": false,
  "raid_time": 10,
  "connect_time": 5,
  "online_mode": "smooth_floating",
  "manual_chart": {
    "0": 20,
    "5": 100,
    "30": 80
  },
  "manual_chart_randomization": 15,
  "manual_chart_end_action": "repeat",
  "manual_chart_end_param": 10,
  "geo": "auto",
  "geo_percent": 50,
  "chatlist": 30
}
'
{
  "status": "ok"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept-Language
enum<string>
default:en

The language of the response

Available options:
en,
ru

Path Parameters

orderId
integer
required

The ID of the order

Body

application/json

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.

channel
string

Twitch channel name (without https://www.twitch.tv/ prefix)

Example:

"twitch"

threads
integer

Number of viewers (cannot exceed the originally purchased amount)

Required range: x >= 1
Example:

100

stream_views
integer

Stream views multiplier (1-10, or 1-30 if customX is enabled). Final value = stream_views * threads

Required range: 1 <= x <= 30
Example:

5

uniq_viewers
integer

Unique viewers multiplier (1-10, or 1-30 if customX is enabled). Final value = uniq_viewers * threads

Required range: 1 <= x <= 30
Example:

3

raid
boolean

Enable raid mode

Example:

false

raid_time
integer

Raid duration in minutes

Required range: 5 <= x <= 60
Example:

10

connect_time
integer

Viewer connection time in minutes (1 to min(60, threads))

Required range: 1 <= x <= 60
Example:

5

online_mode
enum<string>

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.

Available options:
smooth_only,
smooth_floating,
manual
Example:

"smooth_floating"

manual_chart
object

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.

Example:
{ "0": 20, "5": 100, "30": 80 }
manual_chart_randomization
integer

Randomization percentage for the custom chart. Required when online_mode is "manual" (or the order is already in manual mode).

Required range: 0 <= x <= 100
Example:

15

manual_chart_end_action
enum<string>

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.

Available options:
max_work,
repeat,
shutdown
Example:

"repeat"

manual_chart_end_param
integer

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.

Required range: 0 <= x <= 60
Example:

10

geo
enum<string>

Country code for geo targeting

Available options:
auto,
us,
br,
ru,
mx,
tr,
de,
gb,
it,
ca,
ua,
by,
pt,
ar,
es,
ae,
pl,
fr,
ch,
kz,
ge,
eg,
sa
Example:

"auto"

geo_percent
integer

Geo percentage

Required range: 0 <= x <= 100
Example:

50

chatlist
integer

Chatlist percentage

Required range: 0 <= x <= 100
Example:

30

Response

Action Success

status
string

The status of the action

Example:

"ok"