Zoca Agents API

The Agents API from Zoca — 5 operation(s) for agents.

Operations 5

POST /tasks/api/v1/agents/link-fetcher Fetch business links using AI agent #
POST /tasks/api/v1/agents/link-fetcher/queue Queue a link-fetcher job for background processing #
POST /tasks/api/v1/agents/context-builder Build business context using AI agent #
POST /tasks/api/v1/agents/context-builder/queue Queue a context-builder job for background processing #
GET /tasks/api/v1/agents/contexts Retrieve saved business contexts #

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-agents-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-agents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Zoca Tasks Agents API
  description: 'The Zoca tasks/automation service: AI content queue and planning, FrontDesk (Retell/Twilio) voice + SMS agent onboarding, local-SEO grid scans, WIN conversion triggers, and inbound integration webhooks (Chargebee, Square, Pipedrive, Twilio, Retell, CallHippo, Sybill, Instantly).'
  version: 3.20.9
  contact: {}
  x-apievangelist-note: Harvested verbatim from https://tasks.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-tasks-swagger.json. Every path, operation, summary, parameter and response is exactly as published.
servers:
- url: https://tasks.zoca.ai
  description: Production
security:
- access-token: []
tags:
- name: Agents
paths:
  /tasks/api/v1/agents/link-fetcher:
    post:
      description: Uses the LinkFetcher AI agent with web search capabilities to find official online properties of a business including website, booking links, and social media profiles. Results are saved to database.
      operationId: t_value
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/e'
      responses:
        '200':
          description: Business links fetched successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/e'
        '400':
          description: Invalid request data
        '500':
          description: Agent execution failed
      summary: Fetch business links using AI agent
      tags:
      - Agents
  /tasks/api/v1/agents/link-fetcher/queue:
    post:
      description: Adds a link-fetcher job to the queue for background processing by the link-scraper worker. Returns immediately with a job ID for tracking.
      operationId: t_value
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/e'
      responses:
        '201':
          description: Link-fetcher job queued successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  jobId:
                    type: string
                    description: The unique job ID for tracking
        '400':
          description: Invalid request data
      summary: Queue a link-fetcher job for background processing
      tags:
      - Agents
  /tasks/api/v1/agents/context-builder:
    post:
      description: Uses the ContextBuilder AI agent to extract comprehensive business information including services, hours, policies, and more from websites, Google Business Profile, and booking platforms. Results are saved to database.
      operationId: t_value
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/e'
      responses:
        '200':
          description: Business context built successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/e'
        '400':
          description: Invalid request data
        '500':
          description: Agent execution failed
      summary: Build business context using AI agent
      tags:
      - Agents
  /tasks/api/v1/agents/context-builder/queue:
    post:
      description: Adds a context-builder job to the queue for background processing by the link-scraper worker. Returns immediately with a job ID for tracking.
      operationId: t_value
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/e'
      responses:
        '201':
          description: Context-builder job queued successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  jobId:
                    type: string
                    description: The unique job ID for tracking
        '400':
          description: Invalid request data
      summary: Queue a context-builder job for background processing
      tags:
      - Agents
  /tasks/api/v1/agents/contexts:
    get:
      description: Retrieves previously scraped business contexts from entities.agent_business_context table. Supports filtering by link URL, entity ID, and pagination.
      operationId: t_value
      parameters:
      - name: limit
        required: false
        in: query
        description: 'Maximum records to return (1-100, default: 50)'
        schema:
          type: number
      - name: entityId
        required: false
        in: query
        description: Filter by entity ID
        schema:
          type: string
      - name: link
        required: false
        in: query
        description: Filter by link URL
        schema:
          type: string
      responses:
        '200':
          description: Contexts retrieved successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                      format: uuid
                    entity_id:
                      type:
                      - string
                      - 'null'
                      format: uuid
                    link:
                      type: string
                    context:
                      type: object
                    created_at:
                      type: string
                      format: date-time
                    updated_at:
                      type: string
                      format: date-time
        '400':
          description: Invalid query parameters
      summary: Retrieve saved business contexts
      tags:
      - Agents
components:
  schemas:
    e:
      type: object
      properties:
        scan:
          $ref: '#/components/schemas/e'
        businessLat:
          type:
          - number
          - 'null'
        businessLng:
          type:
          - number
          - 'null'
        points:
          type: array
          items:
            $ref: '#/components/schemas/e'
        heroMetrics:
          $ref: '#/components/schemas/e'
      required:
      - scan
      - businessLat
      - businessLng
      - points
      - heroMetrics
  securitySchemes:
    access-token:
      scheme: bearer
      bearerFormat: JWT
      type: http
      name: Authorization
      description: Enter JWT token in the format Bearer <token>
      in: header