Create Channel

Response Body Params

ParameterTypeDescription
idstringId of the channel.
typestringChannel type specifying the underlying platform: viber_business_messages.
namestringName of the channel.
modestringMode of the channel.
production - Send Message requests will be accepted and sent through Viber network.
sandbox - Send Message requests will be sent using common Amio Sender ID. Messages sent are not charged but number of messages sent is limited.
test - Send Message requests will be accepted but won't be processed any further. This avoids the cost of sending the message through Viber.
webhookobjectWebhook object specifies the entry point to which all events are delivered. It is null if there is no webhook set. See Webhooks for more details.
webhook.idstringId of the webhook.
webhook.urlstringWebhook url.
webhook.secretstringSecret token for securing received webhook calls, see Webhook Security for more details.
webhook.ssl_verificationstringSpecifies whether to verify SSL certificates or not. Setting this option to false is not recommended.
viber_business_messagesobjectContains information specific to Viber Business Messages.
viber_business_messages.sender_idstringThe Sender ID will be shown in the Viber app as a sender of the message
viber_business_messages.default_message_ttlstring (ISO 8601 duration)Message validity period. If the message couldn't be delivered within this period, it will be discarded.
viber_business_messages.approvedbooleanMessages can be sent only if the channel is approved.
Language
Authorization