We.Inc Plans API
The Plans API from We.Inc, for plans.
The Plans API from We.Inc, for plans.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/we-inc:we-inc-plans-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: WeInc Plans API
version: 1.0.0
description: 'REST API for WeInc, the AI website builder: manage clients, website projects, templates, plans, analytics, and webhooks programmatically.
Authentication: `Authorization: Bearer wk_...` (self-serve API key from https://my.we.inc/agency/api on the free plan).
Rate limit: 100 requests per minute per credential. Every response carries `RateLimit-Policy`, `RateLimit`, `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`; a 429 carries `Retry-After`.
Versioning: the version is in the URL path (/api/v1). Breaking changes ship in a new path version; a retiring version sends `Deprecation` and `Sunset` headers at least 12 months ahead. Policy: https://my.we.inc/developers/versioning
MCP server (Streamable HTTP) for AI agents: https://my.we.inc/api/mcp, manifest at https://my.we.inc/.well-known/mcp.
Test mode: a key created with test: true (wk_test_...) reaches only the sandbox projects it creates; their store checkout runs in Stripe test mode, they publish with noindex and their webhooks carry test: true. AI turns still cost real credits, inside the key''s own monthly cap (default 200).
Headless build (no browser): create a client, activate it, create a project, run AI turns, deploy, load products and cap credits, all over this API. Walkthrough: https://my.we.inc/docs/api/headless'
contact:
name: WeInc support
email: hey@we.inc
url: https://my.we.inc/contact
termsOfService: https://my.we.inc/terms
x-rate-limit:
quota: 100
windowSeconds: 60
headers:
- RateLimit-Policy
- RateLimit
- X-RateLimit-Limit
- X-RateLimit-Remaining
- X-RateLimit-Reset
- Retry-After
x-deprecation-policy: https://my.we.inc/developers/versioning
servers:
- url: https://my.we.inc/api/v1
description: API v1
security:
- BearerAuth: []
tags:
- name: Plans
paths:
/plans:
get:
operationId: listClientPlans
summary: List client plans
tags:
- Plans
responses:
'200':
description: Plan list
content:
application/json:
schema:
type: object
properties:
plans:
type: array
items:
$ref: '#/components/schemas/Plan'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
description: List the client-facing plans the organization sells (name, price, interval, limits). Plans are billed to clients through the organization's Stripe Connect account.
post:
operationId: createAClientPlan
summary: Create a client plan
tags:
- Plans
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- name
- price
properties:
name:
type: string
description:
type: string
price:
type: number
minimum: 0
interval:
type: string
enum:
- monthly
- yearly
default: monthly
max_sites:
type: integer
default: 3
max_ai_messages_daily:
type: integer
default: 50
can_export_code:
type: boolean
default: false
can_use_custom_domain:
type: boolean
default: false
responses:
'201':
description: Plan created
content:
application/json:
schema:
type: object
properties:
plan:
$ref: '#/components/schemas/Plan'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
description: Create a client-facing plan with a price, billing interval and feature limits. The plan becomes available to attach to clients immediately. Returns the new plan.
/plans/{planId}:
get:
operationId: getPlanDetails
summary: Get plan details
tags:
- Plans
parameters:
- name: planId
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Plan details
content:
application/json:
schema:
type: object
properties:
plan:
$ref: '#/components/schemas/Plan'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
description: Fetch one client-facing plan by id, including its price, billing interval, feature limits and whether it is active.
patch:
operationId: updateAPlan
summary: Update a plan
tags:
- Plans
parameters:
- name: planId
in: path
required: true
schema:
type: string
format: uuid
requestBody:
content:
application/json:
schema:
type: object
properties:
name:
type: string
description:
type: string
price:
type: number
interval:
type: string
enum:
- monthly
- yearly
max_sites:
type: integer
max_ai_messages_daily:
type: integer
can_export_code:
type: boolean
can_use_custom_domain:
type: boolean
is_default:
type: boolean
is_active:
type: boolean
sort_order:
type: integer
responses:
'200':
description: Plan updated
content:
application/json:
schema:
type: object
properties:
plan:
$ref: '#/components/schemas/Plan'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
description: Update a plan's name, price, interval, limits or active flag. Existing subscriptions keep their current price until renewed. Returns the updated plan.
components:
schemas:
Error:
type: object
properties:
error:
type: string
Plan:
type: object
properties:
id:
type: string
format: uuid
name:
type: string
description:
type:
- string
- 'null'
price:
type: number
interval:
type: string
enum:
- monthly
- yearly
max_sites:
type: integer
max_ai_messages_daily:
type: integer
can_export_code:
type: boolean
can_use_custom_domain:
type: boolean
is_active:
type: boolean
created_at:
type: string
format: date-time
responses:
RateLimited:
description: Rate limit exceeded (100 req/min per API key)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: 'API key generated from your agency dashboard. Pass as `Authorization: Bearer wk_...`'
externalDocs:
description: WeInc developer portal
url: https://my.we.inc/developers