---
title: "Set default WVC plan data"
method: POST
path: "/v1/hosting/reseller/wvc-plan-defaults"
tags: ["Vibe Coding"]
---

# Set default WVC plan data

`POST /v1/hosting/reseller/wvc-plan-defaults`

## Request

- Base URL: `https://api.10web.io`
- URL: `https://api.10web.io/v1/hosting/reseller/wvc-plan-defaults`
- Auth: none declared. Required headers: `x-api-key`
- TypeScript: <https://skmtc.dev/10web/apis/10web-api-v1/docs/v1/hosting/reseller/wvc-plan-defaults/post.ts> (a function with typed inputs; its response is checked against the schema)

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.

## Headers

- `x-api-key` string, required

## Request body

- WVCPlanDefaultsRequest
  - `plan_title` string, nullable: The WVC plan name shown in the editor. Use `null` to clear this field.
  - `upgrade_url` string, nullable: Custom upgrade link for the WVC editor. Overrides the WVC service default. Use `null` to clear this field.

## Response `200`

WVC plan defaults set successfully

- WVCPlanDefaultsResponse
  - `status` 'ok'
  - `data` object
    - `defaults` WVCPlanDefaultsData
      - `plan_title` string: The WVC plan name shown in the editor.
      - `upgrade_url` string: Custom upgrade link for the WVC editor. Overrides the WVC service default.

## Other responses

- `400`: Bad request
- `403`: Unauthorized access
- `429`: Too many requests
- `500`: Something went wrong

---

[API](https://skmtc.dev/10web/apis/10web-api-v1.md) - [All operations](https://skmtc.dev/10web/apis/10web-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/10web/apis/10web-api-v1/revisions/01afc9651dfc?raw)
