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

# Create Space Page

> Create a page under an existing page or space root. The response gives its actual address.



## OpenAPI

````yaml /openapi-v1.json post /api/v1/spaces/pages
openapi: 3.1.0
info:
  title: AGO Public API
  version: 1.0.0
  description: Programmatic access to your AGO workspace.
servers:
  - url: https://{tenant_id}.api.useago.com
    description: AGO Public API v1
    variables:
      tenant_id:
        default: your-tenant-id
        description: Your AGO tenant identifier
security: []
paths:
  /api/v1/spaces/pages:
    post:
      tags:
        - Spaces
      summary: Create Space Page
      description: >-
        Create a page under an existing page or space root. The response gives
        its actual address.
      operationId: core_api_v1_controllers_spaces_create_space_page
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SpacePageCreateIn'
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpaceWriteOut'
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    SpacePageCreateIn:
      properties:
        parent:
          description: >-
            Existing page or space root to create the page under: '<space>' for
            a space root, '<space>/<path>' for a page (e.g.
            'handbook/onboarding/first-week').
          title: Parent
          type: string
        title:
          description: Page title; the last segment of its path is derived from it.
          title: Title
          type: string
        content:
          default: ''
          title: Content
          type: string
      required:
        - parent
        - title
      title: SpacePageCreateIn
      type: object
    SpaceWriteOut:
      properties:
        object:
          default: space_page
          title: Object
          type: string
        id:
          title: Id
          type: string
        address:
          title: Address
          type: string
        space:
          title: Space
          type: string
        path:
          anyOf:
            - type: string
            - type: 'null'
          title: Path
        title:
          title: Title
          type: string
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
        content_hash:
          title: Content Hash
          type: string
        version_number:
          anyOf:
            - type: integer
            - type: 'null'
          title: Version Number
        created:
          title: Created
          type: boolean
        changed:
          title: Changed
          type: boolean
        replacements:
          anyOf:
            - type: integer
            - type: 'null'
          title: Replacements
      required:
        - id
        - address
        - space
        - title
        - content_hash
        - created
        - changed
      title: SpaceWriteOut
      type: object
  securitySchemes:
    ScopedAPIKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

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