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.

Path Parameters

Body·

required
application/json

What the bot asks at the end of a conversation.

A wording that is too long, empty or blank is refused rather than trimmed. An answer never carries a blank one: you get the default instead.

  • What the bot asks.

  • What the bot answers once the user has replied.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for put/bots/{bot_id}/feedback
curl https://api.landbot.io/v0-alpha/bots/123e4567-e89b-12d3-a456-426614174000/feedback \
  --request PUT \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Token YOUR_AGENT_TOKEN' \
  --data '{
  "enabled": true,
  "message": "How did that go?",
  "positive_label": "Great",
  "negative_label": "Not great",
  "thank_you_message": "Thanks!"
}'
{
  "data": {
    "enabled": true,
    "message": "How did that go?",
    "positive_label": "Great",
    "negative_label": "Not great",
    "thank_you_message": "Thanks!"
  }
}