---
updatedAt: 2026-02-19T13:57:38.000Z
agentTools:
  projectIndex: https://developers.happeo.com/llms.txt
---

# Retrieve a page

Retrieves a page by ID.

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "version": "0.0.1",
    "title": "Happeo Pages API",
    "description": "API to manage pages and page groups.",
    "license": {
      "name": "UNLICENSED"
    },
    "termsOfService": "https://www.happeo.com/tos",
    "contact": {
      "name": "API Support",
      "email": "support@happeo.com"
    }
  },
  "servers": [
    {
      "url": "https://api.happeo.com",
      "description": "Production server"
    },
    {
      "url": "https://api.unvrs.io",
      "description": "Staging server"
    }
  ],
  "components": {
    "securitySchemes": {
      "headerAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "x-happeo-apikey",
        "description": "API key passed in the headers."
      }
    },
    "schemas": {
      "Timestamps": {
        "type": "object",
        "description": "Timestamp information.",
        "nullable": true,
        "properties": {
          "updated": {
            "type": "string",
            "nullable": true,
            "example": "2024-02-10T12:00:00Z"
          },
          "created": {
            "type": "string",
            "nullable": true,
            "example": "2024-02-09T10:00:00Z"
          },
          "archived": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "Page": {
        "type": "object",
        "description": "Page object. When type is \"regular\", includes description, published, timestamps and optionally sections. When type is \"hyperlink\", includes uri and target instead. Sections are only present in single page group and direct page responses, not in list navigation.\n",
        "properties": {
          "urn": {
            "type": "string",
            "nullable": true,
            "example": "urn:happeo:page:1h9tm1rcnm01jod60e"
          },
          "id": {
            "type": "string",
            "example": "1h9tm1rcnm01jod60e"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "enum": [
              "regular",
              "hyperlink"
            ],
            "nullable": true,
            "example": "regular"
          },
          "archived": {
            "type": "boolean",
            "example": false
          },
          "revision": {
            "type": "integer",
            "nullable": true,
            "example": 1
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "published": {
            "type": "boolean",
            "description": "Regular pages only."
          },
          "timestamps": {
            "$ref": "#/components/schemas/Timestamps"
          },
          "uri": {
            "type": "string",
            "description": "Hyperlink pages only.",
            "nullable": true,
            "example": "https://example.com"
          },
          "target": {
            "type": "string",
            "description": "Hyperlink pages only.",
            "nullable": true,
            "example": "_blank"
          },
          "sections": {
            "type": "array",
            "description": "Present in full page responses only, not in list navigation.",
            "items": {
              "type": "object"
            },
            "nullable": true
          }
        }
      }
    },
    "parameters": {
      "pageId": {
        "name": "pageId",
        "in": "path",
        "description": "The page ID.",
        "required": true,
        "schema": {
          "type": "string",
          "example": "1h9tm1rcnm01jod60e"
        }
      }
    },
    "responses": {
      "PageResponse": {
        "description": "A page.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Page"
            }
          }
        }
      },
      "ForbiddenResponse": {
        "description": "Access denied. The user does not have permission to access this resource.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string",
                  "example": "Access denied."
                }
              }
            }
          }
        }
      },
      "NotFoundResponse": {
        "description": "The requested resource was not found.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string",
                  "example": "Not found."
                }
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "headerAuth": []
    }
  ],
  "paths": {
    "/pages/{pageId}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/pageId"
        }
      ],
      "get": {
        "summary": "Retrieve a page",
        "description": "Retrieves a page by ID.",
        "operationId": "getPage",
        "responses": {
          "200": {
            "$ref": "#/components/responses/PageResponse"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          }
        },
        "tags": [
          "Pages"
        ]
      }
    }
  },
  "tags": [
    {
      "name": "Pages",
      "description": "Page related operations."
    }
  ]
}
```