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

# Daily analytics

> Day-by-day activity breakdown for a date range.



## OpenAPI

````yaml /openapi.json get /v1/analytics/daily
openapi: 3.0.0
info:
  title: Botdog API
  description: |-
    API documentation for Botdog.

    **Authentication**: Pass your API key as the `x-api-key` header.
    Example: `x-api-key: bd_live_abc123`

    Do NOT use the `Authorization` header.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.botdog.co
    description: Production
security: []
tags:
  - name: campaigns
    description: >-
      Create, read, update, and control campaigns (pause/resume, pause
      activities, archive, delete).
  - name: leads
    description: >-
      List and filter leads, read full detail + event history, update metadata,
      add to a campaign, or stop a sequence.
  - name: lists
    description: Manage lead/audience lists and their members.
  - name: blacklist
    description: Manage suppression lists (excluded profiles).
  - name: snippets
    description: Manage message snippets / templates.
  - name: accounts
    description: >-
      Connected LinkedIn accounts (seats), their connection health, and daily
      sending limits.
  - name: webhooks
    description: Manage webhook subscriptions.
  - name: messaging
    description: >-
      Send messages and replies, schedule a future send, and mark conversations
      read/unread. Rate-limited per sending account.
  - name: analytics
    description: Team-level analytics totals, daily breakdowns, and per-user metrics.
  - name: users
    description: Read the users in your team.
  - name: teams
    description: Current team context.
  - name: health
    description: Service health checks (no authentication).
paths:
  /v1/analytics/daily:
    get:
      tags:
        - analytics
      summary: Daily analytics
      description: Day-by-day activity breakdown for a date range.
      operationId: AnalyticsController_getDailyAnalytics
      parameters:
        - name: startDate
          required: true
          in: query
          description: Start of the date range (YYYY-MM-DD)
          schema:
            format: date
            example: '2026-03-16'
            type: string
        - name: endDate
          required: true
          in: query
          description: End of the date range (YYYY-MM-DD)
          schema:
            format: date
            example: '2026-03-22'
            type: string
        - name: userId
          required: false
          in: query
          description: Filter to a specific user
          schema:
            type: string
        - name: campaignId
          required: false
          in: query
          description: Filter to a specific campaign
          schema:
            type: string
      responses:
        '200':
          description: Daily activity data with totals
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DailyAnalyticsResponseDto'
        '401':
          description: Unauthorized. API key is missing or invalid.
        '429':
          description: Rate limit exceeded. Retry after cooldown.
      security:
        - api-key: []
components:
  schemas:
    DailyAnalyticsResponseDto:
      type: object
      properties:
        startDate:
          type: string
          example: '2026-03-16'
        endDate:
          type: string
          example: '2026-03-22'
        data:
          type: array
          items:
            $ref: '#/components/schemas/DailyDataPointDto'
        totals:
          $ref: '#/components/schemas/DailyTotalsDto'
      required:
        - startDate
        - endDate
        - data
        - totals
    DailyDataPointDto:
      type: object
      properties:
        date:
          type: string
          example: '2026-03-19'
        invitationsSent:
          type: number
          example: 142
        invitationsAccepted:
          type: number
          example: 16
        messagesSent:
          type: number
          example: 16
        messagesReplied:
          type: number
          example: 1
      required:
        - date
        - invitationsSent
        - invitationsAccepted
        - messagesSent
        - messagesReplied
    DailyTotalsDto:
      type: object
      properties:
        invitationsSent:
          type: number
          example: 677
        invitationsAccepted:
          type: number
          example: 92
        messagesSent:
          type: number
          example: 92
        messagesReplied:
          type: number
          example: 4
        invitationAcceptanceRate:
          type: number
          example: 13.6
        messageReplyRate:
          type: number
          example: 4.3
      required:
        - invitationsSent
        - invitationsAccepted
        - messagesSent
        - messagesReplied
        - invitationAcceptanceRate
        - messageReplyRate
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: x-api-key
      x-default: bd_live_your_key_here

````