Zoca Copilot API

The copilot API from Zoca — 8 operation(s) for copilot.

Operations 9

POST /copilot/chat Chat with the copilot #
POST /copilot/discover Discover insights using the copilot #
GET /copilot/conversations Get user conversations with optional pagination #
GET /copilot/conversations/{conversationId} Get conversation history with optional pagination #
OPTIONS /copilot/chat/stream #
GET /copilot/chat/stream Stream chat responses from the copilot #
GET /copilot/stream Stream responses from the copilot #
POST /copilot/enquiry-stats-with-roi #
POST /copilot/discovery-insights Get discovery insights for a specific location #

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/zoca-copilot-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 email required.

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

OpenAPI Specification

zoca-copilot-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Zoca Platform Copilot API
  description: 'The Zoca platform API behind the Zoca web app and mobile apps: scheduling, website generation, Google Business Profile, discovery/local SEO, social media, booking enquiries, offers, clients, staff, billing and the Zoca "brain" agent layer.'
  version: 3.20.10
  contact: {}
  x-apievangelist-note: Harvested verbatim from https://api.zoca.ai/swagger.json. The provider ships the default NestJS Swagger metadata (title "API Documentation", empty servers[]); title/description/servers were set by API Evangelist for identification and the unmodified original is preserved at openapi/_original/zoca-platform-swagger.json. Every path, operation, summary, parameter and response is exactly as published.
servers:
- url: https://api.zoca.ai
  description: Production
tags:
- name: copilot
paths:
  /copilot/chat:
    post:
      operationId: t_value
      parameters: []
      responses:
        '200':
          description: Chat response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/e'
      security:
      - bearer: []
      summary: Chat with the copilot
      tags:
      - copilot
  /copilot/discover:
    post:
      operationId: t_value
      parameters: []
      responses:
        '200':
          description: Discovery response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/e'
      security:
      - bearer: []
      summary: Discover insights using the copilot
      tags:
      - copilot
  /copilot/conversations:
    get:
      operationId: t_value
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/e'
      security:
      - bearer: []
      summary: Get user conversations with optional pagination
      tags:
      - copilot
  /copilot/conversations/{conversationId}:
    get:
      operationId: t_value
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/e'
      security:
      - bearer: []
      summary: Get conversation history with optional pagination
      tags:
      - copilot
  /copilot/chat/stream:
    options:
      operationId: t_value
      parameters: []
      responses:
        '204':
          description: ''
      security:
      - bearer: []
      tags:
      - copilot
    get:
      operationId: t_value
      parameters: []
      responses:
        '200':
          description: ''
      security:
      - bearer: []
      summary: Stream chat responses from the copilot
      tags:
      - copilot
  /copilot/stream:
    get:
      operationId: t_value
      parameters: []
      responses:
        '200':
          description: ''
      security:
      - bearer: []
      summary: Stream responses from the copilot
      tags:
      - copilot
  /copilot/enquiry-stats-with-roi:
    post:
      operationId: t_value
      parameters: []
      responses:
        '200':
          description: Returns enquiry statistics with ROI calculation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/e'
      security:
      - bearer: []
      tags:
      - copilot
  /copilot/discovery-insights:
    post:
      description: Analyzes location data from the last 12 months including reviews, media, bookings, and metrics to generate insights
      operationId: t_value
      parameters: []
      requestBody:
        required: true
        description: Request body containing the location entity ID
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/e'
      responses:
        '200':
          description: Discovery insights generated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/e'
        '400':
          description: Bad request - Invalid location entity ID
        '404':
          description: Location entity not found
        '500':
          description: Internal server error
      security:
      - bearer: []
      summary: Get discovery insights for a specific location
      tags:
      - copilot
components:
  schemas:
    e:
      type: object
      properties:
        id:
          type: number
        entityId:
          type: string
        attribute:
          type: string
        value:
          type:
          - object
          - 'null'
        metadata:
          type:
          - object
          - 'null'
        createdAt:
          type:
          - object
          - 'null'
      required:
      - id
      - entityId
      - attribute
  securitySchemes:
    access-token:
      scheme: bearer
      bearerFormat: JWT
      type: http
      name: Authorization
      description: Enter JWT token in the format Bearer <token>
      in: header