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

# Get a CSAT rule by ID



## OpenAPI

````yaml get /v1/csat/rules/{id}
openapi: 3.0.0
info:
  title: Thena Platform
  description: The Thena Platform API description
  version: 1.0.0
  contact: {}
servers:
  - url: https://platform.thena.ai
    description: Platform
  - url: http://localhost:8000
    description: Local
security:
  - ApiKey: []
tags: []
paths:
  /v1/csat/rules/{id}:
    get:
      tags:
        - CSAT
      summary: Get a CSAT rule by ID
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Success - CSAT rule fetched successfully
          content:
            application/json:
              example:
                data:
                  ok: true
                  data:
                    id: e4d2a5b1-9c3f-4c8d-b1a2-3e4f5a6b7c8d
                    name: High Priority Ticket Survey
                    description: Sends CSAT surveys to customers with high priority tickets
                    isActive: true
                    priority: 10
                    allFilters:
                      ticket:
                        standardFields:
                          - field: status
                            operator: '='
                            value: open
                        customFields: []
                      account:
                        standardFields: []
                        customFields: []
                      contact:
                        standardFields: []
                        customFields: []
                    anyFilters:
                      ticket:
                        standardFields:
                          - field: priority
                            operator: '='
                            value: high
                        customFields: []
                      account:
                        standardFields: []
                        customFields: []
                      contact:
                        standardFields: []
                        customFields: []
                    triggerConfig:
                      enabled: true
                      deliveryChannel: email
                      delayInMinutes: 0
                    feedbackConfig:
                      enabled: true
                      feedbackType: star
                      includeCommentField: true
                      brandingColor: '#0284c7'
                    createdAt: '2023-08-01T12:00:00Z'
                    updatedAt: '2023-08-02T14:30:00Z'
                status: true
                message: CSAT rule fetched successfully
                timestamp: '2025-07-15T11:38:09.817Z'
        '401':
          description: Unauthorized
          content:
            application/json:
              example:
                statusCode: 401
                message: Unauthorized
                error: Unauthorized
        '403':
          description: Forbidden
          content:
            application/json:
              example:
                statusCode: 403
                message: Forbidden
                error: Forbidden
        '404':
          description: CSAT rule not found
          content:
            application/json:
              example:
                statusCode: 404
                message: CSAT rule with ID rule123 not found
                error: Not Found
        '429':
          description: Too many requests!
        '500':
          description: Internal Server Error
          content:
            application/json:
              example:
                statusCode: 500
                message: Internal Server Error
                error: Internal Server Error
        '503':
          description: Service Unavailable
          content:
            application/json:
              example:
                statusCode: 503
                message: Service Unavailable
                error: Service Unavailable
components:
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Enter your API key '

````