Set default WVC plan data
Sets the workspace-level WVC plan data defaults. When a new website is created via the API gateway, these defaults are automatically written to the wvc_plan_data WordPress option.
This is an upsert — the entire defaults object is replaced on each call. To update a single field without losing others, include all existing fields in the request.
Currently supported fields:
- plan_title — the WVC plan name shown in the editor (e.g. "WVC monthly")
- upgrade_url — custom upgrade link shown in the editor; overrides the WVC service default
Adding new fields in the future requires only a documentation and gateway validation update — no database migration is needed.
⚠️ Service Requirement: This feature requires the WordPress Vibe Coding (WVC) service to be enabled for your account. If the WVC service is not enabled, this feature will be unavailable and API requests may return an error response. Please contact support to enable this service.
Request
- Base URLhttps://api.10web.io
- Authnone declared. Required headers: x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
API key for authentication
Request body
Example request
{
"plan_title": "WVC monthly",
"upgrade_url": "https://example.com/upgrade"
}Response
WVC plan defaults set successfully
Example response
{
"status": "ok",
"data": {
"defaults": {
"plan_title": "WVC monthly",
"upgrade_url": "https://example.com/upgrade"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.