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

# Get leads for organization

> Get lead statistics and per-office breakdowns for a specific partner agent organization. This endpoint may not be supported for all Venturu partners.



## OpenAPI

````yaml /openapi.json get /partner/v1/organizations/{organizationId}/leads/count
openapi: 3.0.0
info:
  title: Venturu API Documentation
  version: 1.0.0
  description: This is the OpenAPI specification for Venturu.
servers:
  - url: https://www.venturu.com/api
    description: Production server
  - url: http://localhost:3000/api
    description: Local development server
security: []
paths:
  /partner/v1/organizations/{organizationId}/leads/count:
    get:
      tags:
        - Partner
      summary: Get leads for organization
      description: >-
        Get lead statistics and per-office breakdowns for a specific partner
        agent organization. This endpoint may not be supported for all Venturu
        partners.
      operationId: get-partner-v1-organizations-{organizationId}-leads-count
      parameters:
        - in: path
          name: organizationId
          schema:
            type: string
            description: The Venturu ID of the organization to get leads for.
          required: true
          description: The Venturu ID of the organization to get leads for.
          example: '123'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/getLeadsForOrganizationResponseSchema'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/getLeadsForOrganizationErrorResponseSchema
      security:
        - BearerAuth: []
components:
  schemas:
    getLeadsForOrganizationResponseSchema:
      type: object
      properties:
        status:
          type: string
          enum:
            - success
          description: Indicates that the request was successful.
        organizationId:
          type: number
          description: The Venturu ID of the organization.
        organizationName:
          type: string
          description: The name of the organization.
        totalLeads:
          type: number
          description: The total number of leads for the organization.
        officeBreakdown:
          type: array
          items:
            type: object
            properties:
              officeId:
                type: number
                description: The Venturu ID of the office.
              officeName:
                type: string
                description: The name of the office.
              totalLeads:
                type: number
                description: The total number of leads for the office.
            required:
              - officeId
              - officeName
              - totalLeads
          description: A breakdown of leads by office within the organization.
      required:
        - status
        - organizationId
        - organizationName
        - totalLeads
        - officeBreakdown
    getLeadsForOrganizationErrorResponseSchema:
      type: object
      properties:
        status:
          type: string
          enum:
            - error
          description: Indicates that an error occurred.
        error:
          type: string
          description: A description of the error that occurred.
      required:
        - status
        - error
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````