[
{
"handle": "posts",
"meta": {
"short": "Posts",
"description": "Manage blog posts in WordPress"
},
"endpoint": {
"value": "/wp-json/wp/v2/posts",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {}
},
{
"name": "title",
"type": "String",
"selector": [
"title",
"rendered"
],
"meta": {}
},
{
"name": "content",
"type": "String",
"selector": [
"content",
"rendered"
],
"meta": {}
},
{
"name": "status",
"type": "String",
"selector": [
"status"
],
"meta": {}
},
{
"name": "date",
"type": "String",
"selector": [
"date"
],
"meta": {}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Post ID",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": "application/json"
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"title\": \"{{title}}\", \"content\": \"{{content}}\", \"status\": \"{{status}}\"}",
"placeholders": [
{
"name": "title",
"type": "String",
"description": "Post title",
"required": true
},
{
"name": "content",
"type": "String",
"description": "Post content",
"required": true
},
{
"name": "status",
"type": "String",
"description": "Post status",
"required": false,
"default": "draft"
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Post ID",
"required": true
}
]
},
"headers": {
"Content-Type": "application/json"
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"title\": \"{{title}}\", \"content\": \"{{content}}\", \"status\": \"{{status}}\"}",
"placeholders": [
{
"name": "title",
"type": "String",
"description": "Post title",
"required": false
},
{
"name": "content",
"type": "String",
"description": "Post content",
"required": false
},
{
"name": "status",
"type": "String",
"description": "Post status",
"required": false
}
]
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Post ID",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
}
],
"webhooks": [
{
"event": "post_created",
"path": "/webhooks/wordpress/post_created",
"payload": [
{ "name": "id", "type": "Integer", "selector": ["post", "ID"], "meta": { "description": "The unique identifier for the post." } },
{ "name": "title", "type": "String", "selector": ["post", "post_title"], "meta": { "description": "The title of the post." } },
{ "name": "content", "type": "String", "selector": ["post", "post_content"], "meta": { "description": "The content of the post." } },
{ "name": "status", "type": "String", "selector": ["post", "post_status"], "meta": { "description": "The status of the post (e.g., publish, draft)." } },
{ "name": "author_id", "type": "Integer", "selector": ["post", "post_author"], "meta": { "description": "The ID of the author of the post." } }
]
},
{
"event": "post_updated",
"path": "/webhooks/wordpress/post_updated",
"payload": [
{ "name": "id", "type": "Integer", "selector": ["post", "ID"], "meta": { "description": "The unique identifier for the post." } },
{ "name": "title", "type": "String", "selector": ["post", "post_title"], "meta": { "description": "The title of the post." } },
{ "name": "content", "type": "String", "selector": ["post", "post_content"], "meta": { "description": "The content of the post." } },
{ "name": "status", "type": "String", "selector": ["post", "post_status"], "meta": { "description": "The status of the post." } }
]
},
{
"event": "post_deleted",
"path": "/webhooks/wordpress/post_deleted",
"payload": [
{ "name": "id", "type": "Integer", "selector": ["post_id"], "meta": { "description": "The unique identifier of the deleted post." } }
]
}
]
},
{
"handle": "users",
"meta": {
"short": "Users",
"description": "Manage users in WordPress"
},
"endpoint": {
"value": "/wp-json/wp/v2/users",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {}
},
{
"name": "name",
"type": "String",
"selector": [
"name"
],
"meta": {}
},
{
"name": "email",
"type": "String",
"selector": [
"email"
],
"meta": {}
},
{
"name": "roles_0",
"type": "String",
"selector": [
"roles",
"0"
],
"meta": {
"description": "The primary role assigned to the user (e.g. administrator, editor, author, subscriber)."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "User ID",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": "application/json"
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"email\": \"{{email}}\", \"username\": \"{{username}}\", \"password\": \"{{password}}\", \"roles\": [\"{{role}}\"]}",
"placeholders": [
{
"name": "email",
"type": "String",
"description": "User email",
"required": true
},
{
"name": "username",
"type": "String",
"description": "Username",
"required": true
},
{
"name": "password",
"type": "String",
"description": "User password",
"required": true
},
{
"name": "role",
"type": "String",
"description": "User role",
"required": true,
"default": "subscriber"
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "User ID",
"required": true
}
]
},
"headers": {
"Content-Type": "application/json"
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"email\": \"{{email}}\", \"roles\": [\"{{role}}\"]}",
"placeholders": [
{
"name": "email",
"type": "String",
"description": "User email",
"required": false
},
{
"name": "role",
"type": "String",
"description": "User role",
"required": false
}
]
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "User ID",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
}
},
"webhooks": [
{
"event": "user_created",
"path": "/webhooks/wordpress/user_created",
"payload": [
{ "name": "id", "type": "Integer", "selector": ["user", "ID"], "meta": { "description": "The unique identifier for the user." } },
{ "name": "username", "type": "String", "selector": ["user", "user_login"], "meta": { "description": "The username of the user." } },
{ "name": "email", "type": "String", "selector": ["user", "user_email"], "meta": { "description": "The email address of the user." } },
{ "name": "display_name", "type": "String", "selector": ["user", "display_name"], "meta": { "description": "The display name of the user." } }
]
},
{
"event": "user_updated",
"path": "/webhooks/wordpress/user_updated",
"payload": [
{ "name": "id", "type": "Integer", "selector": ["user", "ID"], "meta": { "description": "The unique identifier for the user." } },
{ "name": "email", "type": "String", "selector": ["user", "user_email"], "meta": { "description": "The updated email address." } },
{ "name": "display_name", "type": "String", "selector": ["user", "display_name"], "meta": { "description": "The updated display name." } }
]
},
{
"event": "user_deleted",
"path": "/webhooks/wordpress/user_deleted",
"payload": [
{ "name": "id", "type": "Integer", "selector": ["user_id"], "meta": { "description": "The unique identifier of the deleted user." } }
]
}
]
},
{
"handle": "comments",
"meta": {
"short": "Comments",
"description": "Manage comments in WordPress"
},
"endpoint": {
"value": "/wp-json/wp/v2/comments",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {}
},
{
"name": "post",
"type": "Integer",
"selector": [
"post"
],
"meta": {}
},
{
"name": "content",
"type": "String",
"selector": [
"content",
"rendered"
],
"meta": {}
},
{
"name": "author_name",
"type": "String",
"selector": [
"author_name"
],
"meta": {}
},
{
"name": "date",
"type": "String",
"selector": [
"date"
],
"meta": {}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Comment ID",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": "application/json"
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"post\": {{post}}, \"content\": \"{{content}}\", \"author_name\": \"{{author_name}}\"}",
"placeholders": [
{
"name": "post",
"type": "Integer",
"description": "Post ID",
"required": true
},
{
"name": "content",
"type": "String",
"description": "Comment content",
"required": true
},
{
"name": "author_name",
"type": "String",
"description": "Author name",
"required": true
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Comment ID",
"required": true
}
]
},
"headers": {
"Content-Type": "application/json"
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"content\": \"{{content}}\"}",
"placeholders": [
{
"name": "content",
"type": "String",
"description": "Comment content",
"required": false
}
]
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Comment ID",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
}
},
"webhooks": [
{
"event": "comment_created",
"path": "/webhooks/wordpress/comment_created",
"payload": [
{ "name": "id", "type": "Integer", "selector": ["comment", "comment_ID"], "meta": { "description": "The unique identifier for the comment." } },
{ "name": "post_id", "type": "Integer", "selector": ["comment", "comment_post_ID"], "meta": { "description": "The ID of the post the comment is on." } },
{ "name": "author_name", "type": "String", "selector": ["comment", "comment_author"], "meta": { "description": "The name of the comment author." } },
{ "name": "content", "type": "String", "selector": ["comment", "comment_content"], "meta": { "description": "The content of the comment." } }
]
},
{
"event": "comment_updated",
"path": "/webhooks/wordpress/comment_updated",
"payload": [
{ "name": "id", "type": "Integer", "selector": ["comment", "comment_ID"], "meta": { "description": "The unique identifier for the comment." } },
{ "name": "content", "type": "String", "selector": ["comment", "comment_content"], "meta": { "description": "The updated content of the comment." } },
{ "name": "status", "type": "String", "selector": ["comment", "comment_approved"], "meta": { "description": "The approval status of the comment." } }
]
},
{
"event": "comment_deleted",
"path": "/webhooks/wordpress/comment_deleted",
"payload": [
{ "name": "id", "type": "Integer", "selector": ["comment_id"], "meta": { "description": "The unique identifier of the deleted comment." } }
]
}
]
},
{
"handle": "pages",
"meta": {
"short": "Pages",
"description": "Manage pages in WordPress"
},
"endpoint": {
"value": "/wp-json/wp/v2/pages",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {}
},
{
"name": "title",
"type": "String",
"selector": [
"title",
"rendered"
],
"meta": {}
},
{
"name": "content",
"type": "String",
"selector": [
"content",
"rendered"
],
"meta": {}
},
{
"name": "status",
"type": "String",
"selector": [
"status"
],
"meta": {}
},
{
"name": "date",
"type": "String",
"selector": [
"date"
],
"meta": {}
},
{
"name": "parent",
"type": "Integer",
"selector": [
"parent"
],
"meta": {}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Page ID",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": "application/json"
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"title\": \"{{title}}\", \"content\": \"{{content}}\", \"status\": \"{{status}}\", \"parent\": {{parent}}}",
"placeholders": [
{
"name": "title",
"type": "String",
"description": "Page title",
"required": true
},
{
"name": "content",
"type": "String",
"description": "Page content",
"required": true
},
{
"name": "status",
"type": "String",
"description": "Page status",
"required": false,
"default": "draft"
},
{
"name": "parent",
"type": "Integer",
"description": "Parent Page ID",
"required": false
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Page ID",
"required": true
}
]
},
"headers": {
"Content-Type": "application/json"
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"title\": \"{{title}}\", \"content\": \"{{content}}\", \"status\": \"{{status}}\", \"parent\": {{parent}}}",
"placeholders": [
{
"name": "title",
"type": "String",
"description": "Page title",
"required": false
},
{
"name": "content",
"type": "String",
"description": "Page content",
"required": false
},
{
"name": "status",
"type": "String",
"description": "Page status",
"required": false
},
{
"name": "parent",
"type": "Integer",
"description": "Parent Page ID",
"required": false
}
]
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Page ID",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
}
},
"webhooks": []
},
{
"handle": "media",
"meta": {
"short": "Media",
"description": "Manage media attachments in WordPress"
},
"endpoint": {
"value": "/wp-json/wp/v2/media",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {}
},
{
"name": "title",
"type": "String",
"selector": [
"title",
"rendered"
],
"meta": {}
},
{
"name": "source_url",
"type": "String",
"selector": [
"source_url"
],
"meta": {}
},
{
"name": "media_type",
"type": "String",
"selector": [
"media_type"
],
"meta": {}
},
{
"name": "mime_type",
"type": "String",
"selector": [
"mime_type"
],
"meta": {}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Media ID",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Disposition": "attachment; filename=\"{{filename}}\"",
"Content-Type": "{{contentType}}"
},
"queryParams": {},
"bodyTemplate": {
"value": "{{fileData}}",
"placeholders": [
{
"name": "filename",
"type": "String",
"description": "Original file name",
"required": true
},
{
"name": "contentType",
"type": "String",
"description": "MIME type (e.g. image/jpeg)",
"required": true
},
{
"name": "fileData",
"type": "Any",
"description": "Binary file data",
"required": true
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Media ID",
"required": true
}
]
},
"headers": {
"Content-Type": "application/json"
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"title\": \"{{title}}\"}",
"placeholders": [
{
"name": "title",
"type": "String",
"description": "Media title",
"required": false
}
]
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Media ID",
"required": true
}
],
"force": "true"
},
"headers": {},
"queryParams": {
"force": "true"
},
"bodyTemplate": null
}
},
"webhooks": []
},
{
"handle": "categories",
"meta": {
"short": "Categories",
"description": "Manage categories in WordPress"
},
"endpoint": {
"value": "/wp-json/wp/v2/categories",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {}
},
{
"name": "count",
"type": "Integer",
"selector": [
"count"
],
"meta": {}
},
{
"name": "description",
"type": "String",
"selector": [
"description"
],
"meta": {}
},
{
"name": "name",
"type": "String",
"selector": [
"name"
],
"meta": {}
},
{
"name": "slug",
"type": "String",
"selector": [
"slug"
],
"meta": {}
},
{
"name": "parent",
"type": "Integer",
"selector": [
"parent"
],
"meta": {}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Category ID",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": "application/json"
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"name\": \"{{name}}\", \"description\": \"{{description}}\", \"parent\": {{parent}}}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Category name",
"required": true
},
{
"name": "description",
"type": "String",
"description": "Category description",
"required": false
},
{
"name": "parent",
"type": "Integer",
"description": "Parent category ID",
"required": false
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Category ID",
"required": true
}
]
},
"headers": {
"Content-Type": "application/json"
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"name\": \"{{name}}\", \"description\": \"{{description}}\", \"parent\": {{parent}}}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Category name",
"required": false
},
{
"name": "description",
"type": "String",
"description": "Category description",
"required": false
},
{
"name": "parent",
"type": "Integer",
"description": "Parent category ID",
"required": false
}
]
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Category ID",
"required": true
}
]
},
"headers": {},
"queryParams": {
"force": "true"
},
"bodyTemplate": null
}
},
"webhooks": []
},
{
"handle": "tags",
"meta": {
"short": "Tags",
"description": "Manage tags in WordPress"
},
"endpoint": {
"value": "/wp-json/wp/v2/tags",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"id"
],
"meta": {}
},
{
"name": "count",
"type": "Integer",
"selector": [
"count"
],
"meta": {}
},
{
"name": "description",
"type": "String",
"selector": [
"description"
],
"meta": {}
},
{
"name": "name",
"type": "String",
"selector": [
"name"
],
"meta": {}
},
{
"name": "slug",
"type": "String",
"selector": [
"slug"
],
"meta": {}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Tag ID",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": "application/json"
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"name\": \"{{name}}\", \"description\": \"{{description}}\"}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Tag name",
"required": true
},
{
"name": "description",
"type": "String",
"description": "Tag description",
"required": false
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Tag ID",
"required": true
}
]
},
"headers": {
"Content-Type": "application/json"
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"name\": \"{{name}}\", \"description\": \"{{description}}\"}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Tag name",
"required": false
},
{
"name": "description",
"type": "String",
"description": "Tag description",
"required": false
}
]
}
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "Tag ID",
"required": true
}
]
},
"headers": {},
"queryParams": {
"force": "true"
},
"bodyTemplate": null
}
},
"webhooks": []
}
]