The WordPress API VIP platform specific

This document is for sites running on VIP.

Learn more

Overview #

Developers use the API to build external apps and integrate site content into a wide variety of external platforms.

↑ Top ↑ REST API #

All sites, including VIP sites, feature the REST API. This is the recommended API for all integrations and features methods for handling posts, users, categories, tags and much more. Authentication is handled using OAuth2. A great way to begin exploring the REST API is to check out the developer console.

The VIP site theme loads for a REST API request to your site, which means custom post types, custom taxonomies, and custom user roles are there.

However, please note that due to the way theme loading is implemented, the theme only loads on single site endpoints (URLs like /sites/:site/*), not multi-site endpoints.

REST API specific filters like rest_api_allowed_post_types are in effect. Please be careful of theme constants like STYLESHEETPATH and TEMPLATEPATH as they’re not available in the REST API context.

↑ Top ↑

WordPress REST API #

All VIP sites also feature the REST API infrastructure included in WordPress since version 4.4. This allows you to build your own API endpoints on your site, or you can enable the WP-API plugin and use the endpoints defined there.

Like the REST API, VIP supports OAuth2 authentication.  Standard WordPress cookie+nonce authentication is also available, but this should only be used for features that run within the site itself.

A couple of important notes to keep in mind when developing against this API framework:

↑ Top ↑


All sites, including VIP sites, also have an XML-RPC endpoint enabled at /xmlrpc.php. Though it is required by certain legacy apps, we strongly urge the use of the REST API for all new development. Additional information on XML-RPC support is available here and here.

Note: XML-RPC requests that lack a user agent are blocked on

↑ Top ↑

Can REST or XML-RPC be disabled? #

No. These are enabled and secure for all sites, including VIP sites.

Ready to get started?

Drop us a note.

No matter where you are in the planning process, we’re happy to help, and we’re actual humans here on the other side of the form. 👋 We’re here to discuss your challenges and plans, evaluate your existing resources or a potential partner, or even make some initial recommendations. And, of course, we’re here to help any time you’re in the market for some robust WordPress awesomeness.