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

# Create Page

> Create a page



## OpenAPI

````yaml POST /v1/documentation/pages
openapi: 3.0.0
info:
  title: Poozle
  description: The poozle API description
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /v1/documentation/pages:
    post:
      tags:
        - Documentation
      description: Create a page
      operationId: PageController_createPage
      parameters:
        - name: raw
          required: false
          in: query
          description: Include raw response. When you want more data from the source
          schema:
            type: boolean
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePageBody'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageResponse'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiException'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiException'
components:
  schemas:
    CreatePageBody:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/PageBody'
      required:
        - data
    PageResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/Page'
      required:
        - data
    ApiException:
      type: object
      properties:
        statusCode:
          type: number
        message:
          type: string
        status:
          type: string
        error:
          type: string
        errors:
          type: object
        timestamp:
          type: string
        path:
          type: string
    PageBody:
      type: object
      properties:
        block_type:
          enum:
            - bookmark
            - breadcrumb
            - bulleted_list_item
            - callout
            - child_database
            - child_page
            - column
            - column_list
            - divider
            - embed
            - equation
            - file
            - heading_1
            - heading_2
            - heading_3
            - image
            - link_preview
            - link_to_page
            - numbered_list_item
            - paragraph
            - pdf
            - quote
            - synced_block
            - table
            - table_of_contents
            - table_row
            - template
            - to_do
            - toggle
            - unsupported
            - video
          type: string
          description: Type of the block
        content:
          description: Content of the block
          type: array
          items:
            $ref: '#/components/schemas/Content'
      required:
        - block_type
        - content
    Page:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier for the page
        parent_id:
          type: string
          description: Page/Block id of the parent
        title:
          type: string
          description: Title of the page
        created_by:
          type: string
          description: The account associated with the page
        created_at:
          type: string
          description: Time at which the page is created
        updated_at:
          type: string
          description: Last updated time
        updated_by:
          type: string
          description: The account associated with the last update
      required:
        - id
        - parent_id
        - title
        - created_by
        - created_at
        - updated_at
        - updated_by
    Content:
      type: object
      properties:
        annotations:
          $ref: '#/components/schemas/Annotations'
        plain_text:
          type: string
          description: Text for the block
        href:
          type: string
          description: 'Link for the block. Example blocks: Youtube, Bookmarks'
      required:
        - annotations
        - plain_text
        - href
    Annotations:
      type: object
      properties:
        bold:
          type: string
        italic:
          type: string
        strikethrough:
          type: string
        underline:
          type: string
        code:
          type: string
        color:
          type: string
      required:
        - bold
        - italic
        - strikethrough
        - underline
        - code
        - color

````