Hanzo AI
OpenapiProvider

Replace messages

Rewrites one of this app's messages: PUT /v1/provider/slack/messages.

PUT /v1/provider/slack/messages

Addresshttps://api.hanzo.ai/v1/provider/slack/messages
MethodPUT
Operationput_provider_slack_messages
AuthAuthorization: Bearer $HANZO_API_KEY

Rewrites one of this app's messages: PUT /v1/provider/slack/messages. Slack refuses a message the token did not post, and that refusal is reported as it arrives.

Request

3 fields, body application/json (required).

FieldInTypeRequiredDescription
channelbodystringChannel is a Slack channel ID, name (#hanzo-gtm), or channel mention.
textbodystringText is the replacement, up to 40000 characters.
tsbodystringTS is the exact timestamp of the message to rewrite.

Response

StatusBodyMeaning
200provider.slackUpdateMessageOutok
defaultproblem-detailsrefused

200 body — 2 fields.

FieldInTypeAlwaysDescription
channelbodystringChannel is the resolved channel ID the message sits in.
tsbodystringTS is the rewritten message's exact Slack timestamp, unchanged by an edit.

Failure carries the platform error shape — see Errors.

Examples

hanzo provider slack messages replace

Provider API · All Hanzo APIs · Interactive reference

How is this guide?

On this page