Bots

Set the conversation-feedback configuration

Replaces the whole configuration. Only enabled is required, and any wording you leave out goes back to the default rather than staying as it was.

The change reaches conversations the bot is already having.

put/bots/{bot_id}/feedback

Request

  • Base URL: https://api.landbot.io/v0-alpha
  • URL: https://api.landbot.io/v0-alpha/bots/{bot_id}/feedback
  • Auth: one of:
    • API key in header Authorization
    • API key in cookie sessionid
    • HTTP bearer

Request body

enabledboolean required
messagestring

What the bot asks.

positive_labelstring
negative_labelstring
thank_you_messagestring

What the bot answers once the user has replied.

Example request

{
  "enabled": true,
  "message": "How did that go?",
  "positive_label": "Great",
  "negative_label": "Not great",
  "thank_you_message": "Thanks!"
}

Response

The feedback configuration after the change

Example response

{
  "data": {
    "enabled": true,
    "message": "How did that go?",
    "positive_label": "Great",
    "negative_label": "Not great",
    "thank_you_message": "Thanks!"
  }
}

Changes

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