> ## Documentation Index
> Fetch the complete documentation index at: https://docsapi.wiseapp360.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Account reports

> Get Account reports for a specific type, metric and date range



## OpenAPI

````yaml /openapi/application.json get /api/v2/accounts/{account_id}/reports
openapi: 3.1.0
info:
  title: WiseApp API — Aplicação
  description: >-
    Referência completa da API do WiseApp: plataforma (provisionamento),
    aplicação (conta), cliente (canais públicos) e MCP.
  version: 1.1.0
servers:
  - url: https://chat.wiseapp360.com
    description: Sua instalação WiseApp
security: []
paths:
  /api/v2/accounts/{account_id}/reports:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
      - $ref: '#/components/parameters/report_metric'
        schema:
          type: string
        example: sample
      - $ref: '#/components/parameters/report_type'
        schema:
          type: string
        example: sample
      - in: query
        name: id
        schema:
          type: string
        description: The Id of specific object in case of agent/inbox/label
        example: sample
      - in: query
        name: since
        schema:
          type: string
        description: The timestamp from where report should start.
        example: sample
      - in: query
        name: until
        schema:
          type: string
        description: The timestamp from where report should stop.
        example: sample
    get:
      tags:
        - Reports
      summary: Get Account reports
      description: Get Account reports for a specific type, metric and date range
      operationId: list-all-conversation-statistics
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                description: Array of date based conversation statistics
                items:
                  type: object
                  properties:
                    value:
                      type: string
                    timestamp:
                      type: number
              example:
                - value: Sample text
                  timestamp: 1
        '403':
          description: Access denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Forbidden
        '404':
          description: reports not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Resource not found
      security:
        - userApiKey: []
components:
  parameters:
    account_id:
      in: path
      name: account_id
      schema:
        type: integer
      required: true
      description: The numeric ID of the account
    report_metric:
      in: query
      name: metric
      schema:
        type: string
        enum:
          - conversations_count
          - incoming_messages_count
          - outgoing_messages_count
          - avg_first_response_time
          - avg_resolution_time
          - resolutions_count
      required: true
      description: The type of metric
    report_type:
      in: query
      name: type
      schema:
        type: string
        enum:
          - account
          - agent
          - inbox
          - label
          - team
      required: true
      description: Type of report
  schemas:
    bad_request_error:
      title: data
      type: object
      properties:
        description:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/request_error'
    request_error:
      type: object
      properties:
        field:
          type: string
        message:
          type: string
        code:
          type: string
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        Token de acesso do usuário (Perfil → Token de acesso). Dá acesso
        conforme o papel do usuário e age em nome dele.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.