Sending Message

Use this API to send a Text message or media message (Image, Video, Audio and Document) to your end-user. You can send a card message using your cards created in Cequens Chat.

post/chat/v1/bots/{bot-ID}/messages

Request

  • Base URL
    https://apis.cequens.com/conversation
  • URL
    https://apis.cequens.com/conversation/chat/v1/bots/{bot-ID}/messages
  • Auth
    API key in header Authorization

Path parameters

bot-IDstring required

An identifier for your Bot provided from Cequens Chat

Request body

typestring required

A type of the message "text " | "audio" | "document" | "image" | "video" | "custom"

targetstring required

An identifier for the conversation between your Bot and end-user. It is included in the incoming message to your bot.

Response

200

messagestring

Example response

{
  "message": "message sent successfully"
}

Changes

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