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

# Get questionnaire answers

> Returns answers to a specific questionnaire for an application



## OpenAPI

````yaml /api-reference/openapi.json get /application/{applicationid}/questionnaire/{questionnaireid}
openapi: 3.0.3
info:
  title: JobAffinity REST API
  version: '1.12'
  description: >
    JobAffinity REST API for managing jobs, candidates, applications, and
    recruitment processes.


    ## Authentication

    All endpoints require HTTP Basic Authentication.


    ## Versioning

    Current version: 1.12


    See `/restapi/changelog` for version history and changes.
  contact:
    name: JobAffinity API Support
servers:
  - url: https://jobaffinity.fr/restapi/v1
    description: REST API v1
  - url: https://jobaffinity.fr/restapi
    description: REST API root (for changelog)
security:
  - basicAuth: []
tags:
  - name: API Info
    description: API metadata and changelog
  - name: Jobs
    description: Job listings and details
  - name: Candidates
    description: Candidate information
  - name: Applications
    description: Job applications
  - name: Processes
    description: Recruitment processes and steps
  - name: Notes
    description: Candidate notes
  - name: Questionnaires
    description: Questionnaire answers
  - name: Webhooks
    description: Webhook tasks
  - name: Job Application Submission
    description: >-
      Submit candidate applications to a job posting via the apply URL provided
      in the job feed. The authentication token is embedded in the URL — no
      additional credentials are required.
paths:
  /application/{applicationid}/questionnaire/{questionnaireid}:
    get:
      tags:
        - Questionnaires
      summary: Get questionnaire answers
      description: Returns answers to a specific questionnaire for an application
      operationId: getQuestionnaireAnswers
      parameters:
        - name: applicationid
          in: path
          required: true
          description: Application ID
          schema:
            type: integer
        - name: questionnaireid
          in: path
          required: true
          description: Questionnaire ID
          schema:
            type: integer
      responses:
        '200':
          description: Questionnaire answers
          content:
            application/json:
              schema:
                type: object
                properties:
                  _self:
                    type: string
                    format: uri
                  _schema:
                    type: string
                    format: uri
                  _status:
                    type: string
                    enum:
                      - OK
                      - INVALID
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/QuestionnaireAnswer'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '404':
          $ref: '#/components/responses/NotFoundError'
components:
  schemas:
    QuestionnaireAnswer:
      type: object
      properties:
        question:
          type: object
          properties:
            id:
              type: integer
            label:
              type: string
            type:
              type: string
              enum:
                - FREE_TEXT
                - ONE_CHOICE
                - SEVERAL_CHOICES
        answer:
          type: object
          properties:
            text:
              type: string
              nullable: true
            choices:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: integer
                  value:
                    type: string
  responses:
    UnauthorizedError:
      description: Authentication information is missing or invalid
      headers:
        WWW-Authenticate:
          schema:
            type: string
    NotFoundError:
      description: The specified resource was not found
      content:
        application/json:
          schema:
            type: object
            properties:
              _status:
                type: string
                enum:
                  - INVALID
              error:
                type: string
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic Authentication with API credentials

````