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

# Get user's question responses

> Retrieve responses submitted by the authenticated user, optionally filtered by question IDs



## OpenAPI

````yaml /api-reference/openapi.documented.json get /api/loyalty/questions_responses
openapi: 3.0.2
info:
  title: Snag Solutions - API Docs
  description: >-
    Documentation for Loyalty & Socials APIs. Some endpoints require an API key
    to authenticate. To obtain a key, reach out to the Snag Solutions team at
    support@snagsolutions.io.
  version: '0.1'
servers:
  - url: https://admin.snagsolutions.io/
    description: Production
security: []
paths:
  /api/loyalty/questions_responses:
    get:
      tags:
        - Question
      summary: Get user's question responses
      description: >-
        Retrieve responses submitted by the authenticated user, optionally
        filtered by question IDs
      parameters:
        - name: questionsId
          in: query
          description: UUID(s) of the questions to filter responses
          schema:
            oneOf:
              - type: string
                format: uuid
              - type: array
                items:
                  type: string
                  format: uuid
            title: Question IDs
            example:
              - 123e4567-e89b-12d3-a456-426614174001
        - name: websiteId
          in: query
          description: UUID of the website to filter responses
          schema:
            type: string
            format: uuid
            title: Website ID
            example: 123e4567-e89b-12d3-a456-426614174001
        - name: organizationId
          in: query
          description: UUID of the organization to filter responses
          schema:
            type: string
            format: uuid
            title: Organization ID
            example: 123e4567-e89b-12d3-a456-426614174001
        - name: userId
          in: query
          description: UUID of the user to filter responses
          schema:
            type: string
            format: uuid
            title: User ID
            example: 123e4567-e89b-12d3-a456-426614174001
        - name: limit
          in: query
          description: Maximum number of records to return (max 100)
          schema:
            default: 10
            type: integer
            minimum: 1
            maximum: 100
            title: Limit
            example: 50
        - name: startingAfter
          in: query
          description: Pagination cursor to start after a specific resource ID
          schema:
            type: string
            format: uuid
            title: Starting After
            example: 123e4567-e89b-12d3-a456-426614174010
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        userId:
                          type: string
                          format: uuid
                        loyaltyQuestionId:
                          type: string
                          format: uuid
                        loyaltyQuestionChoiceId:
                          type: string
                          format: uuid
                        createdAt:
                          type: string
                          format: date-time
                        isCorrect:
                          type: boolean
                        question:
                          type: object
                          properties:
                            text:
                              type: string
                            loyaltyQuestionChoices:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    format: uuid
                                  text:
                                    type: string
                                  isCorrect:
                                    type: boolean
                                required:
                                  - id
                                  - text
                                  - isCorrect
                          required:
                            - text
                            - loyaltyQuestionChoices
                      required:
                        - id
                        - userId
                        - loyaltyQuestionId
                        - loyaltyQuestionChoiceId
                        - createdAt
                        - isCorrect
                        - question
                      title: Question Response With Details
                      description: >-
                        Response details including the question and choice
                        information
                  hasNextPage:
                    type: boolean
                    title: Has Next Page
                    description: Indicates if there are more pages of results available
                required:
                  - data
                  - hasNextPage
                title: Question Responses Result
                description: List of question responses with details
        '401':
          description: '401'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
        '500':
          description: '500'
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    title: Success
                    description: Indicates operation success
                    example: false
                  message:
                    type: string
                    title: Message
                    description: Error message
                    example: Internal server error
                  debugInfo:
                    type: string
                    title: Debug Info
                    description: Optional debug information
                    example: Stack trace or additional error details
                required:
                  - success
                  - message
                title: Internal Server Error Response
                description: Schema for internal server error response
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

````