Skip to content
Cloud docs

API basics: endpoints, pagination and errors

Conventions that apply to every endpoint, so you only learn them once.

Updated 20 September 20261 min readAdvanced

The API is REST over HTTPS. Requests and responses are JSON. The base is https://api.webvuecloud.com/v1.

Common endpoints

Method and pathDoes
GET /sitesList sites
GET /sites/{id}One site with its domains and plan
POST /sites/{id}/cache/purgePurge everything, or a list of URLs
POST /sites/{id}/backupsTake a manual backup
GET /domains/{domain}/dnsList DNS records
POST /domains/{domain}/dnsCreate a record

Pagination

List endpoints return 25 items by default and accept ?page= and ?per_page= up to 100. The total is in the X-Total-Count header.

Errors

response
{
  "error": {
    "code": "validation_failed",
    "message": "The record type is not supported.",
    "field": "type"
  }
}

Rate limits

600 requests per minute per token. The remaining allowance is in X-RateLimit-Remaining. Over the limit returns 429 with a Retry-After header; respect it rather than retrying in a tight loop.

Was this article helpful?

Related articles