Viber Bot icon

Viber Bot

Interact with the Viber Bot REST API

Actions5

Webhook → Set

AI-generated

Summary

Set the webhook URL for the Viber Bot to receive callbacks and user messages, subscribing to specified event types with optional settings to include sender name and photo in callbacks.

Inputs

  • URL (required) — The callback URL to receive Viber events and user messages.
  • Event Types — Array of Viber event types to subscribe to (e.g., conversation_started, delivered, failed, seen, subscribed, unsubscribed). Defaults to subscribing to all listed events.
  • Additional Fields — Optional settings to include sender name ('sendName') and sender photo ('sendPhoto') in the webhook callbacks.

Output shape

A single JSON object containing the response from the Viber Bot API confirming the webhook settings.

The response includes the API's result status and details. Errors during execution are returned in error objects if 'Continue On Fail' is enabled.

Examples

Example 1: Set webhook URL to receive all common Viber events with sender name and photo included.

Provide the webhook URL, select all events in 'Event Types', and leave 'Send Name' and 'Send Photo' enabled (true).

Links

Discussion