---
title: "Ask Hive’s own AI for a suggested reply to one Hive Inbox conversation. It returns the draft and sends nothing: a person still has to send it in Hive. It uses the workspace’s AI allowance, which is why it counts as a write."
method: POST
path: "/api/v1/tools/suggest_reply"
---

# Ask Hive’s own AI for a suggested reply to one Hive Inbox conversation. It returns the draft and sends nothing: a person still has to send it in Hive. It uses the workspace’s AI allowance, which is why it counts as a write.

`POST /api/v1/tools/suggest_reply`

## Request

- Base URL: `https://hivepublish.com`
- URL: `https://hivepublish.com/api/v1/tools/suggest_reply`
- Auth: HTTP bearer

## Headers

- `Idempotency-Key` string, required

## Request body

- object
  - `threadId` string, required: The conversation id.
  - `kind` 'dm' | 'comment' | 'mention', required: Which kind of conversation this is: dm, comment or mention.
  - `providerConnectionId` string: An AI connection id. Leave it out to use the Hive-funded model.

## Response `200`

Tool result

- ToolResult
  - `data` unknown, required
  - `meta` object, required
    - `tool` string
    - `workspaceId` string, uuid

## Other responses

- `400`: Invalid input
- `401`: Missing or invalid credential
- `403`: Missing workspace scope, role permission, or plan entitlement
- `409`: Idempotency conflict, replay, or request still in progress
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/hivepublish/apis/hive-developer-api.md) · [All operations](https://skmtc.dev/hivepublish/apis/hive-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hivepublish/apis/hive-developer-api/revisions/b440c763583e?raw)
