For the complete documentation index, see llms.txt. This page is also available as Markdown.

Resellers

Subscriptions

List reseller subscriptions

get

Subscriptions owned by the caller with quota usage and sub-user capacity

Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>", "pool":"<pool>"}' -H "Content-Type: application/json" -X POST -s https://<sentinel/sentinel-testnet>.mysterium.network/api/v1/auth/password | jq -r '.auth_token'

Substitute <username>, <password> and <pool> with your credentials. Use sentinel or sentinel-testnet as depending on the environment.

Query parameters
include_inactivebooleanOptional

Include inactive subscriptions

Responses
200

OK

application/json
activebooleanRequired
created_atstring · date-timeRequired
idstringRequired
plan_idstringRequired
product_idstringRequired
quota_gbnumberRequired
quota_period_endstring · date-timeRequired
quota_period_secondsintegerRequired
quota_period_startstring · date-timeRequired
quota_remaining_gbnumberRequired
quota_used_gbnumberRequired
recurringbooleanRequired
sub_user_limitintegerRequired
sub_users_availableintegerRequired
sub_users_countintegerRequired
get/api/v3/reseller/subscriptions
GET /api/v3/reseller/subscriptions HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "active": true,
    "created_at": "2026-01-01T00:00:00.000Z",
    "id": "text",
    "plan_id": "text",
    "product_id": "text",
    "quota_gb": 1,
    "quota_period_end": "2026-01-01T00:00:00.000Z",
    "quota_period_seconds": 1,
    "quota_period_start": "2026-01-01T00:00:00.000Z",
    "quota_remaining_gb": 1,
    "quota_used_gb": 1,
    "recurring": true,
    "sub_user_limit": 1,
    "sub_users_available": 1,
    "sub_users_count": 1
  }
]

Get reseller subscription

get
Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>", "pool":"<pool>"}' -H "Content-Type: application/json" -X POST -s https://<sentinel/sentinel-testnet>.mysterium.network/api/v1/auth/password | jq -r '.auth_token'

Substitute <username>, <password> and <pool> with your credentials. Use sentinel or sentinel-testnet as depending on the environment.

Path parameters
subscription_idstringRequired
Responses
200

OK

application/json
activebooleanRequired
created_atstring · date-timeRequired
idstringRequired
plan_idstringRequired
product_idstringRequired
quota_gbnumberRequired
quota_period_endstring · date-timeRequired
quota_period_secondsintegerRequired
quota_period_startstring · date-timeRequired
quota_remaining_gbnumberRequired
quota_used_gbnumberRequired
recurringbooleanRequired
sub_user_limitintegerRequired
sub_users_availableintegerRequired
sub_users_countintegerRequired
get/api/v3/reseller/subscriptions/{subscription_id}
GET /api/v3/reseller/subscriptions/{subscription_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "active": true,
  "created_at": "2026-01-01T00:00:00.000Z",
  "id": "text",
  "plan_id": "text",
  "product_id": "text",
  "quota_gb": 1,
  "quota_period_end": "2026-01-01T00:00:00.000Z",
  "quota_period_seconds": 1,
  "quota_period_start": "2026-01-01T00:00:00.000Z",
  "quota_remaining_gb": 1,
  "quota_used_gb": 1,
  "recurring": true,
  "sub_user_limit": 1,
  "sub_users_available": 1,
  "sub_users_count": 1
}

Sub-users

List sub-users across all subscriptions

get

All sub-users of the reseller, newest first. By default only sub-users assigned to a subscription are listed; include_unassigned=true also lists legacy sub-users that are not assigned to any subscription.

Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>", "pool":"<pool>"}' -H "Content-Type: application/json" -X POST -s https://<sentinel/sentinel-testnet>.mysterium.network/api/v1/auth/password | jq -r '.auth_token'

Substitute <username>, <password> and <pool> with your credentials. Use sentinel or sentinel-testnet as depending on the environment.

Query parameters
usernamestringOptional

Exact username

subscription_idstringOptional
enabledbooleanOptional
include_unassignedbooleanOptional

Also list sub-users not assigned to any subscription

Default: false
per_pageintegerOptional

default 100, max 1000

page_cursorstringOptional

Cursor obtained from previous response

