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

# Get an intake form

> Get metadata for a published form available to send. Does not return field definitions, submissions, or answers.



## OpenAPI

````yaml /api-reference/openapi.yaml get /v1/intake_forms/{id}
openapi: 3.0.1
info:
  title: Slant Public API V1
  version: v1
  description: Public API for creating and managing resources in Slant
  contact:
    name: Slant API Support
    email: api@slant.com
servers:
  - url: https://api.slant.app
security:
  - bearer: []
paths:
  /v1/intake_forms/{id}:
    get:
      tags:
        - Intake Forms
      summary: Get an intake form
      description: >-
        Get metadata for a published form available to send. Does not return
        field definitions, submissions, or answers.
      parameters:
        - name: id
          in: path
          description: The intake form ID
          required: true
          example: 123e4567-e89b-12d3-a456-426614174000
          schema:
            type: string
        - name: book_id
          in: query
          required: false
          schema:
            type: string
          description: The book using the form, including forms shared with that book.
      responses:
        '200':
          description: published form metadata
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntakeForm'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          description: unauthorized - missing or invalid token
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                  - detail
                properties:
                  error:
                    type: string
                    description: Error code
                    enum:
                      - token_missing
                      - token_invalid
                  detail:
                    oneOf:
                      - type: string
                        description: Human-readable error description
                      - type: array
                        items:
                          type: string
                        description: Array of validation error messages
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: not found
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                  - detail
                properties:
                  error:
                    type: string
                    description: Error code
                    enum:
                      - record_not_found
                  detail:
                    oneOf:
                      - type: string
                        description: Human-readable error description
                      - type: array
                        items:
                          type: string
                        description: Array of validation error messages
      security:
        - bearer: []
components:
  schemas:
    IntakeForm:
      type: object
      required:
        - id
        - book_id
        - name
        - record_type
        - created_at
        - updated_at
      properties:
        id:
          type: string
          description: The intake form ID
          example: form123xyz
        book_id:
          type: string
          description: The book ID
          example: book123xyz
        name:
          type: string
          description: The published form name
          example: Client onboarding
        description:
          type: string
          nullable: true
        record_type:
          type: string
          enum:
            - client
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      required:
        - error
        - detail
      properties:
        error:
          type: string
          description: Error code
        detail:
          type: string
          description: Human-readable error description
  responses:
    BadRequest:
      description: Bad Request - invalid JSON
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            invalid_json:
              value:
                error: invalid_json
                detail: Request body must be valid JSON
    Forbidden:
      description: Forbidden - client not found or user not linked
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            client_not_found:
              value:
                error: client_not_found
                detail: Invalid or inactive client
            user_not_linked:
              value:
                error: user_not_linked
                detail: No matching user for provided token
            principal_book_missing:
              value:
                error: principal_book_missing
                detail: User must have a principal book
            not_authorized:
              value:
                error: not_authorized
                detail: You are not permitted to perform this action
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: OAuth
      description: OAuth 2.0 Bearer Token from Clerk authentication

````

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