> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://customerhub.com/api/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://customerhub.com/api/_mcp/server.

# Show Page (by ID)

GET https://api.customerhub.com/web_api/pages/{id}

Fetch a page's content. This route shares its action with `GET /page` and resolves the page from the `permalink` query parameter — the `:id` path segment is accepted but not used for lookup. Prefer `GET /page?permalink=`.

**Authentication:** Public — a Bearer token is optional. Without one, only pages the app exposes to visitors resolve.

**Query parameters:**
- `permalink` (required) — The page permalink, e.g. `/product-slug/page-slug`

**Response:**
- `item` — The page as computed for the current member (availability, permalink, completion state)
- `page_version` — The page's draft version content
- `user_product`, `collection` — Always `null` on this route

**Errors:**
- `401` — `Access denied`: the permalink does not resolve to a page available to the current member, or `permalink` is missing

Reference: https://customerhub.com/api/api-reference/pages/show-page-by-id

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `id` (string, required) — Page ID

### Query parameters

- `permalink` (string, optional) — Page permalink; the path id is not used for lookup

## Response

### 200

OK

## Examples

**Response**

```json
{
  "data": {
    "collection": null,
    "compiled_content": null,
    "draft": false,
    "media": {},
    "page": {
      "allow_comments": false,
      "available": true,
      "available_on": null,
      "available_text": "",
      "comments_count": 1,
      "complete": false,
      "estimated_minutes": null,
      "id": "61243d86-e5d5-466f-b4fe-c09787380316",
      "permalink": "/getting-started/welcome",
      "product_id": "276c0669-64b7-4294-a8d3-30e5f1f77b6c",
      "settings": null,
      "slug": "welcome",
      "title": "Welcome",
      "type": "Pages::Standard"
    },
    "page_version": {
      "contents": {
        "columns": {},
        "contentBlocks": {},
        "media": {},
        "rows": {},
        "sections": {}
      },
      "id": "23185998-8234-49e1-ae2c-bdda9151f069",
      "updated_at": "2026-09-16 15:32:12 UTC"
    },
    "product": null
  }
}
```

**SDK Code**

```python Pages_showPageById_example
import requests

url = "https://api.customerhub.com/web_api/pages/id"

querystring = {"permalink":"/product-slug/page-slug"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript Pages_showPageById_example
const url = 'https://api.customerhub.com/web_api/pages/id?permalink=%2Fproduct-slug%2Fpage-slug';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Pages_showPageById_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.customerhub.com/web_api/pages/id?permalink=%2Fproduct-slug%2Fpage-slug"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Pages_showPageById_example
require 'uri'
require 'net/http'

url = URI("https://api.customerhub.com/web_api/pages/id?permalink=%2Fproduct-slug%2Fpage-slug")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Pages_showPageById_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.customerhub.com/web_api/pages/id?permalink=%2Fproduct-slug%2Fpage-slug")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Pages_showPageById_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.customerhub.com/web_api/pages/id?permalink=%2Fproduct-slug%2Fpage-slug', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Pages_showPageById_example
using RestSharp;

var client = new RestClient("https://api.customerhub.com/web_api/pages/id?permalink=%2Fproduct-slug%2Fpage-slug");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Pages_showPageById_example
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.customerhub.com/web_api/pages/id?permalink=%2Fproduct-slug%2Fpage-slug")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```