PageGoat Workspace Controller API

The workspace-controller API from PageGoat — 5 operation(s) for workspace-controller.

GitHub OpenAPI

Operations 6

GET /api/workspace/members The caller's teammates and pending invitations #
POST /api/workspace/members Seat a teammate #
POST /api/workspace/invites Invite an email to be a teammate #
GET /api/workspace/memberships Workspaces the caller may publish into #
DELETE /api/workspace/members/{id} Remove a teammate #
DELETE /api/workspace/invites/{id} Withdraw a pending invitation, freeing its seat #

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/pagegoat-com:pagegoat-com-workspace-controller-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

pagegoat-com-workspace-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pagegoat Workspace Controller API
  description: 'Programmatic access to Pagegoat sites. Authenticate with a Bearer access token: exchange your API key at `POST {IdP}/api/keys/token`, then send the returned JWT as `Authorization: Bearer `.'
  version: 0.1.0
servers:
- url: https://api.pagegoat.com
  description: Generated server url
security:
- bearer-jwt: []
tags:
- name: workspace-controller
paths:
  /api/workspace/members:
    get:
      tags:
      - workspace-controller
      summary: The caller's teammates and pending invitations
      operationId: list
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Workspace'
    post:
      tags:
      - workspace-controller
      summary: Seat a teammate
      description: Requires the Pro plan and a free seat.
      operationId: add
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddWorkspaceMemberRequest'
        required: true
      responses:
        '201':
          description: Created
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/WorkspaceMember'
  /api/workspace/invites:
    post:
      tags:
      - workspace-controller
      summary: Invite an email to be a teammate
      description: The fallback when the address has no account yet.
      operationId: invite
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWorkspaceInviteRequest'
        required: true
      responses:
        '201':
          description: Created
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/WorkspaceInvite'
  /api/workspace/memberships:
    get:
      tags:
      - workspace-controller
      summary: Workspaces the caller may publish into
      operationId: memberships
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Membership'
  /api/workspace/members/{id}:
    delete:
      tags:
      - workspace-controller
      summary: Remove a teammate
      description: Sites they created stay with the workspace — they were never the owner.
      operationId: remove
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: No Content
  /api/workspace/invites/{id}:
    delete:
      tags:
      - workspace-controller
      summary: Withdraw a pending invitation, freeing its seat
      operationId: revokeInvite
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: No Content
components:
  schemas:
    CreateWorkspaceInviteRequest:
      required:
      - email
      type: object
      properties:
        email:
          type: string
          example: teammate@example.com
      description: Invite an email to be a teammate.
    WorkspaceMember:
      required:
      - id
      - memberSub
      type: object
      properties:
        id:
          type: string
          format: uuid
        memberSub:
          type: string
          description: Token `sub` of the teammate. Matches how site grants identify people.
        createdAt:
          type:
          - string
          - 'null'
          description: ISO-8601 instant, or null on rows written before this was recorded.
      description: Someone allowed to publish into this workspace.
    Membership:
      required:
      - id
      - ownerSub
      type: object
      properties:
        id:
          type: string
          format: uuid
        ownerSub:
          type: string
          description: Token `sub` of the account that pays for what the caller publishes.
      description: A workspace the caller can publish into.
    Workspace:
      required:
      - enabled
      - invites
      - limit
      - members
      - used
      type: object
      properties:
        enabled:
          type: boolean
          description: Whether the caller's plan includes teammates at all.
        limit:
          type: integer
          description: Seats the plan allows. -1 means unlimited.
          format: int32
          example: 5
        used:
          type: integer
          description: 'Seats spent: members PLUS pending invites, since an outstanding invite has already promised a seat away.'
          format: int32
          example: 3
        members:
          type: array
          items:
            $ref: '#/components/schemas/WorkspaceMember'
        invites:
          type: array
          items:
            $ref: '#/components/schemas/WorkspaceInvite'
      description: Teammates and pending invitations, with seat usage.
    WorkspaceInvite:
      required:
      - email
      - id
      type: object
      properties:
        id:
          type: string
          format: uuid
        email:
          type: string
          example: teammate@example.com
        expiresAt:
          type:
          - string
          - 'null'
          description: ISO-8601 instant.
      description: A pending teammate invitation.
    AddWorkspaceMemberRequest:
      required:
      - memberSub
      type: object
      properties:
        memberSub:
          type: string
          description: Token `sub` of the teammate. Resolve an email to a sub against the auth server first; use `POST /api/workspace/invites` when there is no account yet.
      description: Seat a teammate by their token `sub`.
  securitySchemes:
    bearer-jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT