# Wordpress Integration via LowCodeAPI

**Last Updated**: February 10, 2026

## Overview
Wordpress - A Cloud Based Blogging Platform 

**Categories:**
- {'id': 'content-management', 'name': 'Content Management'}

## Base Endpoint
https://api.lowcodeapi.com/wordpress

**Important**: Always include the provider name in the URL path after `api.lowcodeapi.com/`

## Authentication
**Type:** OAUTH2.0

**Official Documentation:** https://developer.wordpress.com/docs/api

## URL Format (Important)

LowCodeAPI supports two URL formats. **Always try the New Format first**, then fall back to Old Format if needed.

### New Format (Priority)
- Path parameters stay in the URL path
- Do NOT include path parameters as query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/{id}?api_token=XXX`

### Old Format (Fallback)
- Path parameters become query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/id?id={id}&api_token=XXX`

### Decision Flow for AI Agents
1. Always use **New Format** first - keep path parameters in the URL path
2. If you get a 404 or error, try **Old Format** with sanitized path
3. Log which format worked for future requests to this provider

## API Categories

## Common Endpoints

### Get data from multiple endpoints

**Method:** GET
**LowCodeAPI Path:** /rest/v1.3/batch

**New Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.3/batch?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.3/batch?api_token=YOUR_API_TOKEN

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| meta | string |  |
| callback | string |  |
| context | string |  |
| fields | string |  |
| http_envelope | boolean |  |
| pretty | boolean |  |
| urls | array |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/wordpress/rest/v1.3/batch?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developer.wordpress.com/docs/api/1.1/get/batch/

### Get a single comment

**Method:** GET
**LowCodeAPI Path:** /rest/v1.1/sites/$site/comments/$comment_ID

**New Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/comments/$comment_ID?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/site/comments/comment_id?comment_ID={comment_ID}&site={site}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| comment_ID | number |  |
| site | string |  |

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| meta | string |  |
| callback | string |  |
| context | string |  |
| fields | string |  |
| http_envelope | boolean |  |
| pretty | boolean |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/comments/$comment_ID?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developer.wordpress.com/docs/api/1.1/get/sites/%24site/comments/%24comment_ID/

### Edit a comment

**Method:** POST
**LowCodeAPI Path:** /rest/v1.1/sites/$site/comments/$comment_ID

**New Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/comments/$comment_ID?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/site/comments/comment_id?comment_ID={comment_ID}&site={site}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| comment_ID | number |  |
| site | string |  |

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| meta | string |  |
| callback | string |  |
| context | string |  |
| fields | string |  |
| http_envelope | boolean |  |
| pretty | boolean |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/comments/$comment_ID?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developer.wordpress.com/docs/api/1.1/post/sites/%24site/comments/%24comment_ID/

### Get a list of recent comments

**Method:** GET
**LowCodeAPI Path:** /rest/v1.1/sites/$site/comments

**New Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/comments?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/site/comments?site={site}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| site | string |  |

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| meta | string |  |
| type | string |  |
| after | string |  |
| before | string |  |
| callback | string |  |
| context | string |  |
| fields | string |  |
| hierarchical | boolean |  |
| http_envelope | boolean |  |
| number | number |  |
| offset | number |  |
| order | string |  |
| page | number |  |
| pretty | boolean |  |
| status | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/comments?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developer.wordpress.com/docs/api/1.1/get/sites/%24site/comments/

### Get a list of recent comments on a post

**Method:** GET
**LowCodeAPI Path:** /rest/v1.1/sites/$site/posts/$post_ID/replies

**New Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/posts/$post_ID/replies?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/site/posts/post_id/replies?post_ID={post_ID}&site={site}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| post_ID | number |  |
| site | string |  |

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| meta | string |  |
| type | string |  |
| after | string |  |
| before | string |  |
| callback | string |  |
| context | string |  |
| fields | string |  |
| hierarchical | boolean |  |
| http_envelope | boolean |  |
| number | number |  |
| offset | number |  |
| order | string |  |
| page | number |  |
| pretty | boolean |  |
| status | string |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/posts/$post_ID/replies?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developer.wordpress.com/docs/api/1.1/get/sites/%24site/posts/%24post_ID/replies/

### Create a comment on a post

**Method:** POST
**LowCodeAPI Path:** /rest/v1.1/sites/$site/posts/$post_ID/replies/new

**New Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/posts/$post_ID/replies/new?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/site/posts/post_id/replies/new?post_ID={post_ID}&site={site}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| post_ID | number |  |
| site | string |  |

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| meta | string |  |
| callback | string |  |
| context | string |  |
| fields | string |  |
| http_envelope | boolean |  |
| pretty | boolean |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/posts/$post_ID/replies/new?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developer.wordpress.com/docs/api/1.1/post/sites/%24site/posts/%24post_ID/replies/new/

