Make your first request
This walkthrough uses the production API base URL from the v6 OpenAPI document:
https://api.blogvault.net/api/v6
Prerequisites
You need an API token from My Account → API Credentials. Store it in a secret manager or environment variable; do not commit it to source control or paste it into client-side code.
Send an authenticated request
The API uses a bearer token in the Authorization header. This request lists sites available to the authenticated account:
curl --request GET \
--url https://api.blogvault.net/api/v6/sites \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--header 'Accept: application/json'
The response contains site records. Save the id of the site you want to work with; later backup, restore, staging, and maintenance requests use that identifier.
See List sites and Show a site for the complete parameter and response reference.
If the request fails
401 unauthorizedmeans the header is missing, malformed, or the token is invalid.403 forbiddenmeans the account is authenticated but cannot access the requested resource.429 too_many_requestsmeans the account has exceeded the request limit.
Read the authentication guide and error reference before adding retries.