30% OFF on yearly plans. Limited time offer. coupon: WOOHOO

Pages API

You can create landing pages using the Woorise API.

List all pages

GET /pages

Request parameters

ParameterTypeRequiredDescription
contextenum(‘view’, ’embed’, ‘edit’)noScope for the request that controls which fields are returned for Woorise Pages; default is view.
pageintegernoResults page number for pagination; default is 1.
per_pageintegernoMaximum items per page; default is 10.
searchstringnoFull-text search string to filter Woorise Pages by title or content.
afterstring (ISO8601)noReturn Pages published strictly after the given date.
modified_afterstring (ISO8601)noReturn Pages modified strictly after the given date.
authorarray<integer> | integernoLimit to Pages authored by specific user IDs.
author_excludearray<integer> | integernoExclude Pages authored by specific user IDs.
beforestring (ISO8601)noReturn Pages published strictly before the given date.
modified_beforestring (ISO8601)noReturn Pages modified strictly before the given date.
excludearray<integer> | integernoExclude specific Page IDs from results.
includearray<integer> | integernoLimit results to specific Page IDs.
offsetintegernoSkip a number of items before returning results (use with care alongside pagination).
orderenum(‘asc’, ‘desc’)noSort direction for ordered results; default is desc.
orderbyenum(‘author’, ‘date’, ‘id’, ‘include’, ‘modified’, ‘parent’, ‘relevance’, ‘slug’, ‘include_slugs’, ‘title’)noAttribute used to sort the collection; default is date.
search_columnsarray<string>noLimit the search to specific columns (e.g., title, content) when filtering Pages.
slugarray<string> | stringnoLimit results to Pages with one or more specific slugs.
statusarray<string> | stringnoLimit results to Pages with one or more statuses; default is publish.
tax_relationenum(‘AND’, ‘OR’)noLogic used when combining multiple taxonomy filters for Pages.

Response

Context: view

[
    {
        "id": 176,
        "date": "2025-09-04T07:02:16",
        "modified": "2025-09-07T07:21:57",
        "slug": "dummy-campaign",
        "status": "publish",
        "link": "https://woorise.com/test/dummy-campaign",
        "title": {
            "rendered": "Dummy campaign"
        },
        "content": {
            "rendered": "\n<p>This is a dummy campaign for testing purposes.</p>\n",
            "protected": false
        },
        "author": 39730,
        "meta": {
            "starts_at": "",
            "form_id": "65",
            "ends_at": "",
            "viral_share": [],
            "instant_win": [],
            "language": [],
            "gallery": []
        }
    }
]

Context: edit

[
    {
        "id": 176,
        "date": "2025-09-04T07:02:16",
        "modified": "2025-09-07T07:21:57",
        "password": "",
        "slug": "dummy-campaign",
        "status": "publish",
        "link": "https://woorise.com/test/dummy-campaign",
        "title": {
            "raw": "Dummy campaign",
            "rendered": "Dummy campaign"
        },
        "content": {
            "raw": "<!-- wp:paragraph -->\n<p>This is a dummy campaign for testing purposes.</p>\n<!-- /wp:paragraph -->",
            "rendered": "\n<p>This is a dummy campaign for testing purposes.</p>\n",
            "protected": false,
            "block_version": 1
        },
        "author": 39730,
        "meta": {
            "starts_at": "",
            "form_id": "65",
            "ends_at": "",
            "viral_share": [],
            "instant_win": [],
            "language": [],
            "gallery": []
        }
    }
]

Get a page

GET /pages/{page_id}

Request parameters

ParameterTypeRequiredDescription
idintegeryesUnique identifier of the Woorise Page to retrieve.
contextenum(‘view’, ’embed’, ‘edit’)noScope for the request that controls which fields are returned; default is view.
passwordstringnoPassword for accessing the Page if it is password protected.

Response

Context: view

{
    "id": 176,
    "date": "2025-09-04T07:02:16",
    "modified": "2025-09-07T07:21:57",
    "slug": "dummy-campaign",
    "status": "publish",
    "link": "https://woorise.com/test/dummy-campaign",
    "title": {
        "rendered": "Dummy campaign"
    },
    "content": {
        "rendered": "\n<p>This is a dummy campaign for testing purposes.</p>\n",
        "protected": false
    },
    "author": 39730,
    "meta": {
        "starts_at": "",
        "form_id": "65",
        "ends_at": "",
        "viral_share": [],
        "instant_win": [],
        "language": [],
        "gallery": []
    }
}

Context: edit

{
    "id": 176,
    "date": "2025-09-04T07:02:16",
    "modified": "2025-09-07T07:21:57",
    "password": "",
    "slug": "dummy-campaign",
    "status": "publish",
    "link": "https://woorise.com/test/dummy-campaign",
    "title": {
        "raw": "Dummy campaign",
        "rendered": "Dummy campaign"
    },
    "content": {
        "raw": "<!-- wp:paragraph -->\n<p>This is a dummy campaign for testing purposes.</p>\n<!-- /wp:paragraph -->",
        "rendered": "\n<p>This is a dummy campaign for testing purposes.</p>\n",
        "protected": false,
        "block_version": 1
    },
    "author": 39730,
    "meta": {
        "starts_at": "",
        "form_id": "65",
        "ends_at": "",
        "viral_share": [],
        "instant_win": [],
        "language": [],
        "gallery": []
    }
}

Create a page

POST /pages

Request parameters

ParameterTypeRequiredDescription
datestring (ISO8601)noDate the Page was published in the site’s local timezone.
slugstringnoUnique URL-friendly identifier for the Page.
statusenum(‘publish’, ‘future’, ‘draft’, ‘pending’, ‘private’)noStatus of the Page; default is publish.
passwordstringnoPassword to protect access to the Page content and excerpt.
titlestring | objectyesThe title of the Page.
contentstring | objectnoThe main content for the Page.
authorintegernoUser ID of the author for the Page.
metaobjectnoCustom meta fields assigned to the Page.

Update a page

PUT /pages/{page_id}

Request parameters

ParameterTypeRequiredDescription
idintegeryesUnique identifier for the page.
datestring (ISO8601)noDate the Page was published in the site’s local timezone.
slugstringnoUnique URL-friendly identifier for the Page.
statusenum(‘publish’, ‘future’, ‘draft’, ‘pending’, ‘private’)noStatus of the Page; default is publish.
passwordstringnoPassword to protect access to the Page content and excerpt.
titlestring | objectnoThe title of the Page.
contentstring | objectnoThe main content for the Page.
authorintegernoUser ID of the author for the Page.
metaobjectnoCustom meta fields assigned to the Page.

Delete a page

DELETE /pages/{page_id}

Request parameters

ParameterTypeRequiredDescription
idintegeryesUnique identifier of the Woorise Page to delete.
forcebooleannoSet to true to bypass Trash and permanently delete the Page.

Join more than 80,000 brands using Woorise

Easily create landing pages, forms, surveys, quizzes & viral giveaways that drive real user engagement.