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

# Get outreach stats

> Workspace-wide sending activity: 14 days of sends (sent, failed, opened per day), replies per day, unsubscribes, bounces, active enrollments, and today's sent versus the combined warmup-aware cap.

Requires the `read` permission.



## OpenAPI

````yaml GET /api/outreach/stats
openapi: 3.1.0
info:
  title: ManyPI API
  description: >-
    The REST API behind ManyPI — AI lead generation, email validation,
    cold-email outreach, agent runs and web scraping. Every endpoint is
    authenticated with a ManyPI API key (`mpi_...`) or an OAuth 2.1 access
    token, and honours the permissions granted to that credential.
  version: 2.0.0
  contact:
    name: ManyPI Support
    email: support@manypi.com
    url: https://manypi.com
servers:
  - url: https://app.manypi.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Leads
    description: Find, store, enrich and manage leads.
  - name: Email validation
    description: Verify that lead addresses can receive mail.
  - name: Outreach
    description: Inboxes, sequences, campaigns, sending and replies.
  - name: Agent
    description: Agent runs, replies and skills.
  - name: Scraping
    description: Scrapers, runs and extracted data.
  - name: Endpoints
    description: Publish scrapers as typed REST endpoints.
  - name: Account
    description: Key validation and account information.
paths:
  /api/outreach/stats:
    get:
      tags:
        - Outreach
      summary: Get outreach stats
      description: >-
        Workspace-wide sending activity: 14 days of sends (sent, failed, opened
        per day), replies per day, unsubscribes, bounces, active enrollments,
        and today's sent versus the combined warmup-aware cap.


        Requires the `read` permission.
      operationId: getOutreachStats
      parameters:
        - name: brand
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Activity.
          content:
            application/json:
              schema:
                type: object
                properties:
                  days:
                    type: array
                    items:
                      type: object
                  totals:
                    type: object
                    properties:
                      sent14d:
                        type: integer
                      failed14d:
                        type: integer
                      opened14d:
                        type: integer
                      replies14d:
                        type: integer
                      unsub14d:
                        type: integer
                      unsubRate14d:
                        type: number
                      bounced14d:
                        type: integer
                      bounceRate14d:
                        type: number
                      activeEnrollments:
                        type: integer
                      sentToday:
                        type: integer
                      capToday:
                        type: integer
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  responses:
    Unauthorized:
      description: >-
        Missing, invalid or expired credential — or a key that lacks the
        permission this route requires.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable message.
        code:
          type: string
          description: >-
            A machine-readable code on gated failures: `lead_limit`,
            `outreach_locked`, `validation_credits_exhausted`.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        A ManyPI API key (`mpi_...`) from Settings → API keys, or an OAuth 2.1
        access token obtained through the MCP consent flow.

````