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

# Fetch form



## OpenAPI

````yaml externals-reference/generated.yaml get /v1/forms/{id}
openapi: 3.1.0
info:
  description: >
    For more information about Sakari, visit
    [https://sakari.io](https://sakari.io).
  version: 1.0.0
  title: Sakari
  termsOfService: https://sakari.io/terms-service.html
  contact:
    email: help@sakari.io
servers:
  - description: Sakari Externals API
    url: https://external.sakari.io
security: []
tags:
  - name: meetings
    description: Book, reschedule or cancel meetings
paths:
  /v1/forms/{id}:
    get:
      tags:
        - forms
      summary: Fetch form
      operationId: forms.fetch
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FormResponse'
        4XX:
          $ref: '#/components/responses/4XX'
        5XX:
          $ref: '#/components/responses/5XX'
components:
  schemas:
    FormResponse:
      allOf:
        - $ref: '#/components/schemas/BasicResponse'
        - type: object
          properties:
            data:
              $ref: '#/components/schemas/Form'
      required:
        - data
    BasicResponse:
      type: object
      properties:
        success:
          type: boolean
      required:
        - success
    Form:
      type: object
      properties:
        id:
          type: string
          readOnly: true
        name:
          type: string
        active:
          type: string
          format: date-time
          readOnly: true
        views:
          type: object
          additionalProperties:
            type: array
            items:
              $ref: '#/components/schemas/FormField'
        styling:
          type: object
          additionalProperties:
            type: string
        settings:
          $ref: '#/components/schemas/FormSettings'
      required:
        - id
        - name
    ErrorResponse:
      allOf:
        - $ref: '#/components/schemas/BasicResponse'
        - type: object
          properties:
            error:
              $ref: '#/components/schemas/Error'
      required:
        - error
    FormField:
      type: object
      properties:
        name:
          type: string
        color:
          type: string
        bgColor:
          type: string
        value:
          type: string
        type:
          type: string
        mandatory:
          type: boolean
        size:
          type: string
      required:
        - name
        - type
    FormSettings:
      type: object
      properties:
        list:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
          required:
            - id
        trigger:
          type: number
        repeat:
          type: number
        display:
          type: object
          properties:
            start:
              type: string
              format: date-time
            end:
              type: string
              format: date-time
    Error:
      type: object
      properties:
        code:
          type: string
          example: CONT-010
        description:
          type: string
          example: Contact has requested no further communication
      required:
        - code
        - description
  responses:
    4XX:
      description: invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    5XX:
      description: invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'

````