Provider settings

WordPress Settings

Provider settings for WordPress posts

Overview

WordPress integration allows you to publish posts to your WordPress site. You can set the title, featured image, and post type.

Settings Schema

{
  "__type": "wordpress",
  "title": "Post Title",
  "main_image": {
    "id": "image-id",
    "path": "https://tryferra.co/uploads/featured.jpg"
  },
  "type": "post",
  "categories": [12],
  "tags": [45, 46],
  "status": "publish"
}

Properties

PropertyTypeRequiredDescription
__typestring✅Must be "wordpress"
titlestring✅Post title (min 2 chars)
main_imageobject❌Featured image
main_image.idstring✅Image ID
main_image.pathstring✅Image URL
typestring✅Post type (depends on your WordPress setup)
categoriesnumber[]❌Category IDs to file the post under
tagsnumber[]❌Tag IDs to apply
statusstring❌publish, draft, pending or private

status

ValueDescription
publishPublish immediately
draftSave as a draft in WordPress
pendingSubmit for review
privatePublish, visible only to logged-in users with permission

Note

categories and tags take numeric WordPress IDs, not names. Look them up in your WordPress admin, or through the WordPress REST API, before sending them.

Example

{
  "type": "schedule",
  "date": "2024-12-14T10:00:00.000Z",
  "shortLink": false,
  "tags": [],
  "posts": [
    {
      "integration": {
        "id": "your-wordpress-integration-id"
      },
      "value": [
        {
          "content": "<h2>Introduction</h2>\n<p>Welcome to our latest blog post...</p>\n\n<h2>Main Content</h2>\n<p>Here's what you need to know...</p>",
          "image": []
        }
      ],
      "settings": {
        "__type": "wordpress",
        "title": "Latest Company Updates",
        "type": "post"
      }
    }
  ]
}

Notes

  • The type field depends on your WordPress configuration (e.g., "post", "page", or custom post types)
  • Content can be HTML or Markdown depending on your WordPress setup
  • Featured images will be uploaded to your WordPress media library

Parts of these docs are adapted from open-source documentation under the MIT License (© 2023 Mintlify).