Skip to main content

Viber Template Status Webhook

Viber Template Status Webhook notifications are sent to you when Viber moderates a message template you registered, so your systems stay in sync without polling.

๐Ÿ“˜

This is the moderation outcome for a template. For delivery receipts on messages you send, see Delivery receipts for outbound Chat Apps. For inbound customer messages, see Inbound Messaging Apps message.

Requirementsโ€‹

To receive Viber template status webhooks, you need:

  • An account configured to use the Chat Apps product with Viber enabled.
  • A webhook configured to indicate which URL 8x8 should send Chat Apps Business Management Updates to.

๐Ÿ“˜

You can configure your callback using the Webhooks Configuration API

Retry logicโ€‹

In case of connection error/timeout or HTTP response code 4XX or 5XX, there will be multiple retry attempts with progressive intervals: 1, 10, 30, 90 sec.

Webhook formatโ€‹

Request body description

Parameter nameParameter typeDescription
eventIdstringUnique event identifier.
timestampstringTimestamp of event in ISO 8601 format.
providerstringProvider of this event. Equal to viber.
businessAccountIdstringThe Viber Service ID the template belongs to.
accountIdstringAccountId which the event is associated with.
eventTypestringWebhook type. Equal to template_status_update.
eventDetailsobjectEvent related information, see below.

eventDetails object description

Parameter nameParameter typeDescription
templateNamestringThe customer-facing name you gave the template at creation.
templateLanguagestringThe template's language code (e.g. en).
viberobjectViber-specific information related to the event, see below.

viber object description

Parameter nameParameter typeDescription
statusstringNew template status. Possible values: PENDING, APPROVED, REJECTED.

Status valuesโ€‹

Viber reports moderation outcomes as one of three callback types, which 8x8 maps to a template status:

Viber callback typeResulting viber.status
1002 โ€” template created, queued for moderationPENDING
1000 โ€” template approvedAPPROVED
1001 โ€” template rejectedREJECTED

These are the same three statuses returned by Retrieving Templates via API. A template must reach APPROVED before you can send with it โ€” sending against a PENDING or REJECTED template is rejected before the request reaches Viber.

๐Ÿ“˜

The event identifies the template by name, not by Viber's internal template identifier โ€” the raw Viber UUID from the callback is not included in the payload. If the UUID can't be matched to a template 8x8 has stored, no status update or webhook is sent for that event.

Sample webhooksโ€‹

Pendingโ€‹

Sent when Viber first receives the template and queues it for moderation.

Viber template status webhook body โ€” pending
{
"eventId": <EVENT_ID>,
"timestamp": "2026-08-20T09:12:49.00Z",
"provider": "viber",
"businessAccountId": <BUSINESS_ACCOUNT_ID>,
"accountId": <ACCOUNT_ID>,
"eventType": "template_status_update",
"eventDetails": {
"templateName": <TEMPLATE_NAME>,
"templateLanguage": <TEMPLATE_LANGUAGE>,
"viber": {
"status": "PENDING"
}
}
}

Approvedโ€‹

Sent when Viber approves the template. The template can now be used to send messages.

Viber template status webhook body โ€” approved
{
"eventId": <EVENT_ID>,
"timestamp": "2026-08-20T09:14:29.81Z",
"provider": "viber",
"businessAccountId": <BUSINESS_ACCOUNT_ID>,
"accountId": <ACCOUNT_ID>,
"eventType": "template_status_update",
"eventDetails": {
"templateName": <TEMPLATE_NAME>,
"templateLanguage": <TEMPLATE_LANGUAGE>,
"viber": {
"status": "APPROVED"
}
}
}

Rejectedโ€‹

Sent when Viber rejects the template during moderation.

Viber template status webhook body โ€” rejected
{
"eventId": <EVENT_ID>,
"timestamp": "2026-08-20T09:14:29.81Z",
"provider": "viber",
"businessAccountId": <BUSINESS_ACCOUNT_ID>,
"accountId": <ACCOUNT_ID>,
"eventType": "template_status_update",
"eventDetails": {
"templateName": <TEMPLATE_NAME>,
"templateLanguage": <TEMPLATE_LANGUAGE>,
"viber": {
"status": "REJECTED"
}
}
}

Next stepsโ€‹

If you want toRead
Create and manage Viber templatesViber Templates Management
See delivery receipts and inbound messages for ViberWebhooks and Delivery Receipts
Configure your callback URLWebhooks Configuration API