Docs API Reference Bridge Plugin API

Bridge Plugin API

Technical reference for the Triplebee Bridge Plugin and its REST API endpoints.

Overview

The Bridge Plugin exposes a set of authenticated REST API endpoints that Triplebee’s AI engine uses to interact with your WordPress sites. This reference is for developers who want to build custom integrations or understand how Triplebee communicates with WordPress.

Authentication

All requests to the Bridge Plugin API must include a valid Bearer token in the Authorization header:

Authorization: Bearer <your-api-key>

API keys are generated in your Triplebee dashboard under Settings → API Keys. Keys are scoped to individual sites and can be revoked at any time.

Base URL

https://your-site.com/wp-json/triplebee/v1/

Endpoints

GET /status

Returns the current status of the Bridge Plugin and site information.

Response:

{
  "connected": true,
  "wp_version": "6.7.1",
  "php_version": "8.2.10",
  "plugin_version": "2.1.0",
  "site_url": "https://your-site.com"
}

GET /plugins

Returns a list of all installed plugins.

Response:

{
  "plugins": [
    {
      "slug": "woocommerce",
      "name": "WooCommerce",
      "version": "8.5.1",
      "active": true,
      "update_available": false
    }
  ]
}

POST /execute

Executes a WordPress action. This is the primary endpoint used by the Triplebee AI engine.

Request body:

{
  "action": "plugin_update",
  "params": {
    "plugin": "woocommerce",
    "version": "latest"
  }
}

Webhooks

You can configure webhooks to receive real-time notifications when actions are performed on your sites. Webhooks are configured in Settings → Webhooks.

Events available: action.completed, action.failed, plugin.updated, site.error

Was this page helpful? Let us know — or reach us at support@triplebee.ai