Resellers
Subscriptions
Subscriptions owned by the caller with quota usage and sub-user capacity
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.
Include inactive subscriptions
OK
unexpected error
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
}
]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.
OK
unexpected error
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
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.
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.
Exact username
Also list sub-users not assigned to any subscription
falsedefault 100, max 1000
Cursor obtained from previous response
OK
unexpected error
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"
}
]
}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.
Exact username
default 100, max 1000
Cursor obtained from previous response
OK
unexpected error
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"
}
]
}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.
OK
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 the sub-user draws traffic from. null for unassigned (legacy) sub-users, which use the newest active subscription.
unexpected error
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"
}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.
OK
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 the sub-user draws traffic from. null for unassigned (legacy) sub-users, which use the newest active subscription.
unexpected error
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"
}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.
OK
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 the sub-user draws traffic from. null for unassigned (legacy) sub-users, which use the newest active subscription.
unexpected error
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"
}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.
OK
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 the sub-user draws traffic from. null for unassigned (legacy) sub-users, which use the newest active subscription.
unexpected error
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"
}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.
Deleted
No content
unexpected error
DELETE /api/v3/reseller/subscriptions/{subscription_id}/subusers/{subuser_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Sub-user quotas
Sub-users that have their own quota. A sub-user without a quota only shares its subscription's quota.
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.
Exact username
Quota used up, or a non-recurring period has ended
default 100, max 1000
Cursor obtained from previous response
OK
unexpected error
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"
}
]
}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.
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.
At least 3600. Omit for a lifetime quota.
Defaults to now. Must not be in the future.
Greater than 0
Start a new period automatically when one ends. Requires period_seconds.
OK
Absent for a lifetime quota
Traffic used within the quota's current period (refreshed every few minutes)
unexpected error
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"
}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.
OK
Absent for a lifetime quota
Traffic used within the quota's current period (refreshed every few minutes)
unexpected error
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"
}Changing period_start_at or period_seconds recalculates usage over the new window, so it can go down or up.
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.
0 removes the period (lifetime quota)
OK
Absent for a lifetime quota
Traffic used within the quota's current period (refreshed every few minutes)
unexpected error
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"
}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.
OK
No content
unexpected error
DELETE /api/v3/reseller/subuser-quotas/{subuser_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Was this helpful?

