SubCenter.io People API

The People API from SubCenter.io — 6 operation(s) for people.

GitHub OpenAPI

Operations 8

GET /workspaces/{workspace_id}/people Everyone using the tools, their seats and what they cost #
POST /workspaces/{workspace_id}/people/{id}/offboard Hand over someone's tools, release their seats and optionally remove access… #
GET /workspaces/{workspace_id}/members Members who can sign in #
PATCH /workspaces/{workspace_id}/members/{id} Make a member an admin or a member (admins) #
DELETE /workspaces/{workspace_id}/members/{id} Remove a member's access (admins). offboardPerson also hands over their tools #
GET /workspaces/{workspace_id}/invitations Pending invitations #
POST /workspaces/{workspace_id}/invitations Email someone an invitation (admins) #
DELETE /workspaces/{workspace_id}/invitations/{id} Cancel an invitation (admins) #

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/subcenter-io:subcenter-io-people-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

subcenter-io-people-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SubCenter for Teams People API
  version: '1.0'
  summary: Track a team's SaaS and AI tools, invoices, seats and client bill-back.
  description: 'The API behind the SubCenter for Teams apps, open to agents and scripts.

    Every path is scoped to one workspace.


    **Authentication.** Send `Authorization: Bearer `. Agents use a

    workspace API key (`sck_…`, made under Settings → Agents & API) or an

    OAuth 2.1 connection (authorization code with PKCE; see

    `/.well-known/oauth-authorization-server`). Both are bound to a single

    workspace and act as the member who created them.


    **Scopes.** `read` is always granted. Writes need a scope, listed on each

    operation as `x-required-scope`. Scopes never exceed the member''s role:

    admin-only scopes (`clients:write`, `people:write`, `exports`, `webhooks`)

    stop working if the member is no longer an admin.


    **Safety.** Destructive operations accept `dry_run=true` and return what

    would change. Writes accept an `Idempotency-Key` header (up to 255

    characters, kept 24 hours); a retry with the same key replays the first

    response with `Idempotent-Replayed: true`.


    **Errors** are `{ error, code, details?, docs_url }`. Common codes:

    `not_found`, `invalid`, `insufficient_scope`, `admin_required`,

    `read_only`, `plan_lapsed`, `rate_limited`, `idempotency_key_reused`.


    **Lists** take `limit` (up to 200) and `cursor`, and return `next_cursor`

    until there''s nothing more.


    **Rate limits.** 120 requests a minute per credential and 600 a minute

    per workspace. A 429 carries `Retry-After`.


    Amounts come as formatted strings (`"€24.00"`) and integer cents in the

    stated currency. Reports are in the workspace currency, net of VAT unless

    the workspace''s `amounts_include_vat` is true.'
  contact:
    name: SubCenter
    url: https://subcenter.io/teams/developers
servers:
- url: https://subcenter.io/api/v1/teams
security:
- apiKey: []
- oauth2:
  - read
