> ## Documentation Index
> Fetch the complete documentation index at: https://conductorone-docs-google-workspace-action-examples.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Feedback

> Create feedback with client diagnostics, Datadog correlation context, and
 up to five WebP screenshots. Gated by the feedback feature flag; the
 submitter's identity is taken from the session, not the request.



## OpenAPI

````yaml https://spec.speakeasy.com/conductor-one/conductorone/my-source-with-code-samples post /api/v1/feedback
openapi: 3.1.0
info:
  description: The C1 API is a HTTP API for managing C1 resources.
  title: C1 API
  version: 0.1.0-alpha
servers:
  - description: The C1 API server for the current tenant.
    url: https://{tenantDomain}.conductor.one
    variables:
      tenantDomain:
        default: example
        description: The domain of the tenant to use for this request.
security:
  - bearerAuth: []
    oauth: []
paths:
  /api/v1/feedback:
    post:
      tags:
        - Feedback
      summary: Create Feedback
      description: >-
        Create feedback with client diagnostics, Datadog correlation context,
        and
         up to five WebP screenshots. Gated by the feedback feature flag; the
         submitter's identity is taken from the session, not the request.
      operationId: c1.api.feedback.v1.FeedbackService.CreateFeedback
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/c1.api.feedback.v1.CreateFeedbackRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/c1.api.feedback.v1.CreateFeedbackResponse'
          description: Successful response
components:
  schemas:
    c1.api.feedback.v1.CreateFeedbackRequest:
      description: The CreateFeedbackRequest message.
      properties:
        clientContext:
          oneOf:
            - $ref: >-
                #/components/schemas/c1.api.feedback.v1.CreateFeedbackRequest.ClientContext
            - type: 'null'
        datadogContext:
          oneOf:
            - $ref: >-
                #/components/schemas/c1.api.feedback.v1.CreateFeedbackRequest.DatadogContext
            - type: 'null'
        description:
          description: The description field.
          type: string
        mode:
          description: The mode field.
          enum:
            - MODE_UNSPECIFIED
            - MODE_FEEDBACK_ONLY
            - MODE_INVESTIGATE
            - MODE_INVESTIGATE_AND_FIX
          type: string
          x-speakeasy-unknown-values: allow
        screenshots:
          description: The screenshots field.
          items:
            $ref: >-
              #/components/schemas/c1.api.feedback.v1.CreateFeedbackRequest.Screenshot
          type:
            - array
            - 'null'
      title: Create Feedback Request
      type: object
      x-speakeasy-name-override: CreateFeedbackRequest
    c1.api.feedback.v1.CreateFeedbackResponse:
      description: The CreateFeedbackResponse message.
      properties:
        id:
          description: The stored feedback ID.
          type: string
        ticketUrl:
          description: >-
            URL of the task created for this feedback. Empty while task delivery
            is
             unavailable or has not succeeded.
          type: string
      title: Create Feedback Response
      type: object
      x-speakeasy-name-override: CreateFeedbackResponse
    c1.api.feedback.v1.CreateFeedbackRequest.ClientContext:
      description: The ClientContext message.
      properties:
        agentConversationId:
          description: The agentConversationId field.
          type: string
        agentSessionId:
          description: The agentSessionId field.
          type: string
        appVersion:
          description: The appVersion field.
          type: string
        featureFlags:
          description: The featureFlags field.
          items:
            type: string
          type:
            - array
            - 'null'
        locale:
          description: The locale field.
          type: string
        route:
          description: The route field.
          type: string
        url:
          description: The url field.
          type: string
        userAgent:
          description: The userAgent field.
          type: string
        viewport:
          description: The viewport field.
          type: string
      title: Client Context
      type: object
      x-speakeasy-name-override: ClientContext
    c1.api.feedback.v1.CreateFeedbackRequest.DatadogContext:
      description: The DatadogContext message.
      properties:
        rumSessionId:
          description: The rumSessionId field.
          type: string
        rumViewId:
          description: The rumViewId field.
          type: string
        rumViewName:
          description: The rumViewName field.
          type: string
        traceIds:
          description: The traceIds field.
          items:
            type: string
          type:
            - array
            - 'null'
        windowEnd:
          format: date-time
          type:
            - string
            - 'null'
        windowStart:
          format: date-time
          type:
            - string
            - 'null'
      title: Datadog Context
      type: object
      x-speakeasy-name-override: DatadogContext
    c1.api.feedback.v1.CreateFeedbackRequest.Screenshot:
      description: The Screenshot message.
      properties:
        contentType:
          description: The contentType field.
          type: string
        data:
          description: The data field.
          format: base64
          type: string
        kind:
          description: The kind field.
          enum:
            - KIND_UNSPECIFIED
            - KIND_SCREEN
            - KIND_REGION
            - KIND_UPLOAD
          type: string
          x-speakeasy-unknown-values: allow
        route:
          description: >-
            Parameterized route the shot was taken on — never a raw URL.
            Optional.
          type: string
      title: Screenshot
      type: object
      x-speakeasy-name-override: Screenshot
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http
    oauth:
      description: >-
        This API uses OAuth2 with the Client Credential flow.

        Client Credentials must be sent in the BODY, not the headers.

        For an example of how to implement this, refer to the
        [c1TokenSource.Token()](https://github.com/ConductorOne/conductorone-sdk-go/blob/3375fe7c0126d17e7ec4e711693dee7b791023aa/token_source.go#L101-L187)
        function.
      flows:
        clientCredentials:
          scopes: {}
          tokenUrl: /auth/v1/token
      type: oauth2

````