Skip to main content
REST API endpoints are a Pro feature. Upgrade to BoxBuilder Pro →
BoxBuilder Pro provides REST API endpoints for sharing functionality, and AJAX handlers for all other frontend operations.

REST API Endpoints

REST endpoints are registered under the boxbuilder/v1 namespace.
Creates a shareable link for a box configuration. Requires the user to be logged in. Request body:
Parameters: Response:

Get Shared Box

Retrieves a shared box configuration by its share key. No authentication required. Parameters: Response:
Share links expire after 30 days. They are stored as WordPress transients.

AJAX Handlers

BoxBuilder uses WordPress AJAX (admin-ajax.php) for all frontend builder operations. These handlers are available to both logged-in and guest users.

Product & Configuration

Session & Cart

Sharing (Pro)

Analytics (Pro)

Using AJAX in Custom Code

All AJAX requests require a nonce for security. The nonce is available via the localized boxbuilderData object:

Error Handling

Both REST API and AJAX endpoints return standard error responses: