> ## 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.

# Share woku via email

> Sends a woku review link to one or more email addresses, inviting recipients to leave feedback. You can send to a single email or multiple emails at once.



## OpenAPI

````yaml /openapi.json post /wokus/share-woku-to-email
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:
  /wokus/share-woku-to-email:
    post:
      tags:
        - Wokus
      summary: Share woku via email
      description: >-
        Sends a woku review link to one or more email addresses, inviting
        recipients to leave feedback. You can send to a single email or multiple
        emails at once.
      operationId: shareWokuToEmail
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShareWokuToEmailRequest'
            examples:
              singleEmail:
                summary: Send to single email
                value:
                  wokuId: 507f1f77bcf86cd799439011
                  clientEmail: customer@example.com
              multipleEmails:
                summary: Send to multiple emails
                value:
                  wokuId: 507f1f77bcf86cd799439011
                  clientEmails:
                    - customer1@example.com
                    - customer2@example.com
                    - customer3@example.com
      responses:
        '200':
          description: Email(s) sent successfully
          content:
            application/json:
              schema:
                type: string
                example: Email sent successfully
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
        '404':
          description: Woku not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
      security:
        - BearerAuth: []
components:
  schemas:
    ShareWokuToEmailRequest:
      type: object
      required:
        - wokuId
      properties:
        wokuId:
          type: string
          format: objectid
          description: MongoDB ObjectId of the woku to share
          example: 507f1f77bcf86cd799439011
        clientEmail:
          type: string
          format: email
          description: Single email address to send the review invitation to
          example: customer@example.com
        clientEmails:
          type: array
          items:
            type: string
            format: email
          description: Array of email addresses to send review invitations to
          example:
            - customer1@example.com
            - customer2@example.com
    ValidationError:
      type: object
      properties:
        statusCode:
          type: integer
          example: 400
        message:
          type: array
          items:
            type: string
          example:
            - description must be a string
            - fileUrl must be a valid URL
        error:
          type: string
          example: Bad Request
    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.

````