tags:
- name: People
paths:
  /workspaces/{workspace_id}/people:
    parameters:
    - $ref: '#/components/parameters/WorkspaceId'
    get:
      tags:
      - People
      operationId: listPeople
      summary: Everyone using the tools, their seats and what they cost
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  people:
                    type: array
                    items:
                      $ref: '#/components/schemas/Person'
  /workspaces/{workspace_id}/people/{id}/offboard:
    parameters:
    - $ref: '#/components/parameters/WorkspaceId'
    - name: id
      in: path
      required: true
      schema:
        type: string
      description: The person's key from listPeople
    post:
      tags:
      - People
      operationId: offboardPerson
      summary: Hand over someone's tools, release their seats and optionally remove access…
      description: Run with dry_run=true first and show the summary to a person before doing it.
      x-required-scope: people:write
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                new_owner_id:
                  type: string
                  description: Membership id to hand their tools to
                release_seats:
                  type: boolean
                  default: true
                reduce_billed_seats:
                  type: boolean
                  default: false
                remove_access:
                  type: boolean
                  default: false
                dry_run:
                  type: boolean
                  default: false
      responses:
        '200':
          description: Done, or with dry_run what would happen
          content:
            application/json:
              schema:
                type: object
                properties:
                  dry_run:
                    type: boolean
                  person:
                    type: string
                  summary:
                    type: array
                    items:
                      type: string
  /workspaces/{workspace_id}/members:
    parameters:
    - $ref: '#/components/parameters/WorkspaceId'
    get:
      tags:
      - People
      operationId: listMembers
      summary: Members who can sign in
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  members:
                    type: array
                    items:
                      $ref: '#/components/schemas/Member'
                  member_limit:
                    type: integer
  /workspaces/{workspace_id}/members/{id}:
    parameters:
    - $ref: '#/components/parameters/WorkspaceId'
    - $ref: '#/components/parameters/Id'
    patch:
      tags:
      - People
      operationId: changeMemberRole
      summary: Make a member an admin or a member (admins)
      x-required-scope: people:write
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - role
              properties:
                role:
                  type: string
                  enum:
                  - admin
                  - member
      responses:
        '200':
          description: Changed
          content:
            application/json:
              schema:
                type: object
                properties:
                  member:
                    $ref: '#/components/schemas/Member'
    delete:
      tags:
      - People
      operationId: removeMember
      summary: Remove a member's access (admins). offboardPerson also hands over their tools
      x-required-scope: people:write
      responses:
        '200':
          $ref: '#/components/responses/Deleted'
  /workspaces/{workspace_id}/invitations:
    parameters:
    - $ref: '#/components/parameters/WorkspaceId'
    get:
      tags:
      - People
      operationId: listInvitations
      summary: Pending invitations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  invitations:
                    type: array
                    items:
                      $ref: '#/components/schemas/Invitation'
    post:
      tags:
      - People
      operationId: invitePerson
      summary: Email someone an invitation (admins)
      x-required-scope: people:write
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - email
              properties:
                email:
                  type: string
                  format: email
                role:
                  type: string
                  enum:
                  - admin
                  - member
                  default: member
      responses:
        '201':
          description: Sent
          content:
            application/json:
              schema:
                type: object
                properties:
                  invitation:
                    $ref: '#/components/schemas/Invitation'
  /workspaces/{workspace_id}/invitations/{id}:
    parameters:
    - $ref: '#/components/parameters/WorkspaceId'
    - $ref: '#/components/parameters/Id'
    delete:
      tags:
      - People
      operationId: cancelInvitation
      summary: Cancel an invitation (admins)
      x-required-scope: people:write
      responses:
        '200':
          $ref: '#/components/responses/Deleted'
components:
  parameters:
    Id:
      name: id
      in: path
      required: true
      schema:
        type: string
        format: uuid
    WorkspaceId:
      name: workspace_id
      in: path
      required: true
      schema:
        type: string
        format: uuid
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      schema:
        type: string
        maxLength: 255
      description: Retry-safe key for this write
  schemas:
    Member:
      type: object
      properties:
        id:
          type: string
        email:
          type: string
        role:
          type: string
          enum:
          - owner
          - admin
          - member
        joined_at:
          type: string
          format: date-time
    Person:
      type: object
      properties:
        key:
          type: string
          description: Use with offboardPerson
        name:
          type: string
        email:
          type:
          - string
          - 'null'
        member:
          type: boolean
        membership_id:
          type:
          - string
          - 'null'
        role:
          type:
          - string
          - 'null'
        monthly_cost:
          type: string
        monthly_cost_cents:
          type: integer
        seats:
          type: array
          items:
            type: object
            properties:
              seat_id:
                type: string
              tool_id:
                type: string
              tool_name:
                type: string
              ai:
                type: boolean
        owned_tools:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
    Invitation:
      type: object
      properties:
        id:
          type: string
        email:
          type: string
        role:
          type: string
        expires_at:
          type: string
          format: date-time
  responses:
    Deleted:
      description: Done
      content:
        application/json:
          schema:
            type: object
            properties:
              deleted:
                type: boolean
              id:
                type: string
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: A workspace API key (sck_…) from Settings → Agents & API.
    oauth2:
      type: oauth2
      description: Authorization code with PKCE (S256). Clients can register themselves at /oauth/register.
      flows:
        authorizationCode:
          authorizationUrl: https://subcenter.io/oauth/authorize
          tokenUrl: https://subcenter.io/oauth/token
          refreshUrl: https://subcenter.io/oauth/token
          scopes:
            read: Read tools, invoices, people, clients, reports and activity
            tools:write: Add, change and cancel tools, assign seats
            invoices:write: Upload, confirm and dismiss invoices
            clients:write: Add, rename and archive clients (admins)
            people:write: Invite, offboard and remove people, change roles (admins)
            exports: Prepare downloads of invoices and workspace data (admins)
            webhooks: Manage webhook endpoints (admins)