// Knowledge base
Reseller API
Bearer keys, scopes, and the resources the API can change.
The Reseller API is a versioned HTTP API at https://panel.example.com/api/v1/reseller. Create a key in the reseller portal. The key is a bearer token. Its prefix looks like rsk_. Give it only the scopes that key needs.
The API covers clients (create, read, update, delete, suspend and provision), domains, packages and keys. Calls are rate limited and written to the audit log.
curl -sS https://panel.example.com/api/v1/reseller/clients \
-H "Authorization: Bearer rsk_example" \
-H "Accept: application/json"Replace rsk_example with a real key. Do not send the key to anyone, and do not put it in a repository. The full request and response reference is provided to resellers with their API key, or on request from support@smashhithosting.com.
A client created here does not get a Mailcow domain. Add mail afterwards if you need it. This API is the reseller API. It is not a public admin API for the whole server.