Channel

Publish a message to a channel

Publish a message to a specific channel. The message will be broadcast to all subscribers currently listening to this channel via the subscribe endpoint.

post/channel/{channelId}/publish

Request

  • Base URL: https://api.chatbotkit.com/api/v1
  • URL: https://api.chatbotkit.com/api/v1/channel/{channelId}/publish
  • Auth: HTTP bearer

Path parameters

channelIdstring required

The ID of the channel to publish to (minimum 16 characters)

Request body

messageobject required

The message to publish to the channel

Response

The message was published successfully

idstring required

The ID of the channel the message was published to

Changes

No recorded changes to this operation across all 1 revision of this API.