Authentication
Get access token
Exchange your Reseller Key for a Bearer access token. The token expires after 30 days.
Authorization
resellerKey X-Reseller-Key<token>
Reseller key for obtaining access token
In: header
Header Parameters
X-Reseller-Key*string
Your reseller key
Format
uuidResponse Body
application/json
application/json
curl -X POST "https://api.soxway.io/reseller/access-token" \ -H "X-Reseller-Key: 497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"data": {
"access_token": "1|abc123...",
"expires_at": "2026-05-22T12:00:00+00:00"
}
}{
"error": {
"code": 0,
"message": "string",
"description": "string",
"field": "string",
"errors": [
{}
]
}
}Custom Domain
Serve proxies to your sub-users under your own domain (white-label)
Get traffic balance
Get the reseller's current traffic balance in GB. Pricing is volume-based: `*_price_per_gb` is the entry rate (smallest volume), and `*_pricing_tiers` lists each `min_gb` threshold with its `price_per_gb`. The rate charged is that of the highest threshold less than or equal to the purchased volume.