Quick start

From the key to the first call in four steps.

Create a key

In Account › AI agents & API, create a key with the "API: read" scope (and "API: write" for changes).

List the sites

curl -H "Authorization: Bearer $WEBVYZE_KEY" https://webvyze.com/api/v1/sites

Start an audit

Start an audit (spends credits) and follow it:

curl -X POST -H "Authorization: Bearer $WEBVYZE_KEY" https://webvyze.com/api/v1/sites/{site}/audits
curl -H "Authorization: Bearer $WEBVYZE_KEY" https://webvyze.com/api/v1/sites/{site}/audits

Read and update issues

curl -H "Authorization: Bearer $WEBVYZE_KEY" "https://webvyze.com/api/v1/sites/{site}/issues?status=active"
curl -X PATCH -H "Authorization: Bearer $WEBVYZE_KEY" -H "Content-Type: application/json" \
  -d '{"status":"fixing"}' https://webvyze.com/api/v1/issues/{issue}/status