Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Manage Sub2API admin APIs for accounts, redeem codes, groups, proxies, error passthrough rules, TLS fingerprint profiles, imports, exports, batch updates, and raw administrator API calls. Use when the user mentions Sub2API, admin API keys, account management, redeem code management, recharge codes, invitation codes, bulk account import/export, keeping or deleting accounts, refreshing accounts, clearing errors, CRS sync, or managing Sub2API backend settings through the admin API.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | -33% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 1% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -16% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -13% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 4% | 0% |
Use the bundled CLI instead of ad hoc curl. Run examples from this skill directory.
bashexport SUB2API_BASE_URL='https://your-sub2api-host' export SUB2API_ADMIN_API_KEY='<admin api key>' node scripts/sub2api-admin.js accounts list
For all commands and payload examples, read references/admin-cli.md.
SUB2API_BASE_URL and SUB2API_ADMIN_API_KEY from the environment.accounts list, accounts get <id>, groups all, or proxies all.bashnode scripts/sub2api-admin.js accounts list --page-size 20 node scripts/sub2api-admin.js accounts get 40 node scripts/sub2api-admin.js accounts usage 40 node scripts/sub2api-admin.js accounts set-schedulable 40 true node scripts/sub2api-admin.js accounts bulk-update --ids 40,39 --json '{"concurrency":10}' node scripts/sub2api-admin.js redeem-codes list --page-size 20 node scripts/sub2api-admin.js redeem-codes generate --json '{"count":1,"type":"balance","value":10}' --idempotency-key redeem-$(date +%s) node scripts/sub2api-admin.js redeem-codes create-and-redeem --json '{"code":"order_123","type":"balance","value":10,"user_id":123}' --idempotency-key order-123 node scripts/sub2api-admin.js error-rules list node scripts/sub2api-admin.js tls-profiles list
x-api-key.INVALID_ADMIN_KEY, ask the user to regenerate the admin API key.accounts export includes credentials and tokens. Prefer --file and avoid printing exports in chat.--idempotency-key for payment or recharge workflows.api <METHOD> <admin-path> after a read-only check.Other measured skills in the registry, with their headline benchmark lift.