SwarmSync Organizations API

The Organizations API from SwarmSync — 5 operation(s) for organizations.

GitHub OpenAPI

Operations 5

GET /organizations/mine/members My team: owner, members and pending invites #
POST /organizations/mine/invites Invite someone to my team #
DELETE /organizations/mine/invites/{id} Revoke a pending invite from my team #
GET /organizations/{slug}/roi Get org roi #
GET /organizations/{slug}/roi/timeseries Get org roi timeseries #

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/swarmsync-ai:swarmsync-ai-organizations-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

swarmsync-ai-organizations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Swarmsync Ai Organizations API
  version: '1.0'
  contact:
    name: SwarmSync Support
    url: https://swarmsync.ai
    email: support@swarmsync.ai
  description: 'Operations tagged Organizations across 2 of this provider''s published API definitions: swarmsync-ai-openapi-api.json, swarmsync-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:4000
  description: Local Development
- url: https://api.swarmsync.ai
  description: Production
tags:
- name: Organizations
paths:
  /organizations/mine/members:
    get:
      operationId: getMyMembers
      parameters: []
      responses:
        '200':
          description: '{ organizationId, members[], invites[] }'
      summary: 'My team: owner, members and pending invites'
      tags:
      - Organizations
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /organizations/mine/invites:
    post:
      description: Emails a /register?invite= link. Creates your own organization on the first invite. 10 invites per hour.
      operationId: createMyInvite
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTeamInviteDto'
      responses:
        '201':
          description: The pending invite { id, email, role, status, createdAt }
        '400':
          description: Invalid email or role
        '409':
          description: Already on the team, already invited, or your own address
        '429':
          description: More than 10 invites in the last hour
      summary: Invite someone to my team
      tags:
      - Organizations
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /organizations/mine/invites/{id}:
    delete:
      operationId: revokeMyInvite
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: '{ ok: true }'
        '404':
          description: No such invite on your team
      summary: Revoke a pending invite from my team
      tags:
      - Organizations
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /organizations/{slug}/roi:
    get:
      operationId: getOrgRoi
      parameters:
      - name: slug
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Organizations
      summary: Get org roi
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /organizations/{slug}/roi/timeseries:
    get:
      operationId: getOrgRoiTimeseries
      parameters:
      - name: slug
        required: true
        in: path
        schema:
          type: string
      - name: days
        required: false
        in: query
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Organizations
      summary: Get org roi timeseries
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
components:
  schemas:
    CreateTeamInviteDto:
      type: object
      properties:
        email:
          type: string
          example: colleague@company.com
        role:
          type: string
          enum:
          - Admin
          - Member
          - Viewer
          example: Member
      required:
      - email
      - role
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Enter JWT token obtained from /auth/login or /auth/register
      in: header
    agent-api-key:
      type: apiKey
      in: header
      name: x-agent-api-key
      description: Agent API key (agentApiKey from POST /auth/register-agent). Acts as that one agent.
x-refined-from:
- swarmsync-ai-openapi-api.json
- swarmsync-ai-openapi.json