cQnce Agents – Admin API

Agent management by tenant admins (requires tenant JWT)

GitHub OpenAPI

Operations 8

GET /v1/agents List agents #
DELETE /v1/agents/{agentId} Remove agent from network #
GET /v1/agents/invites List agent invites #
POST /v1/agents/invite Invite agent #
POST /v1/agents/invites/{id}/accept Accept invite on behalf of agent (dev only) #
DELETE /v1/agents/invites/{id} Delete invite #
POST /v1/agents/{agentId}/projects/{projectId} Assign agent to project #
DELETE /v1/agents/{agentId}/projects/{projectId} Remove agent from project #

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/cqnce-app:cqnce-app-agents-admin-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

cqnce-app-agents-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: cQnce Agents – Admin API
  description: 'Authorization-request routing and agent-management API for the cQnce platform.


    ## Authentication


    | Scheme | Header | Used by |

    |---|---|---|

    | Bearer JWT (tenant) | `Authorization: Bearer ` | Dashboard / admin routes |

    | Bearer JWT (agent) | `Authorization: Bearer ` | Agent mobile app routes |

    | API Key | `x-api-key: ` | Server-to-server request submission |'
  version: 1.0.0
  contact:
    name: cQnce Support
servers:
- url: https://api.cqnce.app
  description: Production
tags:
- name: Agents – Admin
  description: Agent management by tenant admins (requires tenant JWT)
paths:
  /v1/agents:
    get:
      tags:
      - Agents – Admin
      summary: List agents
      description: Returns all agents who have joined this tenant.
      operationId: listAgents
      security:
      - tenantJWT: []
      responses:
        '200':
          description: List of agents
          content:
            application/json:
              schema:
                type: object
                properties:
                  agents:
                    type: array
                    items:
                      $ref: '#/components/schemas/Agent'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/agents/{agentId}:
    delete:
      tags:
      - Agents – Admin
      summary: Remove agent from network
      description: 'Unidirectional admin action: removes the agent from all teams and revokes their network membership. Past responses and actions are preserved.'
      operationId: removeAgentFromNetwork
      security:
      - tenantJWT: []
      parameters:
      - name: agentId
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: Agent ID
      responses:
        '200':
          description: Agent removed from network
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Agent not a member of this network
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/agents/invites:
    get:
      tags:
      - Agents – Admin
      summary: List agent invites
      operationId: listAgentInvites
      security:
      - tenantJWT: []
      responses:
        '200':
          description: List of invites
          content:
            application/json:
              schema:
                type: object
                properties:
                  invites:
                    type: array
                    items:
                      $ref: '#/components/schemas/AgentInvite'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/agents/invite:
    post:
      tags:
      - Agents – Admin
      summary: Invite agent
      description: Sends an invite to an agent by phone number. If the agent is already registered the invite is linked immediately.
      operationId: inviteAgent
      security:
      - tenantJWT: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - phone
              properties:
                phone:
                  type: string
                  example: '+15551234567'
                firstName:
                  type: string
                  example: Jane
                lastName:
                  type: string
                  example: Doe
                email:
                  type: string
                  format: email
                  example: jane@example.com
      responses:
        '201':
          description: Invite created
          content:
            application/json:
              schema:
                type: object
                properties:
                  invite:
                    $ref: '#/components/schemas/AgentInvite'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Agent already joined this tenant
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/agents/invites/{id}/accept:
    post:
      tags:
      - Agents – Admin
      summary: Accept invite on behalf of agent (dev only)
      description: Available in non-production environments only. Accepts an invite and links the agent to the tenant.
      operationId: acceptInviteOnBehalf
      security:
      - tenantJWT: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: Invite ID
      responses:
        '200':
          description: Invite accepted
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Not available in production
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Invite not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/agents/invites/{id}:
    delete:
      tags:
      - Agents – Admin
      summary: Delete invite
      operationId: deleteInvite
      security:
      - tenantJWT: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: Invite ID
      responses:
        '200':
          description: Invite removed
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Invite not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/agents/{agentId}/projects/{projectId}:
    post:
      tags:
      - Agents – Admin
      summary: Assign agent to project
      operationId: assignAgentToProject
      security:
      - tenantJWT: []
      parameters:
      - name: agentId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '201':
          description: Agent assigned to project
          content:
            application/json:
              schema:
                type: object
                properties:
                  assignment:
                    type: object
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Agent or project not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Agent already assigned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      tags:
      - Agents – Admin
      summary: Remove agent from project
      operationId: removeAgentFromProject
      security:
      - tenantJWT: []
      parameters:
      - name: agentId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: projectId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Agent removed from project
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Agent or assignment not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    AgentInvite:
      type: object
      properties:
        id:
          type: string
          format: uuid
        phone:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        email:
          type:
          - string
          - 'null'
          format: email
        status:
          type: string
          enum:
          - PENDING
          - ACCEPTED
          - DECLINED
        tenantId:
          type: string
          format: uuid
        agentId:
          type:
          - string
          - 'null'
          format: uuid
        createdAt:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: string
          example: Validation failed
        details:
          type: array
          items:
            type: object
    Agent:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        surname:
          type:
          - string
          - 'null'
        email:
          type:
          - string
          - 'null'
          format: email
        phone:
          type: string
        online:
          type: boolean
        tenantId:
          type:
          - string
          - 'null'
          format: uuid
        createdAt:
          type: string
          format: date-time
  securitySchemes:
    tenantJWT:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT issued on tenant login (`POST /v1/auth/login`)
    agentJWT:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT issued on agent login/register (`POST /v1/auth/agent/login` or `/register`)
    projectApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Per-project API key used for server-to-server request submission