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

# Add an automated form to the library

> Un-hide a form built by the "Add fillable fields to a PDF" automation, once its run is saved, so it is listed in Library > Forms like any other form.



## OpenAPI

````yaml /api-reference/cx/swagger.json post /library/forms/{form}/_add_to_library
openapi: 3.0.0
info:
  description: CX API.
  title: CX API
  contact:
    name: API Support
    url: https://stax.ai
    email: support@stax.ai
  version: '1.0'
servers:
  - url: https://api.cx.stax.ai
security: []
paths:
  /library/forms/{form}/_add_to_library:
    post:
      tags:
        - library
      summary: Add an automated form to the library
      description: >-
        Un-hide a form built by the "Add fillable fields to a PDF" automation,
        once its run is saved, so it is listed in Library > Forms like any other
        form.
      parameters:
        - description: Form ID
          name: form
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Added
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Invalid form ID
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '404':
          description: No saved, hidden automated form with that ID
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      description: CX API key. Create one in CX under Settings → Advanced → API Keys.
      in: header
      name: x-api-key
      type: apiKey

````

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