Plugin info

Total downloads: 368
Active installs: 90
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 4/17/2025 (257 days ago)
Added to WordPress: 4/8/2025 (0 years old)
Minimum WordPress version: 6.4
Tested up to WordPress version: 6.7.3
Minimum PHP version: 7.3

Maintenance & Compatibility

Maintenance score

Stale • Last updated 257 days ago

38/100

Is Copypress Rest API abandoned?

Likely maintained (last update 257 days ago).

Compatibility

Requires WordPress: 6.4
Tested up to: 6.7.3
Requires PHP: 7.3

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

WPRaiz Content API Tool
Rating 5.0/5 (3 reviews)Active installs 50
Extension Access Manager
Rating 0.0/5 (0 reviews)Active installs 0
WC Call For Price
Rating 4.7/5 (11 reviews)Active installs 1,000
Frontend Dashboard Extra
Rating 5.0/5 (2 reviews)Active installs 300
Scale Large Image Threshold
Rating 5.0/5 (1 reviews)Active installs 300
Auto Post After Image Upload
Rating 4.3/5 (12 reviews)Active installs 200

Description

The COPYPRESS REST API plugin extends the WordPress REST API with custom endpoints for managing posts, categories, tags, post types, and taxonomies.

Features

  • Create, update, and delete posts via REST API.
  • Fetch categories, tags, post types, and taxonomies.
  • Supports CORS (Cross-Origin Resource Sharing) for making API requests from different origins.
  • Allows attaching images to posts via URLs.

Endpoints

  1. /copypress-api/v1/login – Login with username and password to get a JWT token.

    • Request Body:
    • username (string): WordPress username
    • password (string): WordPress password
  2. POST /copypress-api/v1/posts – Create a new post.

    • Request Body:
      • title (string): The title of the post.
      • content (string): The content of the post.
      • excerpt (string, optional): The excerpt of the post.
      • category (int, optional): The category ID of the post.
      • tags (string, optional): Comma-separated list of tag slugs.
      • image (string, optional): URL of an image to be set as the post’s featured image.
      • post_type (string, optional): The post type (default: post).
      • author_id (int, optional): The ID of the post author (default: current user).
      • post_status (string): Post publish status.
    • Response: Success message, HTTP status code, and created post object.
  3. PUT /copypress-api/v1/posts/{id} – Update an existing post.

    • Request Body: Same as POST endpoint.
    • Response: Success message, HTTP status code, and updated post object.
  4. DELETE /copypress-api/v1/posts/{id} – Delete a post.

    • Response: Success message and HTTP status code.
  5. GET /copypress-api/v1/categories – Get all categories.

    • Response: Category ID, name, and slug.
  6. GET /copypress-api/v1/tags – Get all tags.

    • Response: Tag ID, name, and slug.
  7. GET /copypress-api/v1/post-types – Get all public post types.

    • Response: Post type name and label.
  8. GET /copypress-api/v1/get-taxonomies/{post_type} – Get all taxonomies (categories and tags) associated with a specific post type.

    • Response: List of categories (hierarchical taxonomies) and tags (non-hierarchical taxonomies).

CORS Support

This plugin allows cross-origin requests for all the REST API endpoints, enabling requests from different domains.

Allowed Methods:

  • GET, POST, PUT, DELETE

Allowed Headers:

  • Content-Type, X-Custom-Header, x-csrf-token, Authorization

Allowed Origin:

  • * (Any domain)

Usage

Once the plugin is activated, the custom API routes are available for interaction with posts, categories, tags, post types, and taxonomies. You can make requests to the respective endpoints from any external application or client that can interact with REST APIs. To create or update posts, a valid JWT token must be provided in the Authorization header as:
Authorization: Bearer YOUR_TOKEN_HERE

License

This plugin is licensed under the GPLv2 license.

Installation

  1. Download the plugin files.
  2. Upload the plugin folder to the /wp-content/plugins/ directory.
  3. Activate the plugin from the WordPress admin panel.

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.2

  • Role-based permissions for Administrator, Editor, and Contributor to publish content have been added.

1.1

  • added permission check.
  • added login with token solution.
  • removed api-key based functionality.

1.0

  • Initial release with functionality for post creation, update, deletion, and fetching categories, tags, post types, and taxonomies.