AppDirect Groups API

Manage user groups for AI access control

Operations 5

POST /api/v1/groups Create a new group #
PUT /api/v1/groups/{groupId} Update a group #
DELETE /api/v1/groups/{groupId} Delete a group #
PUT /api/v1/groups/{groupId}/leave Leave a group #
GET /api/v1/me/groups Get groups of the current user #

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/appdirect-groups-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

appdirect-groups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: The Companies API allows developers to manage marketplace companies and their user memberships.
  title: Companies AI Embed Groups API
  license:
    name: Apache License, Version 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0
  version: v296.0-SNAPSHOT
servers:
- url: https://marketplace.appdirect.com/api
- url: https://virtserver.swaggerhub.com
tags:
- name: Groups
  description: Manage user groups for AI access control
paths:
  /api/v1/groups:
    post:
      tags:
      - Groups
      summary: Create a new group
      description: Creates a new group with the specified details.
      operationId: createGroup
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name of the group.
                availability:
                  $ref: '#/components/schemas/GroupAvailability'
                memberEmails:
                  type: string
                  description: A comma-separated list of emails of users who should be added to the group.
              required:
              - name
              - availability
              - memberEmails
      responses:
        '200':
          description: Group successfully created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GroupDetail'
        '401':
          description: Missing authorization context. User must be authenticated.
        '403':
          description: Forbidden, the user is not authorized to perform this action.
        '500':
          description: Internal Server Error.
  /api/v1/groups/{groupId}:
    put:
      tags:
      - Groups
      summary: Update a group
      description: Updates the details of a specific group and manages its member list.
      operationId: updateGroup
      parameters:
      - name: groupId
        in: path
        required: true
        description: The unique identifier of the group to update.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name of the group.
                availability:
                  $ref: '#/components/schemas/GroupAvailability'
                memberEmailsToAdd:
                  type: string
                  description: A comma-separated list of emails of users to be added to the group.
                memberEmailsToRemove:
                  type: array
                  items:
                    type: string
                  description: A comma-separated list of emails of users to be removed from the group.
      responses:
        '200':
          description: Group details updated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GroupDetail'
        '400':
          description: Bad request, when the input data is invalid.
        '403':
          description: Forbidden, the user is not authorized to perform this action.
        '404':
          description: Not found, when the specified group ID does not exist.
        '500':
          description: Internal Server Error.
    delete:
      tags:
      - Groups
      summary: Delete a group
      description: Deletes the group with the specified identifier.
      operationId: deleteGroup
      parameters:
      - name: groupId
        in: path
        required: true
        description: The unique identifier of the group to delete.
        schema:
          type: string
      responses:
        '204':
          description: Group successfully deleted, no content to return.
        '400':
          description: Bad request, when the request is malformed.
        '403':
          description: Forbidden, the user is not authorized to perform this action.
        '404':
          description: Not found, when the specified group ID does not exist.
        '500':
          description: Internal Server Error.
  /api/v1/groups/{groupId}/leave:
    put:
      tags:
      - Groups
      summary: Leave a group
      description: Allows the current user to leave the group specified by the groupId.
      operationId: leaveGroup
      parameters:
      - name: groupId
        in: path
        required: true
        description: The unique identifier of the group to leave.
        schema:
          type: string
      responses:
        '204':
          description: Successfully left the group, no content to return.
        '400':
          description: Bad request, when the request is malformed.
        '403':
          description: Forbidden, the user is not authorized to perform this action.
        '404':
          description: Not found, when the specified group ID does not exist.
        '500':
          description: Internal Server Error.
  /api/v1/me/groups:
    get:
      tags:
      - Groups
      summary: Get groups of the current user
      description: Retrieves a list of groups associated with the current user.
      operationId: getUserGroups
      responses:
        '200':
          description: A list of groups associated with the current user.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GroupSummary'
        '401':
          description: Missing authorization context. User must be authenticated.
        '403':
          description: Forbidden, the user is not authorized to perform this action.
        '500':
          description: Internal Server Error.
components:
  schemas:
    GroupDetail:
      allOf:
      - $ref: '#/components/schemas/GroupSummary'
      - type: object
        properties:
          users:
            type: array
            items:
              $ref: '#/components/schemas/GroupUser'
    GroupSummary:
      type: object
      properties:
        id:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        orgId:
          type: string
        ownerUserId:
          type: string
        name:
          type: string
        availability:
          $ref: '#/components/schemas/GroupAvailability'
    GroupUser:
      type: object
      properties:
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        userId:
          type:
          - string
          - 'null'
        email:
          type: string
    GroupAvailability:
      type: string
      enum:
      - EVERYONE
      - RESTRICTED
      description: Availability status of the group.