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

# Get a form

> Returns the form plus its fields. Use each field's `id` to key the `answers` object when calling Create Form Response.




## OpenAPI

````yaml /openapi.yaml get /forms/{form_id}
openapi: 3.1.0
info:
  title: Humdov Developer API
  version: '1.0'
  description: >
    Read and write records in a Humdov organization. Every request is
    authenticated with an API key (`X-Api-Key` header) created from the Humdov
    dashboard's Developer API page. See the Guides tab for authentication,
    pagination, rate limits, and the error format.
servers:
  - url: https://api.humdov.app/v1
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Members
  - name: Tags
  - name: Prayer Requests
  - name: Forms
  - name: Form Responses
  - name: Events
  - name: Services
  - name: Attendance
  - name: Departments
paths:
  /forms/{form_id}:
    parameters:
      - $ref: '#/components/parameters/FormId'
    get:
      tags:
        - Forms
      summary: Get a form
      description: >
        Returns the form plus its fields. Use each field's `id` to key the
        `answers` object when calling Create Form Response.
      operationId: get-form
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Form'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      security:
        - ApiKeyAuth:
            - forms.view
components:
  parameters:
    FormId:
      name: form_id
      in: path
      required: true
      schema:
        type: string
  schemas:
    Form:
      type: object
      properties:
        id:
          type: integer
        title:
          type: string
        description:
          type: string
          nullable: true
        is_published:
          type: boolean
        accepting_response:
          type: boolean
        fields:
          type: array
          items:
            $ref: '#/components/schemas/FormField'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    FormField:
      type: object
      properties:
        id:
          type: integer
          description: Use this id as the key in a form response's `answers`
        question:
          type: string
        field_type:
          type: string
          enum:
            - short_answer
            - paragraph
            - number
            - email
            - dropdown
            - multiple_choice
            - single_choice
            - phone_number
            - date
            - time
            - scale
            - contact
            - payment
            - file_upload
        is_required:
          type: boolean
        description:
          type: string
          nullable: true
        options:
          type: array
          description: Present for dropdown/single_choice/multiple_choice fields.
          items:
            $ref: '#/components/schemas/FormFieldOption'
        collects:
          type: object
          description: >-
            Present for contact fields — which parts this field actually
            collects.
          properties:
            first_name:
              type: boolean
            last_name:
              type: boolean
            email:
              type: boolean
            phone:
              type: boolean
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: not_found
            message:
              type: string
              example: Member not found
    FormFieldOption:
      type: object
      properties:
        value:
          type: string
        active:
          type: boolean
  responses:
    Unauthorized:
      description: Missing, invalid, revoked, or expired API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The API key doesn't have the required scope
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: The record doesn't exist, or doesn't belong to your org
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Too many requests
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds until the rate-limit window resets.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: >
        Create a key from the Humdov dashboard's Developer API page. See the
        Authentication guide for scopes and lifecycle.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.