Responses
200

OK

application/json
cursorstringOptional
get/api/v3/reseller/subusers
GET /api/v3/reseller/subusers HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "cursor": "text",
  "items": [
    {
      "blocked": true,
      "blocked_reason": "text",
      "created_at": "2026-01-01T00:00:00.000Z",
      "enabled": true,
      "id": "text",
      "quota": {
        "created_at": "2026-01-01T00:00:00.000Z",
        "period_seconds": 1,
        "period_start_at": "2026-01-01T00:00:00.000Z",
        "quota_gb": 1,
        "recurring": true,
        "updated_at": "2026-01-01T00:00:00.000Z"
      },
      "quota_used_gb": 1,
      "subscription_id": "text",
      "username": "text"
    }
  ]
}

List sub-users of a subscription

get
Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>", "pool":"<pool>"}' -H "Content-Type: application/json" -X POST -s https://<sentinel/sentinel-testnet>.mysterium.network/api/v1/auth/password | jq -r '.auth_token'

Substitute <username>, <password> and <pool> with your credentials. Use sentinel or sentinel-testnet as depending on the environment.

Path parameters
subscription_idstringRequired
Query parameters
usernamestringOptional

Exact username

enabledbooleanOptional
per_pageintegerOptional

default 100, max 1000

page_cursorstringOptional

Cursor obtained from previous response

Responses
200

OK

application/json
cursorstringOptional
get/api/v3/reseller/subscriptions/{subscription_id}/subusers
GET /api/v3/reseller/subscriptions/{subscription_id}/subusers HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "cursor": "text",
  "items": [
    {
      "blocked": true,
      "blocked_reason": "text",
      "created_at": "2026-01-01T00:00:00.000Z",
      "enabled": true,
      "id": "text",
      "quota": {
        "created_at": "2026-01-01T00:00:00.000Z",
        "period_seconds": 1,
        "period_start_at": "2026-01-01T00:00:00.000Z",
        "quota_gb": 1,
        "recurring": true,
        "updated_at": "2026-01-01T00:00:00.000Z"
      },
      "quota_used_gb": 1,
      "subscription_id": "text",
      "username": "text"
    }
  ]
}

Create sub-user in a subscription

post
Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>", "pool":"<pool>"}' -H "Content-Type: application/json" -X POST -s https://<sentinel/sentinel-testnet>.mysterium.network/api/v1/auth/password | jq -r '.auth_token'

Substitute <username>, <password> and <pool> with your credentials. Use sentinel or sentinel-testnet as depending on the environment.

Path parameters
subscription_idstringRequired
Body
usernamestringRequired
Responses
200

OK

application/json
blockedbooleanRequired
blocked_reasonstringOptional
created_atstring · date-timeRequired
enabledbooleanRequired
idstringRequired
quota_used_gbnumberRequired

Traffic used by the sub-user (refreshed every few minutes). If quota is present, counted within the quota's current period; otherwise within the account's current quota period.

subscription_idstring · nullableRequired

Subscription the sub-user draws traffic from. null for unassigned (legacy) sub-users, which use the newest active subscription.

usernamestringRequired
secretstringRequired
post/api/v3/reseller/subscriptions/{subscription_id}/subusers
POST /api/v3/reseller/subscriptions/{subscription_id}/subusers HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 19

{
  "username": "text"
}
{
  "blocked": true,
  "blocked_reason": "text",
  "created_at": "2026-01-01T00:00:00.000Z",
  "enabled": true,
  "id": "text",
  "quota": {
    "created_at": "2026-01-01T00:00:00.000Z",
    "period_seconds": 1,
    "period_start_at": "2026-01-01T00:00:00.000Z",
    "quota_gb": 1,
    "recurring": true,
    "updated_at": "2026-01-01T00:00:00.000Z"
  },
  "quota_used_gb": 1,
  "subscription_id": "text",
  "username": "text",
  "secret": "text"
}

Get sub-user

get
Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>", "pool":"<pool>"}' -H "Content-Type: application/json" -X POST -s https://<sentinel/sentinel-testnet>.mysterium.network/api/v1/auth/password | jq -r '.auth_token'

Substitute <username>, <password> and <pool> with your credentials. Use sentinel or sentinel-testnet as depending on the environment.

