Voice Logica Agentic - Campaign Results API

The Agentic - Campaign Results API from Voice Logica, for agentic - campaign results.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

POST /api/v1/agentic/campaign-results/query Campaign results: KPIs, groups and per-contact outcomes #
POST /api/v1/agentic/campaign-results/report Export the client campaign report (XLSX) #

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/voicelogica-ai:voicelogica-ai-agentic-campaign-results-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

voicelogica-ai-agentic-campaign-results-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Voice Logica Agentic - Campaign Results API
  version: 1.0.0
  description: 'Voice Logica API Reference


    ## 📚 Documentation


    For comprehensive guides, tutorials, and support documentation, visit docs.voicelogica.ai


    ## Authentication


    All API requests require authentication via the `x-api-key` header.


    ## Reseller Support


    If you are a reseller managing multiple companies, you can use the optional `x-company-id` header to specify which of your subsidiary companies the API request should operate on. When provided, the API will validate that your API key has access to the specified company and execute the request on behalf of that company.


    **Example:**

    - Without `x-company-id`: Request operates on your primary company (the company linked with your API key)

    - With `x-company-id`: Request operates on the specified subsidiary company (must be a company under your reseller account)'
servers:
- url: https://api.voicelogica.ai
tags:
- name: Agentic - Campaign Results
paths:
  /api/v1/agentic/campaign-results/query:
    post:
      summary: 'Campaign results: KPIs, groups and per-contact outcomes'
      description: Computes the campaign results from existing calls and leads at request time. Every contact is in exactly one group; `reconciled` is true when the group counts add up to the number of contacts. Rows are paginated.
      responses:
        '200':
          description: Campaign results
          content:
            application/json:
              schema:
                type: object
                properties:
                  companyId:
                    type: string
                    description: The company the results were computed for
                  campaignId:
                    type: string
                  campaignName:
                    type: string
                  generatedAt:
                    type: string
                  kpis:
                    type: object
                    properties:
                      contacts:
                        type: number
                      calls:
                        type: number
                      outboundCalls:
                        type: number
                      attempts:
                        type: number
                        description: Outbound dial attempts, excluding technical failures
                      callsRang:
                        type: number
                      spoke:
                        type: number
                        description: Contacts who gave a real answer on at least one call
                      positive:
                        type: number
                      conversionRate:
                        type: number
                        description: positive ÷ spoke (0–1)
                      reachRate:
                        type: number
                        description: spoke ÷ contacts (0–1)
                      inboundCalls:
                        type: number
                      inboundContacts:
                        type: number
                      callbacksDue:
                        type: number
                      callbacksOverdue:
                        type: number
                      doNotCall:
                        type: number
                      wrongNumbers:
                        type: number
                      invalidNumbers:
                        type: number
                      complaints:
                        type: number
                      introHangUpRate:
                        type: number
                        description: Share of answered outbound calls that hung up within 20 s without answering (0–1)
                      reclassifiedCalls:
                        type: number
                        description: Calls whose final outcome differs from the AI verdict
                    required:
                    - contacts
                    - calls
                    - outboundCalls
                    - attempts
                    - callsRang
                    - spoke
                    - positive
                    - conversionRate
                    - reachRate
                    - inboundCalls
                    - inboundContacts
                    - callbacksDue
                    - callbacksOverdue
                    - doNotCall
                    - wrongNumbers
                    - invalidNumbers
                    - complaints
                    - introHangUpRate
                    - reclassifiedCalls
                  groupCounts:
                    type: object
                    additionalProperties:
                      type: number
                  byVoice:
                    type: array
                    items:
                      type: object
                      properties:
                        voiceProvider:
                          type: string
                        voiceId:
                          type: string
                        modelId:
                          type: string
                        name:
                          type: string
                        inCampaign:
                          type: boolean
                          description: 'false: the voice was removed from the campaign; its leads keep their numbers'
                        kpis:
                          type: object
                          properties:
                            contacts:
                              type: number
                            calls:
                              type: number
                            outboundCalls:
                              type: number
                            attempts:
                              type: number
                              description: Outbound dial attempts, excluding technical failures
                            callsRang:
                              type: number
                            spoke:
                              type: number
                              description: Contacts who gave a real answer on at least one call
                            positive:
                              type: number
                            conversionRate:
                              type: number
                              description: positive ÷ spoke (0–1)
                            reachRate:
                              type: number
                              description: spoke ÷ contacts (0–1)
                            inboundCalls:
                              type: number
                            inboundContacts:
                              type: number
                            callbacksDue:
                              type: number
                            callbacksOverdue:
                              type: number
                            doNotCall:
                              type: number
                            wrongNumbers:
                              type: number
                            invalidNumbers:
                              type: number
                            complaints:
                              type: number
                            introHangUpRate:
                              type: number
                              description: Share of answered outbound calls that hung up within 20 s without answering (0–1)
                            reclassifiedCalls:
                              type: number
                              description: Calls whose final outcome differs from the AI verdict
                          required:
                          - contacts
                          - calls
                          - outboundCalls
                          - attempts
                          - callsRang
                          - spoke
                          - positive
                          - conversionRate
                          - reachRate
                          - inboundCalls
                          - inboundContacts
                          - callbacksDue
                          - callbacksOverdue
                          - doNotCall
                          - wrongNumbers
                          - invalidNumbers
                          - complaints
                          - introHangUpRate
                          - reclassifiedCalls
                        minutes:
                          type: number
                          description: Outbound talk time of these leads, in minutes
                        avgSpokeSeconds:
                          type: number
                          description: Average length of the outbound calls where the customer spoke, in seconds
                      required:
                      - voiceProvider
                      - voiceId
                      - inCampaign
                      - kpis
                      - minutes
                      - avgSpokeSeconds
                    description: 'Campaigns with 2+ voices: the KPIs per voice, over the leads that heard it (leads not called yet, or starting in another language, are in none). Compare conversionRate, reachRate and introHangUpRate; few contacts per voice means too early to tell'
                  outcomeCounts:
                    type: object
                    additionalProperties:
                      type: number
                  whatsapp:
                    type: object
                    properties:
                      sent:
                        type: number
                      delivered:
                        type: number
                      read:
                        type: number
                      failed:
                        type: number
                    required:
                    - sent
                    - delivered
                    - read
                    - failed
                    description: 'WhatsApp campaigns only: how far the messages got. sent = Meta accepted it; delivered and read are counted inside sent; failed = refused or not delivered'
                  reconciled:
                    type: boolean
                    description: true when the group counts add up to the number of contacts
                  total:
                    type: number
                    description: Total contact rows
                  page:
                    type: number
                  pageSize:
                    type: number
                  rows:
                    type: array
                    items:
                      type: object
                      properties:
                        campaignLeadId:
                          type: string
                        phoneNumber:
                          type: string
                        name:
                          type: string
                        columns:
                          type: object
                          additionalProperties:
                            oneOf:
                            - type: string
                            - type: number
                            - type: boolean
                            - type: 'null'
                        group:
                          type: string
                          description: call_now | callback_calendar | called_back | no_answer | not_now | exclusions | pending
                        finalOutcome:
                          type: string
                        outcomeLabel:
                          type: string
                        priority:
                          type: string
                        priorityReasons:
                          type: array
                          items:
                            type: string
                        nextAction:
                          type: string
                        ruleApplied:
                          type: string
                        attempts:
                          type: number
                        inboundCount:
                          type: number
                        positiveCount:
                          type: number
                        spoke:
                          type: boolean
                        firstContactAt:
                          type: string
                        firstPositiveAt:
                          type: string
                        lastContactAt:
                          type: string
                        suggestedCallAt:
                          type: string
                        overdue:
                          type: boolean
                        humanOnly:
                          type: boolean
                        complaint:
                          type: boolean
                        reasonTags:
                          type: array
                          items:
                            type: string
                        keyQuote:
                          type: string
                        callbackRequestText:
                          type: string
                        historyLine:
                          type: string
                        notes:
                          type: string
                      required:
                      - campaignLeadId
                      - phoneNumber
                      - columns
                      - group
                      - finalOutcome
                      - outcomeLabel
                      - priorityReasons
                      - nextAction
                      - ruleApplied
                      - attempts
                      - inboundCount
                      - positiveCount
                      - spoke
                      - overdue
                      - humanOnly
                      - complaint
                      - reasonTags
                      - historyLine
                required:
                - companyId
                - campaignId
                - campaignName
                - generatedAt
                - kpis
                - groupCounts
                - outcomeCounts
                - reconciled
                - total
                - page
                - pageSize
                - rows
        '401':
          description: Unauthorized
          content:
            application/json: {}
        '403':
          description: Invalid CSRF
          content:
            application/json: {}
        '404':
          description: Campaign not found in your company
          content:
            application/json: {}
        '429':
          description: Rate limit exceeded
          content:
            application/json: {}
        '500':
          description: Internal Server Error
          content:
            application/json: {}
      parameters:
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
        description: Your API key for authentication. Required for all endpoints.
      - name: x-company-id
        in: header
        required: false
        schema:
          type: string
        description: Optional company ID for resellers. When provided, the API request will operate on behalf of the specified subsidiary company. The API key must have access to the specified company.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                campaignId:
                  type: string
                  pattern: ^[0-9a-fA-F]{24}$
                  description: ID of the campaign
                language:
                  type: string
                  enum:
                  - el
                  - en
                  default: el
                  description: 'Language of every label, sheet name and text: "el" (Greek, default) or "en" (English).'
                page:
                  type: integer
                  minimum: 1
                  default: 1
                  description: 1-based page of contact rows (default 1)
                pageSize:
                  type: integer
                  minimum: 1
                  maximum: 500
                  default: 100
                  description: Contact rows per page, 1–500 (default 100)
              required:
              - campaignId
      security:
      - apiKey: []
      tags:
      - Agentic - Campaign Results
      operationId: postApiV1AgenticCampaignResultsQuery
      x-operation-id-source: derived
  /api/v1/agentic/campaign-results/report:
    post:
      summary: Export the client campaign report (XLSX)
      description: Builds the XLSX campaign report in Greek or English, stores it privately and returns a signed download link that expires after 7 days.
      responses:
        '200':
          description: Report generated
          content:
            application/json:
              schema:
                type: object
                properties:
                  companyId:
                    type: string
                  campaignId:
                    type: string
                  fileName:
                    type: string
                  downloadUrl:
                    type: string
                    description: Signed link to the XLSX file
                  expiresAt:
                    type: string
                    description: When the link stops working (ISO 8601)
                  contacts:
                    type: number
                  calls:
                    type: number
                  reconciled:
                    type: boolean
                required:
                - companyId
                - campaignId
                - fileName
                - downloadUrl
                - expiresAt
                - contacts
                - calls
                - reconciled
        '401':
          description: Unauthorized
          content:
            application/json: {}
        '403':
          description: Invalid CSRF
          content:
            application/json: {}
        '404':
          description: Campaign not found in your company
          content:
            application/json: {}
        '429':
          description: Rate limit exceeded
          content:
            application/json: {}
        '500':
          description: Internal Server Error
          content:
            application/json: {}
      parameters:
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
        description: Your API key for authentication. Required for all endpoints.
      - name: x-company-id
        in: header
        required: false
        schema:
          type: string
        description: Optional company ID for resellers. When provided, the API request will operate on behalf of the specified subsidiary company. The API key must have access to the specified company.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                campaignId:
                  type: string
                  pattern: ^[0-9a-fA-F]{24}$
                  description: ID of the campaign
                format:
                  type: string
                  enum:
                  - xlsx
                  default: xlsx
                  description: File format. Only "xlsx" for now.
                language:
                  type: string
                  enum:
                  - el
                  - en
                  default: el
                  description: 'Language of every label, sheet name and text: "el" (Greek, default) or "en" (English).'
              required:
              - campaignId
      security:
      - apiKey: []
      tags:
      - Agentic - Campaign Results
      operationId: postApiV1AgenticCampaignResultsReport
      x-operation-id-source: derived
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Your API key for authentication. Required for all protected endpoints.