Home Plugins wpraiz content api tool
WPRaiz Content API Tool logo

WPRaiz Content API Tool

by José Ícaro - WPRaiz on WordPress.org

Create WordPress posts via REST API with custom SEO fields, image uploads, primary category assignment, and integration with major SEO plugins (SEOPre …

(3)
Admin Page Interface – Displays all endpoints with copy buttons.

Admin Page Interface – Displays all endpoints with copy buttons.

The WPRaiz Content API Tool is a powerful plugin that enables the creation of WordPress posts programmatically through a REST API. Ideal for developers and websites that need seamless content integration from external systems, this plugin supports:

  • Integration with Major SEO Plugins: Set custom SEO fields for titles and descriptions, compatible with SEOPress, Yoast SEO, and Rank Math.
  • Flexible Image Uploads: Accept images via URL, with automatic attachment as the featured image.
  • Automatic Category Management: Assign an existing category or create a new one based on supplied category names.
  • Installation Check Endpoint: Verify plugin installation, authentication, and detect the installed SEO plugin.
  • Post Similarity Search: Find and return the top 10 most similar published posts by title for better content linking and duplication checks.
  • Admin Interface: Dashboard section with copyable API endpoints for easy testing.

Authentication

To authenticate API requests, you must use an application password, which can be generated from your user profile in the WordPress admin dashboard.

  1. Generate Application Password: Go to Users > Profile in the WordPress dashboard and create an application password.
  2. Authorization Header: Pass the application password in a Base64-encoded Authorization header in the format Basic {base64_encode(username:application_password)}.

REST API Endpoints

  1. Create Post Endpoint

    • URL: /wp-json/api-post-creator/v1/create-post
    • Method: POST
    • Parameters:
      • title (required): Title of the post.
      • content (required): Content of the post.
      • status (optional): Post status (default: draft).
      • primary_category (optional): Primary category name.
      • seo_title (optional): SEO title.
      • seo_desc (optional): SEO description.
      • image_url (optional): URL for the featured image.
  2. Check Installation Endpoint

    • URL: /wp-json/api-post-creator/v1/check-status
    • Method: GET
    • Purpose: Verifies plugin status and active SEO plugin.
  3. List Categories Endpoint

    • URL: /wp-json/api-post-creator/v1/get-categories
    • Method: GET
    • Purpose: Returns all registered post categories.
  4. Similar Titles Search Endpoint

    • URL: /wp-json/api-post-creator/v1/search-similar-posts?title=Your+Title+Here
    • Method: GET
    • Purpose: Returns the top 10 most similar published posts by title.

License

Este plugin é licenciado sob a GPLv3. Veja GNU’s official site para detalhes.

Support

Para dúvidas ou suporte, visite WPRaiz Support.

Active installations10+
Weekly downloads
22-21.43%
Version1.5
Last updated4/2/2025
WordPress version5.0
Tested up to6.7.2
Tags
contentimage uploadPost Creationrest-apiseo