Path parameters
subscription_idstringRequired
subuser_idstringRequired
Responses
200

OK

application/json
blockedbooleanRequired
blocked_reasonstringOptional
created_atstring · date-timeRequired
enabledbooleanRequired
idstringRequired
quota_used_gbnumberRequired

Traffic used by the sub-user (refreshed every few minutes). If quota is present, counted within the quota's current period; otherwise within the account's current quota period.

subscription_idstring · nullableRequired

Subscription the sub-user draws traffic from. null for unassigned (legacy) sub-users, which use the newest active subscription.

usernamestringRequired
get/api/v3/reseller/subscriptions/{subscription_id}/subusers/{subuser_id}
GET /api/v3/reseller/subscriptions/{subscription_id}/subusers/{subuser_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "blocked": true,
  "blocked_reason": "text",
  "created_at": "2026-01-01T00:00:00.000Z",
  "enabled": true,
  "id": "text",
  "quota": {
    "created_at": "2026-01-01T00:00:00.000Z",
    "period_seconds": 1,
    "period_start_at": "2026-01-01T00:00:00.000Z",
    "quota_gb": 1,
    "recurring": true,
    "updated_at": "2026-01-01T00:00:00.000Z"
  },
  "quota_used_gb": 1,
  "subscription_id": "text",
  "username": "text"
}

Update sub-user

patch
Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>", "pool":"<pool>"}' -H "Content-Type: application/json" -X POST -s https://<sentinel/sentinel-testnet>.mysterium.network/api/v1/auth/password | jq -r '.auth_token'

Substitute <username>, <password> and <pool> with your credentials. Use sentinel or sentinel-testnet as depending on the environment.

Path parameters
subscription_idstringRequired
subuser_idstringRequired
Body
enabledbooleanRequired
Responses
200

OK

application/json
blockedbooleanRequired
blocked_reasonstringOptional
created_atstring · date-timeRequired
enabledbooleanRequired
idstringRequired
quota_used_gbnumberRequired

Traffic used by the sub-user (refreshed every few minutes). If quota is present, counted within the quota's current period; otherwise within the account's current quota period.

subscription_idstring · nullableRequired

Subscription the sub-user draws traffic from. null for unassigned (legacy) sub-users, which use the newest active subscription.

usernamestringRequired
patch/api/v3/reseller/subscriptions/{subscription_id}/subusers/{subuser_id}
PATCH /api/v3/reseller/subscriptions/{subscription_id}/subusers/{subuser_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "enabled": true
}
{
  "blocked": true,
  "blocked_reason": "text",
  "created_at": "2026-01-01T00:00:00.000Z",
  "enabled": true,
  "id": "text",
  "quota": {
    "created_at": "2026-01-01T00:00:00.000Z",
    "period_seconds": 1,
    "period_start_at": "2026-01-01T00:00:00.000Z",
    "quota_gb": 1,
    "recurring": true,
    "updated_at": "2026-01-01T00:00:00.000Z"
  },
  "quota_used_gb": 1,
  "subscription_id": "text",
  "username": "text"
}

Reset sub-user secret

post
Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>", "pool":"<pool>"}' -H "Content-Type: application/json" -X POST -s https://<sentinel/sentinel-testnet>.mysterium.network/api/v1/auth/password | jq -r '.auth_token'

Substitute <username>, <password> and <pool> with your credentials. Use sentinel or sentinel-testnet as depending on the environment.

Path parameters
subscription_idstringRequired
subuser_idstringRequired
Responses
200

OK

application/json
blockedbooleanRequired
blocked_reasonstringOptional
created_atstring · date-timeRequired
enabledbooleanRequired
idstringRequired
quota_used_gbnumberRequired

Traffic used by the sub-user (refreshed every few minutes). If quota is present, counted within the quota's current period; otherwise within the account's current quota period.

subscription_idstring · nullableRequired

Subscription the sub-user draws traffic from. null for unassigned (legacy) sub-users, which use the newest active subscription.

