Get a list of pages

Log in to see full request history

This is the endpoint to access pages in Rooftop. It's the same endpoint as the standard WordPress API, but using the Rooftop plugins you'll find that there's more in the JSON response.

Note that you can use many options through the filter[] endpoint - we've just documented the common ones. Have a look at the WordPress WP Query docs for more: https://codex.wordpress.org/Class_Reference/WP_Query

Query Params
json

Filter by slug

int32
Defaults to 10

The number of results to return per page

int32
Defaults to 1

The page of results to return

filter[post__in]
array of int32s

Return posts with IDs in the array

filter[post__in]
Response

Language
Credentials
Request
Click Try It! to start a request and see the response here! Or choose an example:
application/json