get https://api.amio.io/v1/channels/
Response Body Params
Parameter | Type | Description |
---|---|---|
id | string | Id of the channel. |
type | string | Channel type specifying the underlying platform: viber_business_messages . |
name | string | Name of the channel. |
mode | string | Mode 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. |
webhook | object | Webhook 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.id | string | Id of the webhook. |
webhook.url | string | Webhook url. |
webhook.secret | string | Secret token for securing received webhook calls, see Webhook Security for more details. |
webhook.ssl_verification | string | Specifies whether to verify SSL certificates or not. Setting this option to false is not recommended. |
viber_business_messages | object | Contains information specific to Viber Business Messages. |
viber_business_messages.sender_id | string | The Sender ID will be shown in the Viber app as a sender of the message. |
viber_business_messages.default_message_ttl | string (ISO 8601 duration) | Message validity period. If the message couldn't be delivered within this period, it will be discarded. |
viber_business_messages.approved | boolean | Messages can be sent only if the channel is approved. |