Pachca (beta) icon

Pachca (beta)

Интеграция с мессенджером Пачка

Bot → Update a bot

AI-generated

Summary

Update an existing bot's configuration in Pachca by specifying its Bot ID and optionally setting a new Webhook URL.

Inputs

  • Bot ID (required) — The ID of the bot to update.
  • Webhook URL — The URL to use for the outgoing webhook; leave empty to not update this field.

Output shape

a single updated bot record in JSON format

The output includes the bot data after applying the update. Only the fields specified (Bot ID required, Webhook URL optional) are updated; other fields remain unchanged.

Examples

Example 1: Update the webhook URL for a given bot

Specify the Bot ID of the existing bot and set the Webhook URL to the desired endpoint URL.

Discussion