usernamestringRequired
secretstringRequired
post/api/v3/reseller/subscriptions/{subscription_id}/subusers/{subuser_id}/reset-secret
POST /api/v3/reseller/subscriptions/{subscription_id}/subusers/{subuser_id}/reset-secret HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "blocked": true,
  "blocked_reason": "text",
  "created_at": "2026-01-01T00:00:00.000Z",
  "enabled": true,
  "id": "text",
  "quota": {
    "created_at": "2026-01-01T00:00:00.000Z",
    "period_seconds": 1,
    "period_start_at": "2026-01-01T00:00:00.000Z",
    "quota_gb": 1,
    "recurring": true,
    "updated_at": "2026-01-01T00:00:00.000Z"
  },
  "quota_used_gb": 1,
  "subscription_id": "text",
  "username": "text",
  "secret": "text"
}

Delete sub-user

delete
Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>", "pool":"<pool>"}' -H "Content-Type: application/json" -X POST -s https://<sentinel/sentinel-testnet>.mysterium.network/api/v1/auth/password | jq -r '.auth_token'

Substitute <username>, <password> and <pool> with your credentials. Use sentinel or sentinel-testnet as depending on the environment.

Path parameters
subscription_idstringRequired
subuser_idstringRequired
Responses
200

Deleted

No content

delete/api/v3/reseller/subscriptions/{subscription_id}/subusers/{subuser_id}
DELETE /api/v3/reseller/subscriptions/{subscription_id}/subusers/{subuser_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Sub-user quotas

List sub-user quotas

get

Sub-users that have their own quota. A sub-user without a quota only shares its subscription's quota.

Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>", "pool":"<pool>"}' -H "Content-Type: application/json" -X POST -s https://<sentinel/sentinel-testnet>.mysterium.network/api/v1/auth/password | jq -r '.auth_token'

Substitute <username>, <password> and <pool> with your credentials. Use sentinel or sentinel-testnet as depending on the environment.

Query parameters
usernamestringOptional

Exact username

recurringbooleanOptional
exceededbooleanOptional

Quota used up, or a non-recurring period has ended

per_pageintegerOptional

default 100, max 1000

page_cursorstringOptional

Cursor obtained from previous response

Responses
200

OK

application/json
cursorstringOptional
get/api/v3/reseller/subuser-quotas
GET /api/v3/reseller/subuser-quotas HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "cursor": "text",
  "items": [
    {
      "created_at": "2026-01-01T00:00:00.000Z",
      "period_seconds": 1,
      "period_start_at": "2026-01-01T00:00:00.000Z",
      "quota_gb": 1,
      "recurring": true,
      "updated_at": "2026-01-01T00:00:00.000Z",
      "subuser_id": "text",
      "used_gb": 1,
      "username": "text"
    }
  ]
}

Give a sub-user its own quota

post

The sub-user is blocked once it uses quota_gb within its period, on top of its subscription's limits. Without period_seconds the quota counts lifetime traffic (up to 450 days back). A non-recurring quota whose period has ended keeps the sub-user blocked until the quota is changed or removed.

Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>", "pool":"<pool>"}' -H "Content-Type: application/json" -X POST -s https://<sentinel/sentinel-testnet>.mysterium.network/api/v1/auth/password | jq -r '.auth_token'

Substitute <username>, <password> and <pool> with your credentials. Use sentinel or sentinel-testnet as depending on the environment.

Body
period_secondsintegerOptional

At least 3600. Omit for a lifetime quota.

period_start_atstring · date-timeOptional

Defaults to now. Must not be in the future.

quota_gbnumberRequired

Greater than 0

recurringbooleanOptional

Start a new period automatically when one ends. Requires period_seconds.

subuser_idstringRequired
Responses
200

OK

application/json
created_atstring · date-timeRequired
period_secondsintegerOptional

Absent for a lifetime quota

period_start_atstring · date-timeRequired
quota_gbnumberRequired
recurringbooleanRequired
updated_atstring · date-timeRequired
subuser_idstringRequired
used_gbnumberRequired

Traffic used within the quota's current period (refreshed every few minutes)

usernamestringRequired
post/api/v3/reseller/subuser-quotas
POST /api/v3/reseller/subuser-quotas HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 115

