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

# Get company NPS report

> Retrieves company-wide NPS (Net Promoter Score) report data including overall NPS score, response distribution (promoters, passives, detractors), and trends over time.



## OpenAPI

````yaml /openapi.json get /reports/company-nps
openapi: 3.0.3
info:
  title: Woku Client API
  description: >-
    API for integrating with Woku's feedback collection platform. This API
    allows you to create wokus (feedback collection tools), submit reviews, and
    retrieve reports.


    ## Authentication


    All endpoints require authentication using a Bearer token in the
    Authorization header. You can obtain your API key from the Woku dashboard.


    ```

    Authorization: Bearer your_api_key_here

    ```


    ## Base URL


    Production: `https://api.woku.app`
  version: 1.0.0
  contact:
    name: Woku Support
    url: https://woku.app
    email: team@woku.app
servers:
  - url: https://clientapi.woku.app
    description: Production server
security: []
tags:
  - name: Wokus
    description: Endpoints for creating and managing wokus (feedback collection tools)
  - name: Reviews
    description: Endpoints for submitting and retrieving reviews
  - name: Companies
    description: Endpoints for retrieving company data
  - name: Reports
    description: Endpoints for retrieving NPS and analytics reports
paths:
  /reports/company-nps:
    get:
      tags:
        - Reports
      summary: Get company NPS report
      description: >-
        Retrieves company-wide NPS (Net Promoter Score) report data including
        overall NPS score, response distribution (promoters, passives,
        detractors), and trends over time.
      operationId: getCompanyNpsReport
      responses:
        '200':
          description: Company NPS report retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyNpsReportResponse'
        '401':
          description: Invalid or missing authorization key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedError'
        '404':
          description: Company not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
        - BearerAuth: []
components:
  schemas:
    CompanyNpsReportResponse:
      type: object
      properties:
        npsScore:
          type: number
          description: Net Promoter Score (-100 to 100)
          example: 42
        totalResponses:
          type: integer
          description: Total number of NPS responses
          example: 500
        promoters:
          type: object
          properties:
            count:
              type: integer
              description: Number of promoters (score 9-10)
              example: 280
            percentage:
              type: number
              description: Percentage of promoters
              example: 56
        passives:
          type: object
          properties:
            count:
              type: integer
              description: Number of passives (score 7-8)
              example: 150
            percentage:
              type: number
              description: Percentage of passives
              example: 30
        detractors:
          type: object
          properties:
            count:
              type: integer
              description: Number of detractors (score 0-6)
              example: 70
            percentage:
              type: number
              description: Percentage of detractors
              example: 14
        scoreDistribution:
          type: object
          additionalProperties:
            type: integer
          description: Distribution of scores from 0-10
          example:
            '0': 5
            '1': 3
            '2': 8
            '3': 10
            '4': 12
            '5': 15
            '6': 17
            '7': 80
            '8': 70
            '9': 130
            '10': 150
        trend:
          type: array
          items:
            type: object
            properties:
              date:
                type: string
                format: date
                example: '2026-01-01'
              score:
                type: number
                example: 40
              responses:
                type: integer
                example: 45
          description: NPS score trend over time
    UnauthorizedError:
      type: object
      properties:
        statusCode:
          type: integer
          example: 401
        message:
          type: string
          example: Invalid or missing API key
    NotFoundError:
      type: object
      properties:
        statusCode:
          type: integer
          example: 404
        message:
          type: string
          example: Resource not found
        error:
          type: string
          example: Not Found
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Company API key. Obtain this from your Woku dashboard under Settings >
        API Keys.

````