We.Inc Clients API

The Clients API from We.Inc, for clients.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

GET /clients List clients #
POST /clients Create a client #
GET /clients/{clientId} Get client details #
PATCH /clients/{clientId} Update a client #
POST /clients/{clientId}/activate Send a client invitation #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/we-inc:we-inc-clients-api"
All apis
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.

Get an API 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 Specification

we-inc-clients-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WeInc Clients 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: Clients
paths:
  /clients:
    get:
      operationId: listClients
      summary: List clients
      tags:
      - Clients
      responses:
        '200':
          description: Client list
          content:
            application/json:
              schema:
                type: object
                properties:
                  clients:
                    type: array
                    items:
                      $ref: '#/components/schemas/Client'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
      description: List the clients (end customers) of the calling organization. Each client owns one or more website projects and may be on a plan. Results are scoped to the API key's organization; a key never sees another organization's clients.
    post:
      operationId: createAClient
      summary: Create a client
      tags:
      - Clients
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - email
              properties:
                email:
                  type: string
                  format: email
                name:
                  type: string
                company:
                  type: string
                plan_id:
                  type: string
                  format: uuid
      responses:
        '201':
          description: Client created
          content:
            application/json:
              schema:
                type: object
                properties:
                  client:
                    $ref: '#/components/schemas/Client'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
      description: Create a client under the calling organization. The email must be unique within the organization; the client is created in the `invited` state and can be attached to a plan with `plan_id`. Returns the new client record.
  /clients/{clientId}:
    get:
      operationId: getClientDetails
      summary: Get client details
      tags:
      - Clients
      parameters:
      - name: clientId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Client details
          content:
            application/json:
              schema:
                type: object
                properties:
                  client:
                    $ref: '#/components/schemas/Client'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      description: Fetch one client by id, including status, plan and payment status. Returns 404 if the client does not belong to the calling organization.
    patch:
      operationId: updateAClient
      summary: Update a client
      tags:
      - Clients
      parameters:
      - name: clientId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                company:
                  type: string
                status:
                  type: string
                  enum:
                  - invited
                  - active
                  - suspended
                  - churned
                plan_id:
                  type: string
                  format: uuid
                monthly_credit_cap:
                  type:
                  - integer
                  - 'null'
                  minimum: 0
                  description: Monthly AI credit limit for this client (null removes it). Enforced before each AI turn with a 402 `client_credit_cap`.
      responses:
        '200':
          description: Client updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  client:
                    $ref: '#/components/schemas/Client'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      description: Update a client's name, company, plan or status. Only the fields present in the body change; omitted fields keep their values. Returns the updated client.
  /clients/{clientId}/activate:
    post:
      summary: Send a client invitation
      operationId: activateClient
      description: Send (or re-send) the client's invitation email. The client signs in or signs up, verifies their email and accepts; only then is their account linked to your organization and can you create projects for them. Accounts are never created or linked on the client's behalf. The response is the same whether or not the address already has a WeInc account; poll GET /clients/{clientId} until status is active.
      parameters:
      - name: clientId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Invitation state
          content:
            application/json:
              schema:
                type: object
                properties:
                  client_id:
                    type: string
                  status:
                    type: string
                    enum:
                    - active
                    - invitation_sent
                    - invitation_failed
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          description: Client is suspended or churned
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
        '429':
          $ref: '#/components/responses/RateLimited'
      tags:
      - Clients
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
    Client:
      type: object
      properties:
        id:
          type: string
          format: uuid
        email:
          type: string
          format: email
        name:
          type:
          - string
          - 'null'
        company:
          type:
          - string
          - 'null'
        status:
          type: string
          enum:
          - invited
          - active
          - suspended
          - churned
        plan_id:
          type:
          - string
          - 'null'
        payment_status:
          type: string
          enum:
          - none
          - active
          - past_due
          - canceled
        created_at:
          type: string
          format: date-time
  responses:
    Forbidden:
      description: API key lacks required permission
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    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