# Find Comment Automation

Retrieve the details of a specific comment automation bot by its ID.

Use this endpoint when you want to view the full configuration of an existing comment automation, including its trigger settings, response type, reply frequency, channels, AI settings, and current status.

***

### Method

`GET`

### URL

```
https://app.marketingblocks.ai/api/v1/social-sparks/get-comment-automation/{id}
```

Replace `{id}` with the ID of the comment automation bot you want to retrieve.

Example:

```
https://app.marketingblocks.ai/api/v1/social-sparks/get-comment-automation/162
```

### Permission

`view-comment-automation`

***

### Headers

```
Authorization: Bearer <token>
Content-Type: application/json
```

***

### Path Parameters

| Field | Type    | Required | Description                                  |
| ----- | ------- | -------: | -------------------------------------------- |
| id    | integer |      Yes | ID of the comment automation bot to retrieve |

***

### Example Request

```bash
curl --location 'https://app.marketingblocks.ai/api/v1/social-sparks/get-comment-automation/162' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json'
```

***

### Example Response

```json
{
  "comment_bot": {
    "id": 162,
    "name": "Update Comment Automation",
    "trigger_type": "any",
    "triggers": null,
    "response_type": "both",
    "reply_frequency": "everytime",
    "response_time": "instant",
    "delay_time": "0",
    "status": "active",
    "channels": [
      4125,
      4500
    ],
    "next_call_time_stamp": "1777562463",
    "created_at": "April 30, 2026 1:52 PM",
    "updated_at": "April 30, 2026 3:20 PM",
    "response": {
      "comment_responses": [
        "Thanks for the comment"
      ],
      "dm_responses": "Thank you a comment on my post"
    },
    "ai_enable": "yes",
    "ai_settings": {
      "response_tone": "friendly",
      "response_length": "very short",
      "ai_personality": "assistant",
      "creativity_level": "conservative",
      "language_style": "conversational",
      "emoji_usage": "none"
    }
  },
  "status": true
}
```

***

### Response Fields

| Field        | Type    | Description                                  |
| ------------ | ------- | -------------------------------------------- |
| comment\_bot | object  | The comment automation bot details           |
| status       | boolean | Indicates whether the request was successful |

***

### Comment Bot Object

| Field                   | Type            | Description                                                                                               |
| ----------------------- | --------------- | --------------------------------------------------------------------------------------------------------- |
| id                      | integer         | Unique ID of the comment automation bot                                                                   |
| name                    | string          | Name of the comment automation bot                                                                        |
| trigger\_type           | string          | Trigger logic used by the bot. Example: `any`, `keywords`                                                 |
| triggers                | array/null      | Keywords or trigger rules configured for the bot. Returns `null` when no specific triggers are configured |
| response\_type          | string          | Response method. Example: `comment`, `direct_message`, `both`                                             |
| reply\_frequency        | string          | How often the bot replies. Example: `everytime`, `once`, `randomly`                                       |
| response\_time          | string          | When the bot responds. Example: `instant`, `delayed`                                                      |
| delay\_time             | string/integer  | Delay before responding, usually in seconds                                                               |
| status                  | string          | Current bot status. Example: `active`                                                                     |
| channels                | array\[integer] | IDs of connected social channels assigned to the bot                                                      |
| next\_call\_time\_stamp | string          | Timestamp for the next scheduled automation check or execution                                            |
| created\_at             | string          | Date and time when the bot was created                                                                    |
| updated\_at             | string          | Date and time when the bot was last updated                                                               |
| response                | object          | Configured comment and direct message responses                                                           |
| ai\_enable              | string          | Indicates whether AI-generated replies are enabled. Options: `yes`, `no`                                  |
| ai\_settings            | object/null     | AI response configuration when AI is enabled                                                              |

***

### Response Object

| Field              | Type           | Description                                            |
| ------------------ | -------------- | ------------------------------------------------------ |
| comment\_responses | array\[string] | Public comment replies configured for the bot          |
| dm\_responses      | string         | Private direct message response configured for the bot |

***

### AI Settings Object

The `ai_settings` object describes how AI-generated replies are configured when `ai_enable` is set to `yes`.

| Field             | Type   | Description                                                                                                           |
| ----------------- | ------ | --------------------------------------------------------------------------------------------------------------------- |
| response\_tone    | string | Tone of AI-generated response. Example: `friendly`, `professional`, `casual`, `helpful`, `empathetic`, `enthusiastic` |
| response\_length  | string | Length of AI-generated response. Example: `very short`, `short`, `medium`, `long`                                     |
| ai\_personality   | string | AI persona used for replies. Example: `assistant`, `expert`, `friend`, `educator`, `customer support`, `promoter`     |
| creativity\_level | string | Creativity level used by the AI. Example: `conservative`, `balanced`, `creative`, `highly creative`                   |
| language\_style   | string | Writing style used by the AI. Example: `conversational`, `formal`, `technical`, `simple`                              |
| emoji\_usage      | string | Emoji usage level. Example: `none`, `minimal`, `moderate`, `abundant`                                                 |

***

### Notes

* The request token must include the `view-comment-automation` permission.
* Replace `{id}` with a valid comment automation bot ID.
* This endpoint does not require a request body.
* If the automation bot does not exist or the token does not have access, the API may return an error response.
* If the token is missing, expired, or does not include the required permission, the API returns `401 Unauthorized`.


---

# 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/find-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.
