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

# List Extension Counts

> Daily extension / SIP trunk / residential seat counts for a tenant (and its partner totals)



## OpenAPI

````yaml https://api.voxo.co/v2/docs/openapi.json get /v2/billing/history/extension-counts
openapi: 3.1.0
info:
  title: VOXO API
  description: VOXO Communication Platform API
  version: 2.0.0
servers:
  - url: https://api.voxo.co
security:
  - bearerAuth: []
paths:
  /v2/billing/history/extension-counts:
    get:
      tags:
        - Billing
      summary: List Extension Counts
      description: >-
        Daily extension / SIP trunk / residential seat counts for a tenant (and
        its partner totals)
      parameters:
        - schema:
            type: number
            exclusiveMinimum: 0
          in: query
          name: tenantId
          required: true
          description: Tenant ID
        - schema:
            type: string
            pattern: ^\d{4}-\d{2}-\d{2}$
          in: query
          name: startDate
          required: false
          description: First day (YYYY-MM-DD); defaults to 30 days ago
        - schema:
            type: string
            pattern: ^\d{4}-\d{2}-\d{2}$
          in: query
          name: endDate
          required: false
          description: Last day (YYYY-MM-DD); defaults to today
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  records:
                    type: array
                    items:
                      type: object
                      properties:
                        day:
                          type: string
                        extensions:
                          type: number
                        pagingExtensions:
                          type: number
                        sipTrunks:
                          type: number
                        isResidential:
                          type: number
                        totalExtensions:
                          type: number
                        partnerExtensions:
                          type: number
                        partnerPagingExtensions:
                          type: number
                        partnerSipTrunks:
                          type: number
                        partnerResidentialExtensions:
                          type: number
                        partnerTotalExtensions:
                          type: number
                      required:
                        - day
                        - extensions
                        - pagingExtensions
                        - sipTrunks
                        - isResidential
                        - totalExtensions
                        - partnerExtensions
                        - partnerPagingExtensions
                        - partnerSipTrunks
                        - partnerResidentialExtensions
                        - partnerTotalExtensions
                      additionalProperties: false
                required:
                  - records
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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