v4
latestOpenAPI 3.0.02026-08-04109113304.5 KBPages
List Pages
List all Pages for a Project
get/pages
Query parameters
per_pageinteger
Optional pagination argument that specifies the maximum number of objects to return per request
pageinteger
Optional pagination argument that specifies the page to return. If you have 140 objects and you choose to return 100 objects per page you will be able to access the last 40 objects on page 2. The default value is 1.
project_idinteger required
The Project ID of the Project you would like to list all Pages for
include_single_useboolean
Whether or not to include single-use Pages (those generated for Campaign URL targeting) alongside regular Pages. If this parameter is not provided it will default to false
Response
Return Project Pages info
Example response
[
{
"activation_code": "function callbackFn(activate, options) { activate(); }",
"activation_type": "callback",
"conditions": "[\"and\", {\"type\": \"url\", \"match_type\": \"substring\", \"value\": \"optimize\"}]",
"edit_url": "https://www.optimizely.com",
"experiment_count": 3,
"id": 4000,
"key": "home_page",
"name": "Home Page",
"project_id": 1000
}
]