Hanzo AI
OpenapiProvider

Create messages

Posts as Hanzo to the caller's connected Slack workspace. Use channel from a message read and thread_ts to reply to a specific message.

POST /v1/provider/slack/messages

Addresshttps://api.hanzo.ai/v1/provider/slack/messages
MethodPOST
Operationpost_provider_slack_messages
AuthAuthorization: Bearer $HANZO_API_KEY

Posts as Hanzo to the caller's connected Slack workspace. Use channel from a message read and thread_ts to reply to a specific message. Requires chat:write; this operation does not join channels automatically.

Request

3 fields, body application/json (required).

FieldInTypeRequiredDescription
channelbodystringChannel is a Slack channel ID, name (#hanzo-gtm), or Slack channel mention.
textbodystringText is the message to post as Hanzo, up to 40000 characters.
thread_tsbodystringThreadTS optionally replies under this parent message's exact ts.

Response

StatusBodyMeaning
200provider.slackSendMessageOutok
defaultproblem-detailsrefused

200 body — 2 fields.

FieldInTypeAlwaysDescription
channelbodystringChannel is the resolved channel ID where the message was posted.
tsbodystringTS is the posted message's exact Slack timestamp.

Failure carries the platform error shape — see Errors.

Examples

hanzo provider slack messages create

Provider API · All Hanzo APIs · Interactive reference

How is this guide?

On this page