### Reply to a comment with another comment

**Method:** POST
**LowCodeAPI Path:** /rest/v1.1/sites/$site/comments/$comment_ID/replies/new

**New Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/comments/$comment_ID/replies/new?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/site/comments/comment_id/replies/new?comment_ID={comment_ID}&site={site}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| comment_ID | number |  |
| site | string |  |

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| meta | string |  |
| callback | string |  |
| context | string |  |
| fields | string |  |
| http_envelope | boolean |  |
| pretty | boolean |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/comments/$comment_ID/replies/new?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developer.wordpress.com/docs/api/1.1/post/sites/%24site/comments/%24comment_ID/replies/new/

### Delete a comment

**Method:** POST
**LowCodeAPI Path:** /rest/v1.1/sites/$site/comments/$comment_ID/delete

**New Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/comments/$comment_ID/delete?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/site/comments/comment_id/delete?comment_ID={comment_ID}&site={site}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| comment_ID | number |  |
| site | string |  |

**Request Body:**

| Field | Type | Description |
|-------|------|-------------|
| meta | string |  |
| callback | string |  |
| context | string |  |
| fields | string |  |
| http_envelope | boolean |  |
| pretty | boolean |  |

**Example Request (New Format):**

```bash
curl -X POST 'https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/comments/$comment_ID/delete?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developer.wordpress.com/docs/api/1.1/post/sites/%24site/comments/%24comment_ID/delete/

### Get comment counts for all statuses

**Method:** GET
**LowCodeAPI Path:** /rest/v1.1/sites/$site/comment-counts

**New Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/comment-counts?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/site/comment-counts?site={site}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| site | string |  |

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| meta | string |  |
| callback | string |  |
| context | string |  |
| fields | string |  |
| http_envelope | boolean |  |
| post_id | number |  |
| pretty | boolean |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/comment-counts?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developer.wordpress.com/docs/api/1.1/get/sites/%24site/comment-counts/

### Get comment's audit history

**Method:** GET
**LowCodeAPI Path:** /rest/v1.1/sites/$site/comment-history/$comment_ID

**New Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/comment-history/$comment_ID?api_token=YOUR_API_TOKEN

**Old Format URL:**
https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/site/comment-history/comment_id?comment_ID={comment_ID}&site={site}&api_token=YOUR_API_TOKEN

**Path Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| comment_ID | number |  |
| site | string |  |

**Query Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| meta | string |  |
| callback | string |  |
| context | string |  |
| fields | string |  |
| http_envelope | boolean |  |
| pretty | boolean |  |

**Example Request (New Format):**

```bash
curl -X GET 'https://api.lowcodeapi.com/wordpress/rest/v1.1/sites/$site/comment-history/$comment_ID?api_token=YOUR_API_TOKEN'
```

**Official Documentation:** https://developer.wordpress.com/docs/api/1.1/get/sites/%24site/comment-history/%24comment_ID/


## Usage Examples

### Example 1: Basic API Request (New Format)

Making a simple GET request to retrieve resources:

```bash
# Get a list of resources - no path parameters needed
curl -X GET "https://api.lowcodeapi.com/wordpress/endpoint?api_token=YOUR_API_TOKEN"
```

### Example 2: Request with Path Parameters (New Format)

Retrieving a specific resource using its ID:

```bash
# Get specific resource by ID - replace RESOURCE_ID with actual ID from previous response
curl -X GET "https://api.lowcodeapi.com/wordpress/endpoint/{RESOURCE_ID}?api_token=YOUR_API_TOKEN"
# Note: RESOURCE_ID typically comes from a previous list request or from the provider dashboard
```

### Example 3: POST Request with Body (New Format)

Creating a new resource:

```bash
# Create a new resource
curl -X POST "https://api.lowcodeapi.com/wordpress/endpoint?api_token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"field": "value", "another_field": "another_value"}'
```

## Error Handling

LowCodeAPI returns standard HTTP status codes. Common errors:

| Status Code | Description |
|-------------|-------------|
| 200 | Success - Request completed successfully |
| 400 | Bad Request - Invalid parameters or request body |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Endpoint or resource doesn't exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Server Error - Provider API error |

All error responses include error details:

```json
{
  "data": {
    "error": {
      "message": "Error description",
      "code": "ERROR_CODE"
    }
  }
}
```

## Complete Endpoint Reference

| Endpoint | Method | Category |
|----------|--------|----------|
| Get data from multiple endpoints | GET | Batch |
| Get a single comment | GET | Comment |
| Edit a comment | POST | Comment |
| Get a list of recent comments | GET | Comment |
| Get a list of recent comments on a post | GET | Comment |
| Create a comment on a post | POST | Comment |
| Reply to a comment with another comment | POST | Comment |
| Delete a comment | POST | Comment |
| Get comment counts for all statuses | GET | Comment |
| Get comment's audit history | GET | Comment |
| Get the likes for a comment | GET | Comment |
| Like a comment. | POST | Comment |
| Remove your like from a comment | POST | Comment |
| Get your like status for a comment | GET | Comment |
| Kill comment likes | GET | Comment |
| Get followers in reverse order for site | GET | Follow |
| Follow a blog | POST | Follow |
| Unfollow a blog | POST | Follow |
| Get user's blog follow status | GET | Follow |
| Get a list of Freshly Pressed posts | GET | Freshly Pressed |
| Get accessible user stats metrics insights | GET | Insights |
| Get raw data for a particular graph | GET | Insights |
| Delete a piece of media | POST | Media |
| Get a single media item (by ID) | GET | Media |
| Edit basic information about a media item | POST | Media |
| Get a list of items in the media library | GET | Media |
| Upload a new piece of media | POST | Media |
| Edit a media item | POST | Media |
| Create a new navigation menu | POST | Menu |
| Update a navigation menu | POST | Menu |
| Get a single navigation menu | GET | Menu |
| Get a list of all navigation menus | GET | Menu |
| Delete a navigation menu | POST | Menu |
| Update latest notification timestamp | POST | Notification |
| Mark a set of notifications as read | POST | Notification |
| Get a single post (by ID) | GET | Post |
| Edit a post | POST | Post |
| Get a single post (by slug) | GET | Post |
| Get a list of matching posts | GET | Post |
| Create a post | POST | Post |
| Delete a post | POST | Post |
| Recover trashed content to its previous state | POST | Post |
| Delete multiple posts | POST | Post |
| Restore multiple posts | POST | Post |
| Get a list of posts across all the user's sites | GET | Post |
| Get a list of the likes for a post | GET | Post |
| Like a post | POST | Post |
| Unlike a post | POST | Post |
| Get the current user's like status for a post | GET | Post |
| Get post subscribers list | GET | Post |
| Get user's subscription status for specified post | GET | Post |
| Subscribe user for post comment notifications | POST | Post |
| Subscribe user for post comment notifications | POST | Post |
| Unsubscribe user from specified post | POST | Post |
| Reblog a post | POST | Post |
| Get reblog status for a post | GET | Post |
| Search within a site for related posts | POST | Post |
| Get default reader menu | GET | Reader |
| Get details about a feed | GET | Reader |
| Get a single post (by ID) | GET | Reader |
| Get posts from user's followed blogs | GET | Reader |
| Get posts from user's followed likes | GET | Reader |
| Get details about a specified tag. | GET | Reader |
| Get user's subscribed tag list | GET | Reader |
| Get trending tags in a list | GET | Reader |
| Get user's subscription status for a specific tag | GET | Reader |
| Subscribe to a new tag | POST | Reader |
| Unsubscribe from a tag | POST | Reader |
| Get a list of the feeds the user is following | GET | Reader |
| Follow the specified blog | POST | Reader |
| Unfollow the specified blog | POST | Reader |
| Get IDs and subscribe URLs for matching feeds | GET | Reader |
| Getblog suggestions for the user | GET | Reader |
| site's sharing buttons list | GET | Sharing |
| Modify site's sharing buttons | POST | Sharing |
| List third-party integrations available for WordPr... | GET | Sharing |
| Get service info for WordPress.com or Jetpack inte... | GET | Sharing |
| Get user's publicize connection list | GET | Sharing |
| Get user's active publicize connection | GET | Sharing |
| Update user's publicize connection | POST | Sharing |
| Delete a publicize connection | POST | Sharing |
| Get publicize connections for a specific site | GET | Sharing |
| Get publicize connection for specific site | GET | Sharing |
| Update site's publicize connection | POST | Sharing |
| Create publicize connection for specified site | POST | Sharing |
| Delete the specified publicize connection | POST | Sharing |
| Get supported sharing button services list | GET | Sharing |
| Get site's rendered shortcode | GET | Site |
| Get site's available shortcodes | GET | Site |
| Get site's rendered embed | GET | Site |
| Get site's available embeds in a list | GET | Site |
| Get site details and information | GET | Site |
| Get supported site page templates | GET | Site |
| Get site's available post types list | GET | Site |
| Count posts by status in post type groups | GET | Site |
| Get active and inactive site widgets | GET | Site |
| Activate a widget on a site. | POST | Site |
| Get WordAds site settings information in detail | GET | Site |
| Update WordAds settings for a site | POST | Site |
| Get site's WordAds earnings details | GET | Site |
| Get site's WordAds TOS information | GET | Site |
| Update site's WordAds TOS setting | POST | Site |
| Simplify joining WordAds program approval request | POST | Site |
| Get site's WordAds statistics | GET | Site |
| Get user's site list in list | GET | Site |
| Get plugins for user's sites | GET | Site |
| Site Search with Elasticsearch Query API | POST | Site |
| Retrieve a widget on a site by its ID | GET | Site |
| Update a widget on a site by its ID | POST | Site |
| Deactivate widget by ID, delete if already deactiv... | POST | Site |
| Get custom header options for specific theme | GET | Site |
| Get site's custom header options | GET | Site |
| Customize site header options | POST | Site |
| Get a site's stats | GET | Stats |
| Summarize site's views, visitors, likes, and comme... | GET | Stats |
| View a site's top posts and pages by views | GET | Stats |
| View the details of a single video | GET | Stats |
| View a site's referrers | GET | Stats |
| View a site's outbound clicks | GET | Stats |
| View a site's views by tags and categories | GET | Stats |
| View a site's top authors | GET | Stats |
| View a site's top comment authors and most-comment... | GET | Stats |
| View a site's video plays | GET | Stats |
| View a site's file downloads | GET | Stats |
| View a post's views | GET | Stats |
| View a site's views by country | GET | Stats |
| View a site's followers | GET | Stats |
| View a site's comment followers | GET | Stats |
| Report a referrer as spam | POST | Stats |
| Unreport a referrer as spam | POST | Stats |
| View a site's publicize follower counts | GET | Stats |
| View search terms used to find the site | GET | Stats |
| View the total number of views for each post 🚧 | GET | Stats |
| Get stats for Calendar Heatmap | GET | Stats |
| Get a list of a site's categories | GET | Taxonomy |
| Get a list of a site's tags | GET | Taxonomy |
| Get information about a single category | GET | Taxonomy |
| Edit a category | POST | Taxonomy |
| Get details for single tag | GET | Taxonomy |
| Edit a tag | POST | Taxonomy |
| Get details for a specific term | GET | Taxonomy |
| Edit a term | POST | Taxonomy |
| Get post type's associated taxonomies | GET | Taxonomy |
| Get a list of a site's terms by taxonomy | GET | Taxonomy |
| Create a new category | POST | Taxonomy |
| Create a new tag | POST | Taxonomy |
| Delete a category | POST | Taxonomy |
| Delete a tag | POST | Taxonomy |
| Create a new term | POST | Taxonomy |
| Delete a term | POST | Taxonomy |
| Get site user's list | GET | Users |
| Update user's details on a site | POST | Users |
| Get site user's information using their login | GET | Users |
| Delete or removes user's from site | POST | Users |
| Fetch suggested user's list for mentions | GET | Users |
| Get metadata about the current user's | GET | Users |
| Get user's billing history and upcoming charges | GET | Users |
| Get user's settings | GET | Users |
| Update user's settings | POST | Users |
| Get user's settings | GET | Users |
| Update user's preferences | POST | Users |
| Check user's new password strength | POST | Users |
| Get user's profile links | GET | Users |
| Add a link to user's profile | POST | Users |
| Delete user profile link | POST | Users |
| Get user's linked applications | GET | Users |
| Get one of current user's connected applications | GET | Users |
| Delete one of current user's connected application... | POST | Users |
| Get user's two-factor authentication details | GET | Users |
| Sends SMS verification code to user | POST | Users |
| Get current user's liked items list | GET | Users |
| Get the metadata for a specified VideoPress video | GET | Videos |
| Get the poster for a specified VideoPress video | GET | Videos |
| Upload and set a poster for a specified VideoPress... | POST | Videos |
| Get the poster for a specified VideoPress video | GET | Videos |
| Add subtitles to a VideoPress video | POST | Videos |
| Delete subtitle track for VideoPress video | POST | Videos |
| Get a list of pages | GET | Site |
| Get a single page | GET | Site |
| Create a new page | POST | Site |
| Update a page | POST | Site |
| Delete a page | POST | Site |
| Get a list of plugins | GET | Site |
| Activate a plugin | POST | Site |
| Deactivate a plugin | POST | Site |
| Get a list of themes | GET | Site |
| Activate a theme | POST | Site |
| Get a list of domains | GET | Site |
| Get a list of plans | GET | Site |

## API Definition Endpoints

You can fetch the complete API specification for this provider:

**New Format (OpenAPI spec):**
```bash
curl 'https://backend.lowcodeapi.com/wordpress/openapi'
```

**Old Format (API definition):**
```bash
curl 'https://backend.lowcodeapi.com/wordpress/definition'
```

## Response Format

All responses are wrapped in a `data` key:

```json
{
  "data": {
    // Actual response from provider (object or array)
  }
}
```