OpenProof Questionnaires API

The questionnaires API from OpenProof — 7 operation(s) for questionnaires.

GitHub OpenAPI

Operations 9

GET /questionnaires List Questionnaires #
POST /questionnaires Create Questionnaire #
POST /questionnaires/upload Upload Questionnaire #
GET /questionnaires/{qid} Get Questionnaire #
DELETE /questionnaires/{qid} Delete Questionnaire #
PATCH /questionnaires/{qid}/items/{item_id} Update Item #
POST /questionnaires/{qid}/approve-ready Approve Ready #
POST /questionnaires/{qid}/refresh Refresh #
GET /questionnaires/{qid}/export Export #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/openproof-io:openproof-io-questionnaires-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

openproof-io-questionnaires-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Openproof Io Questionnaires API
  version: 1.0.0
  description: 'Operations tagged questionnaires across 2 of this provider''s published API definitions: openapi.json, openproof-io-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Questionnaires
paths:
  /questionnaires:
    get:
      tags:
      - Questionnaires
      summary: List Questionnaires
      operationId: list_questionnaires_questionnaires_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
    post:
      tags:
      - Questionnaires
      summary: Create Questionnaire
      operationId: create_questionnaire_questionnaires_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /questionnaires/upload:
    post:
      tags:
      - Questionnaires
      summary: Upload Questionnaire
      operationId: upload_questionnaire_questionnaires_upload_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_upload_questionnaire_questionnaires_upload_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /questionnaires/{qid}:
    get:
      tags:
      - Questionnaires
      summary: Get Questionnaire
      operationId: get_questionnaire_questionnaires__qid__get
      security:
      - HTTPBearer: []
      parameters:
      - name: qid
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Qid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Questionnaires
      summary: Delete Questionnaire
      operationId: delete_questionnaire_questionnaires__qid__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: qid
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Qid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /questionnaires/{qid}/items/{item_id}:
    patch:
      tags:
      - Questionnaires
      summary: Update Item
      operationId: update_item_questionnaires__qid__items__item_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: qid
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Qid
      - name: item_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Item Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ItemBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /questionnaires/{qid}/approve-ready:
    post:
      tags:
      - Questionnaires
      summary: Approve Ready
      description: Approve every answer drawn from the business's own records in one step (the ones marked Ready). Needs-review answers stay open.
      operationId: approve_ready_questionnaires__qid__approve_ready_post
      security:
      - HTTPBearer: []
      parameters:
      - name: qid
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Qid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /questionnaires/{qid}/refresh:
    post:
      tags:
      - Questionnaires
      summary: Refresh
      description: Re-draft the answers that are not approved and not edited, from the records as they are now.
      operationId: refresh_questionnaires__qid__refresh_post
      security:
      - HTTPBearer: []
      parameters:
      - name: qid
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Qid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /questionnaires/{qid}/export:
    get:
      tags:
      - Questionnaires
      summary: Export
      operationId: export_questionnaires__qid__export_get
      security:
      - HTTPBearer: []
      parameters:
      - name: qid
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Qid
      - name: format
        in: query
        required: false
        schema:
          type: string
          default: xlsx
          title: Format
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ItemBody:
      properties:
        answer:
          anyOf:
          - type: string
          - type: 'null'
          title: Answer
        approved:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Approved
      type: object
      title: ItemBody
    Body_upload_questionnaire_questionnaires_upload_post:
      properties:
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
      type: object
      required:
      - file
      title: Body_upload_questionnaire_questionnaires_upload_post
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CreateBody:
      properties:
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        text:
          type: string
          title: Text
      type: object
      required:
      - text
      title: CreateBody
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- openapi.json
- openproof-io-openapi.json
x-provenance:
  method: harvested
  publisher: OpenProof
  source: https://api.openproof.io/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)