Create an API token
Scoped tokens for scripts and pipelines, and how to keep them safe.
The API covers what you can do in the dashboard: sites, domains, DNS, backups and cache. Authentication is a bearer token.
Create one
- Open Account → API tokens
Choose Create token and name it after where it will be used, not after yourself.
- Set the scopes
Grant only what the script needs. A deployment pipeline usually needs
cache:purgeand nothing else. - Set an expiry
Ninety days is a reasonable default. Tokens that never expire outlive the projects that used them.
- Copy it once
The token is shown once. Store it in your secret manager or CI secrets, never in the repository.
curl -H "Authorization: Bearer $WVC_TOKEN" \
https://api.webvuecloud.com/v1/sites
A leaked token is a leaked account
Revoke immediately from the same screen if a token reaches a public repository or a chat log. Revocation is instant.
