Skip to main content
POST

Authorizations

Authorization
string
header
required

API key secret (starts with s_live_). Create keys in the dashboard under Settings → API keys, or via POST /v1/api-keys/. Send it as Authorization: Bearer <secret>.

Path Parameters

package_id
string
required

The ID of the proxy package (UUID format)

Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Body

application/json
name
string | null

Session name, ^[a-z0-9]{1,16}$, unique within the package. With count > 1 it is the base name and each session gets a number appended, which counts toward the 16 characters. Omit it and a name is generated.

ruleset
StatefulSessionRequestRulesetSchema · object
count
integer
default:1

Number of sessions to create, 1 to 1000.

Required range: 1 <= x <= 1000

Response

Successful Response

data
StatefulSessionResponse · object[]
required
failed
integer
required
reason
string | null