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

# Submit feedback to a workspace with source

> Submit plain text feedback to a specific workspace with a source label for tracking where feedback originates.



## OpenAPI

````yaml /openapi/squad-api.json post /organisations/{orgId}/workspaces/{workspaceId}/data-ingress/{feedbackSource}
openapi: 3.1.0
info:
  title: Squad API
  version: 4.8.0
  description: API for managing Squad resources
  contact:
    name: Squad Support
    url: https://www.meetsquad.ai/support
    email: help@meetsquad.ai
servers:
  - url: https://api.meetsquad.ai
    description: Production server
  - url: https://uat.api.meetsquad.ai
    description: Staging server
  - url: https://dev.api.meetsquad.ai
    description: Development server
security: []
tags:
  - name: Organisations
  - name: Workspaces
  - name: Goals
  - name: Opportunities
  - name: Solutions
  - name: Feedback
  - name: Submit Feedback
  - name: Insights
  - name: Knowledge
  - name: Metrics
  - name: Topics
  - name: Integrations
  - name: AI & Search
  - name: Onboarding
paths:
  /organisations/{orgId}/workspaces/{workspaceId}/data-ingress/{feedbackSource}:
    post:
      tags:
        - Submit Feedback
      summary: Submit feedback to a workspace with source
      description: >-
        Submit plain text feedback to a specific workspace with a source label
        for tracking where feedback originates.
      operationId: submitFeedbackToWorkspaceWithSource
      parameters:
        - in: path
          name: orgId
          schema:
            type: string
          required: true
          description: Organization ID
          example: a5f3c6e1-9d20-4f7b-8e31-d09a2b63c184
        - in: path
          name: workspaceId
          schema:
            type: string
          required: true
          description: Workspace ID
          example: c0e195d9-b918-4a3a-bd8b-f730361d044f
        - in: path
          name: feedbackSource
          schema:
            type: string
          required: true
          description: >-
            The source of the feedback (e.g. MOBILE_APP, WEB_FORM). Must be
            UPPERCASE_WITH_UNDERSCORES.
          example: typeform
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              description: Plain text feedback content
              example: I found the dashboard confusing to navigate
              type: string
      responses:
        '201':
          description: Feedback processed successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/InsightResponse'
                required:
                  - data
                additionalProperties: false
        '400':
          description: Bad request (e.g., missing body or invalid parameters)
        '500':
          description: Internal server error
      security:
        - bearerAuth: []
components:
  schemas:
    InsightResponse:
      description: Response data for processed insight
      type: object
      properties:
        insight:
          description: The insight content
          example: I had trouble with the checkout process on your website
          type: string
        source:
          $ref: '#/components/schemas/InsightSourceEnum'
          description: The source of the insight
          example: SLACK
        workspaceId:
          description: ID of the workspace
          example: c0e195d9-b918-4a3a-bd8b-f730361d044f
          type: string
          format: uuid
          pattern: >-
            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        organisationId:
          description: ID of the organization
          example: a5f3c6e1-9d20-4f7b-8e31-d09a2b63c184
          type: string
          format: uuid
          pattern: >-
            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
      required:
        - insight
        - source
        - workspaceId
        - organisationId
      additionalProperties: false
    InsightSourceEnum:
      description: >-
        The source of the feedback (e.g. MOBILE_APP, WEB_FORM). Must be
        UPPERCASE_WITH_UNDERSCORES.
      example: TYPEFORM
      type: string
      enum:
        - TYPEFORM
        - SLACK
        - UNKNOWN
        - MANUAL
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT authentication for organization-scoped endpoints.

````