Vibe Coding

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.

post/v1/hosting/reseller/wvc-plan-defaults

Request

Headers

x-api-keystring required

API key for authentication

Request body

plan_titlestring nullable

The WVC plan name shown in the editor. Use null to clear this field.

upgrade_urlstring nullable

Custom upgrade link for the WVC editor. Overrides the WVC service default. Use null to clear this field.

Example request

{
  "plan_title": "WVC monthly",
  "upgrade_url": "https://example.com/upgrade"
}

Response

WVC plan defaults set successfully

status'ok'

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.