# Comment Automation

The Comment Automation API allows you to create intelligent comment reply bots that automatically respond to comments made on posts published through the Social Growth Engine.

With this feature, you can:

* Automatically reply to user comments in real-time
* Maintain consistent engagement across your posts
* Scale interactions without manual effort
* Build automated conversation flows with your audience

This API is ideal for:

* Automating engagement on social media posts
* Handling high volumes of comments efficiently
* Supporting marketing teams, creators, and SaaS platforms
* Improving response time and audience interaction

Comment Automation provides five core endpoints:

* **Create** – create a new comment automation bot
* **Update** – modify an existing automation
* **Find** – retrieve a specific automation
* **Get** – list all automations
* **Delete** – remove an automation

***

### Authentication

All requests to the Comment Automation API require a Bearer token passed in the Authorization header:

```
Authorization: Bearer <your_api_token>
```

The token must include the appropriate permissions based on the action being performed:

* **create-comment-automation** – required to create automations
* **update-comment-automation** – required to update automations
* **view-comment-automation** – required to retrieve a single automation
* **read-comment-automations** – required to list automations
* **delete-comment-automation** – required to delete automations

If the token is missing, expired, or does not include the required permission, the API will return a **401 Unauthorized** error.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.marketingblocks.ai/agentic-ai-docs/api-reference/social-growth-engine/comment-automation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
