Create tokens, scope them, lock them to an IP, and drive the panel from your billing system or scripts
| Group | Scopes it contains |
|---|---|
π Websites
sites:* |
sites:read β List sites, read details and bandwidthsites:write β Create new websitessites:delete β Delete websites (including ?purge=1, which drops files and databases)sites:php β Switch a site PHP versionsites:wordpress β Install WordPress on a sitesites:suspend β Suspend / unsuspend a site |
π Files
files:* |
files:write β Upload files into a site and extract .zip archivesfiles:link β Mint a one-time link into the file manager |
π Databases
db:* |
db:read β List a site databases (never passwords)db:write β Create a database for a sitedb:import β Import a dump over a databasedb:link β Mint a one-time link into phpMyAdmin |
π₯ Members
members:* |
members:read β List members, read their details and usagemembers:write β Create member accountsmembers:password β Set a member panel passwordmembers:plan β Move a member to another planmembers:suspend β Suspend / unsuspend a member accountmembers:ssh β Grant or revoke a member shell accessmembers:delete β Delete a member (including ?purge=1, which deletes all their sites) |
π Login links & provisioning
access:* |
sso β Mint a one-time login link as a user (120s TTL)provision β Provision in one call: member + site + WordPress + DNS zone + login link |
π¦ Plans
plans:* |
plans:read β List the plans you may sellplans:write β Create and edit plansplans:delete β Delete a plan |
π Server & cron
monitor:* |
server:read β Read server statisticscron:read β Read the cron job list |
sites:read only reads, while sites:* is the whole group. Older tokens using the names sites, members, plans, server and cron keep working unchanged and need no reissuing.Every request carries the token in an Authorization: Bearer β¦ header. The base URL is https://host-th-sv1.f4host.com/api/v1.
/api/sandbox/v1/β¦ prefix authenticates and validates exactly like production but changes nothing β ideal while you build.Your billing system calls POST /api/v1/sso to mint a single-use login link for a customer. They click it on your site and land in the panel with no second password to remember β and you can attach a destination, e.g. straight into a site's file manager.