SubCenter.io Tools API

The Tools API from SubCenter.io — 5 operation(s) for tools.

GitHub OpenAPI

Operations 8

GET /workspaces/{workspace_id}/tools The workspace's tools #
POST /workspaces/{workspace_id}/tools Add a tool #
GET /workspaces/{workspace_id}/tools/{id} One tool with its details #
PATCH /workspaces/{workspace_id}/tools/{id} Change a tool #
DELETE /workspaces/{workspace_id}/tools/{id} Delete a tool (admins). Prefer cancelling, which keeps the record #
POST /workspaces/{workspace_id}/tools/{id}/cancel Mark a tool as cancelled (it stays on record) #
POST /workspaces/{workspace_id}/tools/{id}/keep Decide to keep a tool past its current cancel-by deadline #
POST /workspaces/{workspace_id}/tools/{id}/reactivate Make a cancelled tool active again #

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-tools-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-tools-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SubCenter for Teams Tools 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: Tools
paths:
  /workspaces/{workspace_id}/tools:
    parameters:
    - $ref: '#/components/parameters/WorkspaceId'
    get:
      tags:
      - Tools
      operationId: listTools
      summary: The workspace's tools
      parameters:
      - name: status
        in: query
        schema:
          type: string
          enum:
          - active
          - cancelled
          - all
          default: active
      - name: q
        in: query
        schema:
          type: string
        description: Part of the name
      - name: category
        in: query
        schema:
          type: string
      - name: owner
        in: query
        schema:
          type: string
        description: A membership id, or `none`
      - name: client_id
        in: query
        schema:
          type: string
        description: Tools billed back to this client
      - name: renewing_before
        in: query
        schema:
          type: string
          format: date
      - name: sort
        in: query
        schema:
          type: string
          enum:
          - name
          - renewal
          - created
          default: name
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Cursor'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  tools:
                    type: array
                    items:
                      $ref: '#/components/schemas/Tool'
                  next_cursor:
                    type:
                    - string
                    - 'null'
    post:
      tags:
      - Tools
      operationId: createTool
      summary: Add a tool
      x-required-scope: tools:write
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/ToolInput'
              - required:
                - name
                - renewal_date
      responses:
        '201':
          $ref: '#/components/responses/ToolDetail'
        '403':
          $ref: '#/components/responses/Forbidden'
        '422':
          $ref: '#/components/responses/Invalid'
  /workspaces/{workspace_id}/tools/{id}:
    parameters:
    - $ref: '#/components/parameters/WorkspaceId'
    - $ref: '#/components/parameters/Id'
    get:
      tags:
      - Tools
      operationId: getTool
      summary: One tool with its details
      responses:
        '200':
          $ref: '#/components/responses/ToolDetail'
        '404':
          $ref: '#/components/responses/NotFound'
    patch:
      tags:
      - Tools
      operationId: updateTool
      summary: Change a tool
      x-required-scope: tools:write
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ToolInput'
      responses:
        '200':
          $ref: '#/components/responses/ToolDetail'
        '422':
          $ref: '#/components/responses/Invalid'
    delete:
      tags:
      - Tools
      operationId: deleteTool
      summary: Delete a tool (admins). Prefer cancelling, which keeps the record
      x-required-scope: tools:write
      parameters:
      - $ref: '#/components/parameters/DryRun'
      - $ref: '#/components/parameters/IdempotencyKey'
      responses:
        '200':
          description: Deleted, or with dry_run what would be deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  deleted:
                    type: boolean
                  dry_run:
                    type: boolean
                  would_delete:
                    type: object
                    properties:
                      seats:
                        type: integer
                      client_shares:
                        type: integer
                      invoices_unlinked:
                        type: integer
  /workspaces/{workspace_id}/tools/{id}/cancel:
    parameters:
    - $ref: '#/components/parameters/WorkspaceId'
    - $ref: '#/components/parameters/Id'
    post:
      tags:
      - Tools
      operationId: cancelTool
      summary: Mark a tool as cancelled (it stays on record)
      description: Records the decision in SubCenter. It doesn't cancel the subscription with the vendor.
      x-required-scope: tools:write
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                reason:
                  type: string
                dry_run:
                  type: boolean
      responses:
        '200':
          $ref: '#/components/responses/ToolSummary'
  /workspaces/{workspace_id}/tools/{id}/keep:
    parameters:
    - $ref: '#/components/parameters/WorkspaceId'
    - $ref: '#/components/parameters/Id'
    post:
      tags:
      - Tools
      operationId: keepTool
      summary: Decide to keep a tool past its current cancel-by deadline
      x-required-scope: tools:write
      responses:
        '200':
          $ref: '#/components/responses/ToolSummary'
  /workspaces/{workspace_id}/tools/{id}/reactivate:
    parameters:
    - $ref: '#/components/parameters/WorkspaceId'
    - $ref: '#/components/parameters/Id'
    post:
      tags:
      - Tools
      operationId: reactivateTool
      summary: Make a cancelled tool active again
      x-required-scope: tools:write
      responses:
        '200':
          $ref: '#/components/responses/ToolSummary'
