Reseller API

Authentication

Authenticate to the ZoltVPN Reseller API with a Bearer key over HTTPS: the base URL, what a key can reach, and a first request with curl.

Send the key on every request in the Authorization header:

Authorization: Bearer zrk_3f9a1c2b7d4e8f60_Qm9vZ2xlLWlzLW5vdC1hLXNlY3JldC1rZXktMTIzNDU2
  • Base URL: https://app.zoltvpn.com/api/reseller-api/v1
  • HTTPS only. Never put the key in a URL, a query string, browser JavaScript or a mobile app. Call the API from your server.
  • A key works only on this API. It cannot sign in to the portal or any other part of ZoltVPN.
  • A key reaches only your own account: your plans, your wallet and your clients.
    • Reads cover the clients you see in the portal: your own clients and those of your sub-agents. isDirect tells them apart.
    • Purchases are only for your own (direct) clients, as in the portal.
    • Anything else answers 403 not_your_client.
curl -s https://app.zoltvpn.com/api/reseller-api/v1/me \
  -H "Authorization: Bearer $ZOLT_API_KEY"