# Automattic Comments API

**Canonical:** https://apis.io/apis/automattic/automattic-comments-api/  
**Provider:** Automattic — https://apis.io/providers/automattic/  
**Base URL:** https://public-api.wordpress.com/rest/v1.1  
**Documentation:** https://developer.wordpress.com/docs/api/

Automattic Comments API is one of 385 APIs that [Automattic](https://apis.io/providers/automattic/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Comments. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and a getting-started guide.

The comments API from Automattic — 14 operation(s) for comments.

## Operations (20)

| Method | Path | Summary |
|---|---|---|
| GET | `/sites/{site}/comment-counts` | Get comment counts for each available status |
| GET | `/sites/{site}/comment-history/{comment_ID}` | Get the audit history for given comment |
| GET | `/sites/{site}/comments/` | Get a list of recent comments. |
| GET | `/sites/{site}/comments/{comment_ID}` | Get a single comment. |
| POST | `/sites/{site}/comments/{comment_ID}` | Edit a comment. |
| POST | `/sites/{site}/comments/{comment_ID}/delete` | Delete a comment. |
| GET | `/sites/{site}/comments/{comment_ID}/likes/` | Get the likes for a comment. |
| GET | `/sites/{site}/comments/{comment_ID}/likes/mine/` | Get your like status for a comment. |
| POST | `/sites/{site}/comments/{comment_ID}/likes/mine/delete` | Remove your like from a comment. |
| POST | `/sites/{site}/comments/{comment_ID}/likes/new` | Like a comment. |
| POST | `/sites/{site}/comments/{comment_ID}/replies/new` | Create a comment as a reply to another comment. |
| GET | `/sites/{site}/posts/{post_ID}/replies/` | Get a list of recent comments on a post. |
| POST | `/sites/{site}/posts/{post_ID}/replies/new` | Create a comment on a post. |
| GET | `/wp/v2/sites/{wpcom_site}/comments` | GET /wp/v2/sites/{wpcom_site}/comments |
| POST | `/wp/v2/sites/{wpcom_site}/comments` | POST /wp/v2/sites/{wpcom_site}/comments |
| GET | `/wp/v2/sites/{wpcom_site}/comments/{id}` | GET /wp/v2/sites/{wpcom_site}/comments/{id} |
| POST | `/wp/v2/sites/{wpcom_site}/comments/{id}` | POST /wp/v2/sites/{wpcom_site}/comments/{id} |
| PUT | `/wp/v2/sites/{wpcom_site}/comments/{id}` | PUT /wp/v2/sites/{wpcom_site}/comments/{id} |
| PATCH | `/wp/v2/sites/{wpcom_site}/comments/{id}` | PATCH /wp/v2/sites/{wpcom_site}/comments/{id} |
| DELETE | `/wp/v2/sites/{wpcom_site}/comments/{id}` | DELETE /wp/v2/sites/{wpcom_site}/comments/{id} |

## Machine-readable artifacts (8)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/automattic/refs/heads/main/openapi/automattic-comments-api-openapi.yml
- **Documentation** — https://developer.wordpress.com/docs/api/
- **APIReference** — https://developer.wordpress.com/docs/api/rest-api-reference/
- **GettingStarted** — https://developer.wordpress.com/docs/api/getting-started/
- **Console** — https://developer.wordpress.com/docs/api/console/
- **Documentation** — https://akismet.com/development/api/
- **SourceCode** — https://github.com/Automattic/akismet-api
- **PluginManifest** — https://raw.githubusercontent.com/api-evangelist/automattic/refs/heads/main/well-known/automattic-ai-plugin.json

## Other Automattic APIs (12)

- [WordPress.com MCP Server](https://apis.io/apis/automattic/wordpresscom-mcp-server/)
- [WordPress VIP Platform API](https://apis.io/apis/automattic/wordpress-vip-platform-api/)
- [Automattic A8c Lore API](https://apis.io/apis/automattic/automattic-a8c-lore-api/)
- [Automattic A8cmentorship API](https://apis.io/apis/automattic/automattic-a8cmentorship-api/)
- [Automattic Abilities API](https://apis.io/apis/automattic/automattic-abilities-api/)
- [Automattic Activity API](https://apis.io/apis/automattic/automattic-activity-api/)
- [Automattic Activity Log Events API](https://apis.io/apis/automattic/automattic-activity-log-events-api/)
- [Automattic Activitypub API](https://apis.io/apis/automattic/automattic-activitypub-api/)
- [Automattic Adflow API](https://apis.io/apis/automattic/automattic-adflow-api/)
- [Automattic Admin Bar API](https://apis.io/apis/automattic/automattic-admin-bar-api/)
- [Automattic Admin Color API](https://apis.io/apis/automattic/automattic-admin-color-api/)
- [Automattic Admin Menu API](https://apis.io/apis/automattic/automattic-admin-menu-api/)

## Tags

Comments

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/automattic/automattic-comments-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/automattic/.
