> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.gorilladash.com/gorilla-dash-rest-ful-api/website-content/pages/get-page-list/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.gorilladash.com/_mcp/server. # Get Page List GET https://api.gorilladash.com/api/v1/website-content/websites/%7BWEBSITE_ID%7D/pages Lists the website's pages (without their content blocks), newest id first, needs a key with **Website Content: Read Only** (`website-content:read`) or **Read and Write**. Paged with `page` and `itemsPerPage` (default 25, max 100). Loop until `pagination.currentPage` equals `pagination.totalPages`. Reference: https://docs.gorilladash.com/gorilla-dash-rest-ful-api/website-content/pages/get-page-list ## Request ### Query parameters - `page` (integer, optional) — Page number. Default 1. - `itemsPerPage` (integer, optional) — Records per page, 1–100. Default 25. Over 100 returns 422 (it is not clamped). Note the camelCase name: the older endpoints use `results_per_page`. ### Headers - `GorillaDash-Api-Key` (string, optional) — Gorilla Dash API Key - `GorillaDash-Api-Secret` (string, optional) — Gorilla Dash API Secret ## Response ### 201 Created - `success` (boolean, required) - `status` (integer, required) - `data` (list of ApiV1WebsiteContentWebsites7BwebsiteId7DPagesGetResponsesContentApplicationJsonSchemaDataItems, required) - `pagination` (ApiV1WebsiteContentWebsites7BwebsiteId7DPagesGetResponsesContentApplicationJsonSchemaPagination, required) ## Errors ### 403 Forbidden Error Forbidden - `message` (string, required) ## Types ### ApiV1WebsiteContentWebsites7BwebsiteId7DPagesGetResponsesContentApplicationJsonSchemaDataItems - `id` (integer, required) - `website_id` (integer, required) - `name` (string, required) - `slug` (string, required) - `parent_id` (integer, required) - `parent_slug` (string, required) - `sort` (integer, required) - `meta_title` (string, required) - `meta_description` (string, required) - `no_index` (boolean, required) - `show_in_menu` (boolean, required) - `created_at` (datetime, required) - `updated_at` (datetime, required) ### ApiV1WebsiteContentWebsites7BwebsiteId7DPagesGetResponsesContentApplicationJsonSchemaPagination - `count` (integer, required) - `total` (integer, required) - `perPage` (integer, required) - `currentPage` (integer, required) - `totalPages` (integer, required) - `links` (list of any, required) ## Examples **Response** ```json { "success": true, "status": 201, "data": [ { "id": 5521, "website_id": 206, "name": "Board of Directors", "slug": "about/board-of-directors", "parent_id": 5520, "parent_slug": "about", "sort": 3, "meta_title": "Board", "meta_description": "Who runs the council", "no_index": false, "show_in_menu": true, "created_at": "2026-10-07T01:20:00+00:00", "updated_at": "2026-10-07T01:20:00+00:00" } ], "pagination": { "count": 1, "total": 1, "perPage": 25, "currentPage": 1, "totalPages": 1, "links": [] } } ``` **SDK Code** ```python Website Content_Pages_Get Page List_example import requests url = "https://api.gorilladash.com/api/v1/website-content/websites/%7BWEBSITE_ID%7D/pages" querystring = {"itemsPerPage":"25","page":"1"} headers = { "GorillaDash-Api-Key": "{{API_KEY}}", "GorillaDash-Api-Secret": "{{GD_RESTFUL_SECRET}}" } response = requests.get(url, headers=headers, params=querystring) print(response.json()) ``` ```javascript Website Content_Pages_Get Page List_example const url = 'https://api.gorilladash.com/api/v1/website-content/websites/%7BWEBSITE_ID%7D/pages?itemsPerPage=25&page=1'; const options = { method: 'GET', headers: { 'GorillaDash-Api-Key': '{{API_KEY}}', 'GorillaDash-Api-Secret': '{{GD_RESTFUL_SECRET}}' } }; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go Website Content_Pages_Get Page List_example package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.gorilladash.com/api/v1/website-content/websites/%7BWEBSITE_ID%7D/pages?itemsPerPage=25&page=1" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("GorillaDash-Api-Key", "{{API_KEY}}") req.Header.Add("GorillaDash-Api-Secret", "{{GD_RESTFUL_SECRET}}") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby Website Content_Pages_Get Page List_example require 'uri' require 'net/http' url = URI("https://api.gorilladash.com/api/v1/website-content/websites/%7BWEBSITE_ID%7D/pages?itemsPerPage=25&page=1") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["GorillaDash-Api-Key"] = '{{API_KEY}}' request["GorillaDash-Api-Secret"] = '{{GD_RESTFUL_SECRET}}' response = http.request(request) puts response.read_body ``` ```java Website Content_Pages_Get Page List_example import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://api.gorilladash.com/api/v1/website-content/websites/%7BWEBSITE_ID%7D/pages?itemsPerPage=25&page=1") .header("GorillaDash-Api-Key", "{{API_KEY}}") .header("GorillaDash-Api-Secret", "{{GD_RESTFUL_SECRET}}") .asString(); ``` ```php Website Content_Pages_Get Page List_example request('GET', 'https://api.gorilladash.com/api/v1/website-content/websites/%7BWEBSITE_ID%7D/pages?itemsPerPage=25&page=1', [ 'headers' => [ 'GorillaDash-Api-Key' => '{{API_KEY}}', 'GorillaDash-Api-Secret' => '{{GD_RESTFUL_SECRET}}', ], ]); echo $response->getBody(); ``` ```csharp Website Content_Pages_Get Page List_example using RestSharp; var client = new RestClient("https://api.gorilladash.com/api/v1/website-content/websites/%7BWEBSITE_ID%7D/pages?itemsPerPage=25&page=1"); var request = new RestRequest(Method.GET); request.AddHeader("GorillaDash-Api-Key", "{{API_KEY}}"); request.AddHeader("GorillaDash-Api-Secret", "{{GD_RESTFUL_SECRET}}"); IRestResponse response = client.Execute(request); ``` ```swift Website Content_Pages_Get Page List_example import Foundation let headers = [ "GorillaDash-Api-Key": "{{API_KEY}}", "GorillaDash-Api-Secret": "{{GD_RESTFUL_SECRET}}" ] let request = NSMutableURLRequest(url: NSURL(string: "https://api.gorilladash.com/api/v1/website-content/websites/%7BWEBSITE_ID%7D/pages?itemsPerPage=25&page=1")! 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() ```