WASync · Schema

AgentReportResponse

CompanyWhatsAppCRMIntegrationBitrix24Pipedrive

Properties

Name Type Description
range object
totals object
agents array Most replies first; the unattributed row (if any) last.
attributionSince stringnull When employee attribution started on this account. Replies before it are in the unattributed row.
View JSON Schema on GitHub

JSON Schema

wasync-app-agent-report-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wasync-app/json-schema/wasync-app-agent-report-response-schema.json",
  "title": "AgentReportResponse",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wasync-app-openapi.json#/components/schemas/AgentReportResponse",
  "type": "object",
  "required": [
    "range",
    "totals",
    "agents",
    "attributionSince"
  ],
  "properties": {
    "range": {
      "type": "object",
      "required": [
        "from",
        "to"
      ],
      "properties": {
        "from": {
          "type": "string",
          "format": "date"
        },
        "to": {
          "type": "string",
          "format": "date"
        }
      }
    },
    "totals": {
      "type": "object",
      "required": [
        "conversations",
        "repliesSent",
        "customerTurns",
        "answeredTurns",
        "medianFirstResponseSec"
      ],
      "properties": {
        "conversations": {
          "type": "integer",
          "description": "Distinct customers who wrote in the range."
        },
        "repliesSent": {
          "type": "integer",
          "description": "All human replies in the range (the sum of `agents[].repliesSent`)."
        },
        "customerTurns": {
          "type": "integer",
          "description": "Customer turns that started in the range (consecutive customer messages count once)."
        },
        "answeredTurns": {
          "type": "integer",
          "description": "Of those, turns a person answered."
        },
        "medianFirstResponseSec": {
          "type": [
            "integer",
            "null"
          ]
        }
      }
    },
    "agents": {
      "type": "array",
      "description": "Most replies first; the unattributed row (if any) last.",
      "items": {
        "$ref": "#/$defs/AgentReportRow"
      }
    },
    "attributionSince": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When employee attribution started on this account. Replies before it are in the unattributed row."
    }
  },
  "$defs": {
    "AgentReportRow": {
      "type": "object",
      "required": [
        "userId",
        "name",
        "unattributed",
        "repliesSent",
        "conversations",
        "medianFirstResponseSec"
      ],
      "properties": {
        "userId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Bitrix24 user id; null on the unattributed row."
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "unattributed": {
          "type": "boolean",
          "description": "True on the single row for replies written by a person but not linked to an employee (sent before attribution started, or typed on the phone)."
        },
        "repliesSent": {
          "type": "integer",
          "description": "Outgoing messages this person wrote in the range (no automated messages, no internal notes, no failed sends; 1:1 chats only)."
        },
        "conversations": {
          "type": "integer",
          "description": "Distinct customers this person replied to in the range."
        },
        "medianFirstResponseSec": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Median seconds from a customer's first unanswered message to this person's reply, over the turns they answered first. Automated replies do not stop the clock. Null when they answered no turn that started in the range."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/wasync-app-agent-report-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.