---
updatedAt: 2026-04-08T10:21:32.000Z
agentTools:
  projectIndex: https://developer.goacoustic.com/acoustic-content/llms.txt
---

# Get a page by unique id.

Returns the page metadata specified by unique `page-id`. This API is equalivent to `/sites/pages/{site-id/pages{page-id}` but does not require a `site-id`.

If the page is a root page then no parentId will be returned in the response.
<br />User roles: admin, manager, editor, viewer

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.142",
    "x-ibm-name": "ibm-watson-content-hub-api",
    "title": "Acoustic Content API",
    "description": "Copyright © Acoustic, L.P. 2019"
  },
  "tags": [
    {
      "name": "Authoring sites",
      "description": "Use the Content authoring sites service Rest APIs to work with sites. Sites are comprised of a site metadata and a hierarchy of pages. You can retrieve or update site metadata and create, read, update, and delete site pages belonging to a site. The out-of-the-box site has an ID of 'default'.\n"
    }
  ],
  "paths": {
    "/authoring/v1/sites/pages/{page-id}": {
      "get": {
        "x-ibm-dx-security-user-roles": [
          "admin",
          "manager",
          "editor",
          "viewer"
        ],
        "summary": "Get a page by unique id.",
        "description": "Returns the page metadata specified by unique `page-id`. This API is equalivent to `/sites/pages/{site-id/pages{page-id}` but does not require a `site-id`.\n\nIf the page is a root page then no parentId will be returned in the response.\n<br />User roles: admin, manager, editor, viewer",
        "parameters": [
          {
            "name": "page-id",
            "in": "path",
            "description": "ID of page.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "fields",
            "in": "query",
            "description": "Reduce the returned page metadata down to just the specified fields.\nFields specified by a comma seperated list of field names and should only be used once in query string.\nTo only retrieve `rev` and `lastModified` this parameter should look like `fields=rev,lastModified`.\n",
            "required": false,
            "style": "form",
            "explode": false,
            "schema": {
              "type": "string",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "include",
            "in": "query",
            "description": "Specify additional fields to include with each result. The following fields can be specified to be included in the page item: 'hierarchicalPath', 'route'.\nYou can specify multiple fields as a comma-separated value. For example, include=hierarchicalPath,route.\nThe hierarchicalPath field is a concatenation of each ancestor page name field and the route field is a concatenation of each ancestor page segment field.\n",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "succcess.",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Page Metadata",
                  "description": "Page Metadata",
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The ID of the page item."
                    },
                    "rev": {
                      "type": "string",
                      "description": "The current revision of the document."
                    },
                    "name": {
                      "type": "string",
                      "description": "The name of the page item."
                    },
                    "contentId": {
                      "type": "string",
                      "description": "The ID of the page content item this item represents."
                    },
                    "contentTypeId": {
                      "type": "string",
                      "description": "The ID of the page content type."
                    },
                    "position": {
                      "type": "string",
                      "description": "Position relative to sibling pages giving the order of the pages. Position is an integer value starting at 0."
                    },
                    "description": {
                      "type": "string",
                      "description": "Page description."
                    },
                    "layoutId": {
                      "type": "string",
                      "description": "Page layout template ID."
                    },
                    "segment": {
                      "type": "string",
                      "description": "Friendly URL segment."
                    },
                    "title": {
                      "type": "string",
                      "description": "Page title."
                    },
                    "parentId": {
                      "type": "string",
                      "description": "Not present if root page otherwise id of parent page"
                    },
                    "classification": {
                      "type": "string",
                      "description": "This is always `page`"
                    },
                    "lastModified": {
                      "type": "string",
                      "description": "The last modified date of this page in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only."
                    },
                    "lastModifierId": {
                      "type": "string",
                      "description": "This is the user id of the user that modified the page. This field is read only"
                    },
                    "created": {
                      "type": "string",
                      "description": "The creation date of this page in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only"
                    },
                    "creatorId": {
                      "type": "string",
                      "description": "This is the user id of the user that created the page. This field is read only."
                    },
                    "hideFromNavigation": {
                      "type": "boolean",
                      "description": "This controls the visibility of the page in the site navigation menu. If set to `true` this page is hidden. If set to `true` on a parent page, it will override the corresponding flags in all descendant pages. Therefore, hiding a page will hide all its descendants in the site navigation menu."
                    }
                  }
                },
                "examples": {
                  "response": {
                    "value": {
                      "id": "aw67771c-ec05-4671-951b-18fqwq53f2d",
                      "rev": "20-axz19cf45c00a55eda54d6480976b3e1",
                      "name": "products",
                      "segment": "products",
                      "contentTypeId": "dffa969c-32fc-4079-8a57-eb85ad136ae8",
                      "description": "products page",
                      "layoutId": "13c46fbe-db14-4a24-859f-f4b847a2b843",
                      "title": "Products Page",
                      "contentId": "76sd88a6-31d8-4e47-ad5f-da932081b68d",
                      "parentId": "1067771c-ec05-4671-951b-18f503953f2d",
                      "position": 0,
                      "hideFromNavigation": false
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "title": "ErrorMessage",
                  "description": "ErrorMessage",
                  "type": "object",
                  "properties": {
                    "service": {
                      "type": "string",
                      "description": "Service name."
                    },
                    "requestId": {
                      "type": "string",
                      "description": "Request ID."
                    },
                    "errors": {
                      "type": "array",
                      "items": {
                        "title": "Error",
                        "description": "Error",
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          },
                          "level": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "cause": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "integer"
                              },
                              "message": {
                                "type": "string"
                              }
                            }
                          },
                          "locale": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "response": {
                    "value": {
                      "service": "prod-authoring-sites",
                      "requestId": "455478465455511",
                      "errors": [
                        {
                          "code": 2011,
                          "message": "Invalid page ID parameter provided.",
                          "level": "ERROR",
                          "description": "The page ID provided is missing or invalid. The page ID cannot be empty or contain spaces. Provide a valid page ID and try again.",
                          "locale": "en"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "title": "ErrorMessage",
                  "description": "ErrorMessage",
                  "type": "object",
                  "properties": {
                    "service": {
                      "type": "string",
                      "description": "Service name."
                    },
                    "requestId": {
                      "type": "string",
                      "description": "Request ID."
                    },
                    "errors": {
                      "type": "array",
                      "items": {
                        "title": "Error",
                        "description": "Error",
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          },
                          "level": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "cause": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "integer"
                              },
                              "message": {
                                "type": "string"
                              }
                            }
                          },
                          "locale": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "response": {
                    "value": {
                      "service": "prod-authoring-sites",
                      "requestId": "455478465455511",
                      "errors": [
                        {
                          "code": 1016,
                          "message": "Problem accessing database.",
                          "level": "ERROR",
                          "description": "Problem accessing database. Try again or contact Acoustic support if problem persists.",
                          "locale": "en"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "title": "ErrorMessage",
                  "description": "ErrorMessage",
                  "type": "object",
                  "properties": {
                    "service": {
                      "type": "string",
                      "description": "Service name."
                    },
                    "requestId": {
                      "type": "string",
                      "description": "Request ID."
                    },
                    "errors": {
                      "type": "array",
                      "items": {
                        "title": "Error",
                        "description": "Error",
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          },
                          "level": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "cause": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "integer"
                              },
                              "message": {
                                "type": "string"
                              }
                            }
                          },
                          "locale": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "response": {
                    "value": {
                      "service": "prod-authoring-sites",
                      "requestId": "455478465455511",
                      "errors": [
                        {
                          "code": 1016,
                          "message": "Problem accessing database.",
                          "level": "ERROR",
                          "description": "Problem accessing database. Try again or contact Acoustic support if problem persists.",
                          "locale": "en"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "title": "ErrorMessage",
                  "description": "ErrorMessage",
                  "type": "object",
                  "properties": {
                    "service": {
                      "type": "string",
                      "description": "Service name."
                    },
                    "requestId": {
                      "type": "string",
                      "description": "Request ID."
                    },
                    "errors": {
                      "type": "array",
                      "items": {
                        "title": "Error",
                        "description": "Error",
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          },
                          "level": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "cause": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "integer"
                              },
                              "message": {
                                "type": "string"
                              }
                            }
                          },
                          "locale": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "response": {
                    "value": {
                      "service": "prod-authoring-sites",
                      "requestId": "455478465455511",
                      "errors": [
                        {
                          "code": 2012,
                          "message": "Page not found for ID: dummyId",
                          "level": "ERROR",
                          "description": "A page with the specified ID was not found in the system. Provide a valid ID and try again.",
                          "locale": "en"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "title": "ErrorMessage",
                  "description": "ErrorMessage",
                  "type": "object",
                  "properties": {
                    "service": {
                      "type": "string",
                      "description": "Service name."
                    },
                    "requestId": {
                      "type": "string",
                      "description": "Request ID."
                    },
                    "errors": {
                      "type": "array",
                      "items": {
                        "title": "Error",
                        "description": "Error",
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          },
                          "level": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "cause": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "integer"
                              },
                              "message": {
                                "type": "string"
                              }
                            }
                          },
                          "locale": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "response": {
                    "value": {
                      "service": "prod-authoring-sites",
                      "requestId": "455478465455511",
                      "errors": [
                        {
                          "code": 1018,
                          "message": "Temporarily unable to access the database.",
                          "level": "ERROR",
                          "description": "Temporarily unable to access the database. Try again or contact Acoustic support if problem persists.",
                          "locale": "en"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error",
            "content": {
              "application/json": {
                "schema": {
                  "title": "ErrorMessage",
                  "description": "ErrorMessage",
                  "type": "object",
                  "properties": {
                    "service": {
                      "type": "string",
                      "description": "Service name."
                    },
                    "requestId": {
                      "type": "string",
                      "description": "Request ID."
                    },
                    "errors": {
                      "type": "array",
                      "items": {
                        "title": "Error",
                        "description": "Error",
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          },
                          "level": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "cause": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "integer"
                              },
                              "message": {
                                "type": "string"
                              }
                            }
                          },
                          "locale": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "response": {
                    "value": {
                      "service": "prod-authoring-sites",
                      "requestId": "455478465455511",
                      "errors": [
                        {
                          "code": 5004,
                          "message": "Unexpected error occurred.",
                          "level": "ERROR",
                          "description": "Unable to complete the request due to an unexpected error. Try again or contact Acoustic support if problem persists.",
                          "locale": "en"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Authoring sites"
        ]
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```