components:
  responses:
    NotFound:
      description: Not in this workspace
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ToolDetail:
      description: The tool
      content:
        application/json:
          schema:
            type: object
            properties:
              tool:
                $ref: '#/components/schemas/ToolDetail'
    Forbidden:
      description: insufficient_scope, admin_required, read_only or plan_lapsed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Invalid:
      description: Validation failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ToolSummary:
      description: The tool
      content:
        application/json:
          schema:
            type: object
            properties:
              tool:
                $ref: '#/components/schemas/Tool'
              dry_run:
                type: boolean
  schemas:
    Error:
      type: object
      required:
      - error
      - code
      properties:
        error:
          type: string
          description: For people
        code:
          type: string
          description: For programs
        details:
          type: object
        docs_url:
          type: string
    ToolDetail:
      allOf:
      - $ref: '#/components/schemas/Tool'
      - type: object
        properties:
          auto_renews:
            type: boolean
          remind_days:
            type: integer
          vat_rate:
            type:
            - number
            - 'null'
          prices_include_vat:
            type: boolean
          assigned_seats:
            type: integer
          unused_seats:
            type: integer
          unused_seat_cost:
            type: string
          payment_method:
            type:
            - string
            - 'null'
          billing_account:
            type:
            - string
            - 'null'
          notes:
            type:
            - string
            - 'null'
          source:
            type: string
          cancel_reason:
            type:
            - string
            - 'null'
          allocations:
            type: array
            items:
              type: object
              properties:
                client_id:
                  type: string
                client_name:
                  type: string
                percent:
                  type: number
    ToolInput:
      type: object
      properties:
        name:
          type: string
        cost:
          type: string
          example: '24.00'
          description: Price per cadence in cost_currency
        cost_currency:
          type: string
          example: EUR
        cadence:
          type: string
          enum:
          - week
          - month
          - quarter
          - year
        renewal_date:
          type: string
          format: date
        seats:
          type:
          - integer
          - 'null'
        trial:
          type: boolean
        vat_rate:
          type:
          - number
          - 'null'
        prices_include_vat:
          type: boolean
        notice_days:
          type: integer
          description: Days of notice before renewal to cancel
        auto_renews:
          type: boolean
        remind_days:
          type: integer
          enum:
          - 0
          - 1
          - 3
          - 7
          - 14
          - 30
        category:
          type:
          - string
          - 'null'
        owner_email:
          type:
          - string
          - 'null'
          description: A member's email; null for no owner
        owner_membership_id:
          type:
          - string
          - 'null'
        payment_method:
          type: string
        billing_account:
          type: string
        notes:
          type: string
        allocations:
          type: array
          description: Client shares. Percent 0 removes the client.
          items:
            type: object
            properties:
              client_id:
                type: string
              percent:
                type: number
    Tool:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        status:
          type: string
          enum:
          - active
          - cancelled
        category:
          type:
          - string
          - 'null'
        domain:
          type:
          - string
          - 'null'
        trial:
          type: boolean
        cost_cents:
          type: integer
        cost_currency:
          type: string
        cost:
          type: string
        cadence:
          type: string
        seats:
          type:
          - integer
          - 'null'
        monthly_cost:
          type:
          - string
          - 'null'
          description: Net monthly equivalent in the workspace currency
        monthly_cost_cents:
          type:
          - integer
          - 'null'
        renewal_date:
          type: string
          format: date
        days_until_renewal:
          type: integer
        notice_days:
          type: integer
        cancel_by:
          type:
          - string
          - 'null'
          format: date
        kept:
          type: boolean
        owner_membership_id:
          type:
          - string
          - 'null'
        owner_email:
          type:
          - string
          - 'null'
  parameters:
    Id:
      name: id
      in: path
      required: true
      schema:
        type: string
        format: uuid
    DryRun:
      name: dry_run
      in: query
      schema:
        type: boolean
        default: false
      description: Say what would change without changing it
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      schema:
        type: string
        maxLength: 255
      description: Retry-safe key for this write
    WorkspaceId:
      name: workspace_id
      in: path
      required: true
      schema:
        type: string
        format: uuid
    Cursor:
      name: cursor
      in: query
      schema:
        type: string
      description: next_cursor from the previous page
    Limit:
      name: limit
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 200
  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)