{
  "period_seconds": 1,
  "period_start_at": "2026-01-01T00:00:00.000Z",
  "quota_gb": 1,
  "recurring": true,
  "subuser_id": "text"
}
{
  "created_at": "2026-01-01T00:00:00.000Z",
  "period_seconds": 1,
  "period_start_at": "2026-01-01T00:00:00.000Z",
  "quota_gb": 1,
  "recurring": true,
  "updated_at": "2026-01-01T00:00:00.000Z",
  "subuser_id": "text",
  "used_gb": 1,
  "username": "text"
}

Get a sub-user quota

get
Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>", "pool":"<pool>"}' -H "Content-Type: application/json" -X POST -s https://<sentinel/sentinel-testnet>.mysterium.network/api/v1/auth/password | jq -r '.auth_token'

Substitute <username>, <password> and <pool> with your credentials. Use sentinel or sentinel-testnet as depending on the environment.

Path parameters
subuser_idstringRequired
Responses
200

OK

application/json
created_atstring · date-timeRequired
period_secondsintegerOptional

Absent for a lifetime quota

period_start_atstring · date-timeRequired
quota_gbnumberRequired
recurringbooleanRequired
updated_atstring · date-timeRequired
subuser_idstringRequired
used_gbnumberRequired

Traffic used within the quota's current period (refreshed every few minutes)

usernamestringRequired
get/api/v3/reseller/subuser-quotas/{subuser_id}
GET /api/v3/reseller/subuser-quotas/{subuser_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "created_at": "2026-01-01T00:00:00.000Z",
  "period_seconds": 1,
  "period_start_at": "2026-01-01T00:00:00.000Z",
  "quota_gb": 1,
  "recurring": true,
  "updated_at": "2026-01-01T00:00:00.000Z",
  "subuser_id": "text",
  "used_gb": 1,
  "username": "text"
}

Update a sub-user quota

patch

Changing period_start_at or period_seconds recalculates usage over the new window, so it can go down or up.

Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>", "pool":"<pool>"}' -H "Content-Type: application/json" -X POST -s https://<sentinel/sentinel-testnet>.mysterium.network/api/v1/auth/password | jq -r '.auth_token'

Substitute <username>, <password> and <pool> with your credentials. Use sentinel or sentinel-testnet as depending on the environment.

Path parameters
subuser_idstringRequired
Body
period_secondsintegerOptional

0 removes the period (lifetime quota)

period_start_atstring · date-timeOptional
quota_gbnumberOptional
recurringbooleanOptional
Responses
200

OK

application/json
created_atstring · date-timeRequired
period_secondsintegerOptional

Absent for a lifetime quota

period_start_atstring · date-timeRequired
quota_gbnumberRequired
recurringbooleanRequired
updated_atstring · date-timeRequired
subuser_idstringRequired
used_gbnumberRequired

Traffic used within the quota's current period (refreshed every few minutes)

usernamestringRequired
patch/api/v3/reseller/subuser-quotas/{subuser_id}
PATCH /api/v3/reseller/subuser-quotas/{subuser_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 95

{
  "period_seconds": 1,
  "period_start_at": "2026-01-01T00:00:00.000Z",
  "quota_gb": 1,
  "recurring": true
}
{
  "created_at": "2026-01-01T00:00:00.000Z",
  "period_seconds": 1,
  "period_start_at": "2026-01-01T00:00:00.000Z",
  "quota_gb": 1,
  "recurring": true,
  "updated_at": "2026-01-01T00:00:00.000Z",
  "subuser_id": "text",
  "used_gb": 1,
  "username": "text"
}

Remove a sub-user quota

delete
Authorizations
AuthorizationstringRequired

Bearer authentication with sentinel token for users.

You can use the following command to get the bearer token:

curl -d '{"username":"<username>", "password":"<password>", "pool":"<pool>"}' -H "Content-Type: application/json" -X POST -s https://<sentinel/sentinel-testnet>.mysterium.network/api/v1/auth/password | jq -r '.auth_token'

Substitute <username>, <password> and <pool> with your credentials. Use sentinel or sentinel-testnet as depending on the environment.

Path parameters
subuser_idstringRequired
Responses
200

OK

No content

delete/api/v3/reseller/subuser-quotas/{subuser_id}
DELETE /api/v3/reseller/subuser-quotas/{subuser_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Was this helpful?