Add Viber template
POST/api/v1/accounts/:accountId/viber/channels/:channelId/templates
This endpoint is used to register a new Viber message template.
Viber message templates are pre-approved message formats for sending transactional messages and OTPs to customers via Viber. Templates support dynamic parameters using the {{parameter_name}} syntax that can be substituted at send time.
Currently, only Transactional and OTP categories are supported.
Creating Viber templates requires an admin role on the account.
Request
Responses
- 200
- 400
- 401
- 500
Template created successfully
Bad request error response
Request was not authenticated response
Internal server error